Home
last modified time | relevance | path

Searched refs:static_branch_likely (Results 1 – 25 of 61) sorted by relevance

123

/kernel/linux/linux-5.10/lib/
Dtest_static_keys.c92 test_key_func(true_key, static_branch_likely) in test_key_func()
94 test_key_func(false_key, static_branch_likely) in test_key_func()
100 test_key_func(base_true_key, static_branch_likely) in test_key_func()
102 test_key_func(base_inv_true_key, static_branch_likely) in test_key_func()
104 test_key_func(base_false_key, static_branch_likely) in test_key_func()
106 test_key_func(base_inv_false_key, static_branch_likely) in test_key_func()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dresctrl.h65 if (static_branch_likely(&rdt_alloc_enable_key)) { in __resctrl_sched_in()
71 if (static_branch_likely(&rdt_mon_enable_key)) { in __resctrl_sched_in()
86 if (static_branch_likely(&rdt_enable_key)) in resctrl_sched_in()
Dnospec-branch.h395 if (static_branch_likely(&mds_user_clear)) in mds_user_clear_cpu_buffers()
406 if (static_branch_likely(&mds_idle_clear)) in mds_idle_clear_cpu_buffers()
Dqspinlock.h89 if (!static_branch_likely(&virt_spin_lock_key)) in virt_spin_lock()
/kernel/linux/linux-5.10/kernel/sched/
Dstats.h69 if (static_branch_likely(&psi_disabled)) in psi_enqueue()
89 if (static_branch_likely(&psi_disabled)) in psi_dequeue()
113 if (static_branch_likely(&psi_disabled)) in psi_ttwu_dequeue()
141 if (static_branch_likely(&psi_disabled)) in psi_sched_switch()
149 if (static_branch_likely(&psi_disabled)) in psi_task_tick()
Dclock.c110 return static_branch_likely(&__sched_clock_stable); in sched_clock_stable()
373 if (!static_branch_likely(&sched_clock_running)) in sched_clock_cpu()
396 if (!static_branch_likely(&sched_clock_running)) in sched_clock_tick()
463 if (!static_branch_likely(&sched_clock_running)) in sched_clock_cpu()
Dpsi.c886 if (static_branch_likely(&psi_disabled)) in psi_memstall_enter()
916 if (static_branch_likely(&psi_disabled)) in psi_memstall_leave()
937 if (static_branch_likely(&psi_disabled)) in psi_cgroup_alloc()
949 if (static_branch_likely(&psi_disabled)) in psi_cgroup_free()
976 if (static_branch_likely(&psi_disabled)) { in cgroup_move_task()
1015 if (static_branch_likely(&psi_disabled)) in psi_show()
1085 if (static_branch_likely(&psi_disabled)) in psi_trigger_create()
1221 if (static_branch_likely(&psi_disabled)) in psi_trigger_poll()
1244 if (static_branch_likely(&psi_disabled)) in psi_write()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Darchrandom.h36 if (static_branch_likely(&s390_arch_random_available) && in arch_get_random_seed_long()
47 if (static_branch_likely(&s390_arch_random_available) && in arch_get_random_seed_int()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dlse.h24 return (static_branch_likely(&arm64_const_caps_ready)) && in system_uses_lse_atomics()
25 static_branch_likely(&cpu_hwcap_keys[ARM64_HAS_LSE_ATOMICS]); in system_uses_lse_atomics()
/kernel/linux/linux-5.10/arch/arm/crypto/
Dpoly1305-glue.c79 if (static_branch_likely(&have_neon) && likely(do_neon)) in arm_poly1305_blocks()
131 if (static_branch_likely(&have_neon) && do_neon) in arm_poly1305_update_neon()
134 if (static_branch_likely(&have_neon) && do_neon) in arm_poly1305_update_neon()
163 if (static_branch_likely(&have_neon) && do_neon) { in poly1305_update_arch()
259 if (!static_branch_likely(&have_neon)) { in arm_poly1305_mod_exit()
/kernel/linux/linux-5.10/arch/x86/crypto/
Dblake2s-glue.c36 if (!static_branch_likely(&blake2s_use_ssse3) || !crypto_simd_usable()) { in blake2s_compress()
47 static_branch_likely(&blake2s_use_avx512)) in blake2s_compress()
Dchacha_glue.c52 static_branch_likely(&chacha_use_avx512vl)) { in chacha_dosimd()
81 if (static_branch_likely(&chacha_use_avx2)) { in chacha_dosimd()
126 if (!static_branch_likely(&chacha_use_simd) || !crypto_simd_usable()) { in hchacha_block_arch()
145 if (!static_branch_likely(&chacha_use_simd) || !crypto_simd_usable() || in chacha_crypt_arch()
180 if (!static_branch_likely(&chacha_use_simd) || in chacha_simd_stream_xor()
Dpoly1305_glue.c98 if (!static_branch_likely(&poly1305_use_avx) || in poly1305_simd_blocks()
110 if (IS_ENABLED(CONFIG_AS_AVX512) && static_branch_likely(&poly1305_use_avx512)) in poly1305_simd_blocks()
112 else if (static_branch_likely(&poly1305_use_avx2)) in poly1305_simd_blocks()
126 if (!static_branch_likely(&poly1305_use_avx)) in poly1305_simd_emit()
/kernel/linux/linux-5.10/arch/arm64/crypto/
Dpoly1305-glue.c75 if (static_branch_likely(&have_neon) && likely(do_neon)) in neon_poly1305_blocks()
117 if (static_branch_likely(&have_neon) && do_neon) in neon_poly1305_update()
120 if (static_branch_likely(&have_neon) && do_neon) in neon_poly1305_update()
145 if (static_branch_likely(&have_neon) && crypto_simd_usable()) { in poly1305_update_arch()
Dchacha-neon-glue.c67 if (!static_branch_likely(&have_neon) || !crypto_simd_usable()) { in hchacha_block_arch()
86 if (!static_branch_likely(&have_neon) || bytes <= CHACHA_BLOCK_SIZE || in chacha_crypt_arch()
121 if (!static_branch_likely(&have_neon) || in chacha_neon_stream_xor()
/kernel/linux/linux-5.10/include/linux/sched/
Dsmt.h12 return static_branch_likely(&sched_smt_present); in sched_smt_active()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dprocess.h26 if (!static_branch_likely(&switch_to_cond_stibp)) { in switch_to_extra()
/kernel/linux/linux-5.10/arch/x86/kernel/apic/
Dipi.c54 if (static_branch_likely(&apic_use_ipi_shorthand)) in apic_send_IPI_allbutself()
81 if (static_branch_likely(&apic_use_ipi_shorthand)) { in native_send_call_func_ipi()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dcpu_has_feature.h46 return static_branch_likely(&cpu_feature_keys[i]); in cpu_has_feature()
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-gic-v3.c403 static_branch_likely(&supports_pseudo_nmis); in gic_supports_nmi()
635 if (static_branch_likely(&supports_deactivate_key)) { in gic_deactivate_unhandled()
651 if (static_branch_likely(&supports_deactivate_key)) in gic_handle_nmi()
722 if (static_branch_likely(&supports_deactivate_key)) in gic_handle_irq()
1024 if (static_branch_likely(&supports_deactivate_key)) { in gic_cpu_sys_reg_init()
1372 if (static_branch_likely(&supports_deactivate_key)) in gic_irq_domain_map()
1731 if (static_branch_likely(&supports_deactivate_key)) in gic_enable_nmi_support()
1749 if (static_branch_likely(&supports_deactivate_key)) in gic_init_bases()
2020 if (static_branch_likely(&supports_deactivate_key)) in gic_of_init()
2328 if (static_branch_likely(&supports_deactivate_key)) in gic_acpi_init()
/kernel/linux/linux-5.10/kernel/
Djump_label.c841 WARN_ON(!static_branch_likely(&sk_true)); in jump_label_test()
843 WARN_ON(static_branch_likely(&sk_false)); in jump_label_test()
852 WARN_ON(static_branch_likely(&sk_true)); in jump_label_test()
854 WARN_ON(!static_branch_likely(&sk_false)); in jump_label_test()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_memcpy.c118 if (static_branch_likely(&has_movntdqa)) { in i915_memcpy_from_wc()
/kernel/linux/linux-5.10/include/linux/
Djump_label.h454 #define static_branch_likely(x) \ macro
480 #define static_branch_likely(x) likely(static_key_enabled(&(x)->key)) macro
/kernel/linux/linux-5.10/arch/s390/pci/
Dpci_mmio.c165 if (static_branch_likely(&have_mio)) { in SYSCALL_DEFINE3()
294 if (static_branch_likely(&have_mio)) { in SYSCALL_DEFINE3()
Dpci.c285 if (static_branch_likely(&have_mio)) in iounmap()
326 if (static_branch_likely(&have_mio)) in pci_iomap_range()
356 if (static_branch_likely(&have_mio)) in pci_iomap_wc_range()
390 if (static_branch_likely(&have_mio)) in pci_iounmap()
885 if (static_branch_likely(&have_mio)) in zpci_mem_init()

123