Home
last modified time | relevance | path

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

1234

/linux-6.1.9/include/linux/
Dpage_table_check.h35 if (static_branch_likely(&page_table_check_disabled)) in page_table_check_alloc()
43 if (static_branch_likely(&page_table_check_disabled)) in page_table_check_free()
52 if (static_branch_likely(&page_table_check_disabled)) in page_table_check_pte_clear()
61 if (static_branch_likely(&page_table_check_disabled)) in page_table_check_pmd_clear()
70 if (static_branch_likely(&page_table_check_disabled)) in page_table_check_pud_clear()
80 if (static_branch_likely(&page_table_check_disabled)) in page_table_check_pte_set()
90 if (static_branch_likely(&page_table_check_disabled)) in page_table_check_pmd_set()
100 if (static_branch_likely(&page_table_check_disabled)) in page_table_check_pud_set()
110 if (static_branch_likely(&page_table_check_disabled)) in page_table_check_pte_clear_range()
Dkasan-enabled.h13 return static_branch_likely(&kasan_flag_enabled); in kasan_enabled()
Djump_label.h469 #define static_branch_likely(x) \ macro
495 #define static_branch_likely(x) likely_notrace(static_key_enabled(&(x)->key)) macro
501 (IS_ENABLED(config) ? static_branch_likely(x) \
/linux-6.1.9/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()
/linux-6.1.9/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()
95 if (static_branch_likely(&rdt_enable_key)) in resctrl_sched_in()
Dnospec-branch.h394 if (static_branch_likely(&mds_user_clear)) in mds_user_clear_cpu_buffers()
405 if (static_branch_likely(&mds_idle_clear)) in mds_idle_clear_cpu_buffers()
/linux-6.1.9/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()
/linux-6.1.9/arch/arm64/include/asm/
Dvirt.h92 static_branch_likely(&kvm_protected_mode_initialized)) in is_hyp_mode_available()
107 static_branch_likely(&kvm_protected_mode_initialized)) in is_hyp_mode_mismatched()
/linux-6.1.9/kernel/sched/
Dclock.c108 return static_branch_likely(&__sched_clock_stable); in sched_clock_stable()
371 if (!static_branch_likely(&sched_clock_running)) in sched_clock_cpu()
394 if (!static_branch_likely(&sched_clock_running)) in sched_clock_tick()
461 if (!static_branch_likely(&sched_clock_running)) in sched_clock_cpu()
Dstats.h125 if (static_branch_likely(&psi_disabled)) in psi_enqueue()
148 if (static_branch_likely(&psi_disabled)) in psi_dequeue()
168 if (static_branch_likely(&psi_disabled)) in psi_ttwu_dequeue()
196 if (static_branch_likely(&psi_disabled)) in psi_sched_switch()
Dpsi.c799 if (static_branch_likely(&psi_cgroups_enabled)) in task_psi_group()
961 if (static_branch_likely(&psi_disabled)) in psi_memstall_enter()
992 if (static_branch_likely(&psi_disabled)) in psi_memstall_leave()
1014 if (!static_branch_likely(&psi_cgroups_enabled)) in psi_cgroup_alloc()
1033 if (!static_branch_likely(&psi_cgroups_enabled)) in psi_cgroup_free()
1061 if (!static_branch_likely(&psi_cgroups_enabled)) { in cgroup_move_task()
1151 if (static_branch_likely(&psi_disabled)) in psi_show()
1198 if (static_branch_likely(&psi_disabled)) in psi_trigger_create()
1340 if (static_branch_likely(&psi_disabled)) in psi_trigger_poll()
1402 if (static_branch_likely(&psi_disabled)) in psi_write()
/linux-6.1.9/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()
/linux-6.1.9/arch/x86/crypto/
Dblake2s-glue.c35 if (!static_branch_likely(&blake2s_use_ssse3) || !may_use_simd()) { in blake2s_compress()
46 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()
/linux-6.1.9/include/linux/sched/
Dsmt.h12 return static_branch_likely(&sched_smt_present); in sched_smt_active()
/linux-6.1.9/arch/riscv/include/asm/vdso/
Dprocessor.h13 if (!static_branch_likely(&riscv_isa_ext_keys[RISCV_ISA_EXT_KEY_ZIHINTPAUSE])) { in cpu_relax()
/linux-6.1.9/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()
/linux-6.1.9/arch/parisc/kernel/
Dcache.c68 if (static_branch_likely(&parisc_has_icache)) in cache_flush_local_cpu()
70 if (static_branch_likely(&parisc_has_dcache)) in cache_flush_local_cpu()
81 if (static_branch_likely(&parisc_has_cache)) in flush_cache_all()
87 if (static_branch_likely(&parisc_has_dcache)) in flush_data_cache()
318 if (!static_branch_likely(&parisc_has_cache)) in __flush_cache_page()
/linux-6.1.9/drivers/irqchip/
Dirq-apple-aic.c528 if (static_branch_likely(&use_fast_ipi)) { in aic_handle_fiq()
780 if (static_branch_likely(&use_fast_ipi)) in aic_ipi_unmask()
813 if (static_branch_likely(&use_fast_ipi)) in aic_ipi_send_mask()
853 if (static_branch_likely(&use_fast_ipi)) { in aic_handle_ipi()
886 if (!static_branch_likely(&use_fast_ipi)) in aic_handle_ipi()
988 if (static_branch_likely(&use_fast_ipi)) { in aic_init_cpu()
1174 if (static_branch_likely(&use_fast_ipi)) in aic_of_ic_init()
/linux-6.1.9/arch/x86/kernel/
Dprocess.h26 if (!static_branch_likely(&switch_to_cond_stibp)) { in switch_to_extra()
/linux-6.1.9/arch/s390/include/asm/
Darchrandom.h29 if (static_branch_likely(&s390_arch_random_available) && in arch_get_random_seed_longs()
/linux-6.1.9/arch/powerpc/include/asm/
Dcpu_has_feature.h46 return static_branch_likely(&cpu_feature_keys[i]); in cpu_has_feature()
/linux-6.1.9/arch/arm64/kvm/hyp/include/nvhe/
Dspinlock.h110 if (static_branch_likely(&kvm_protected_mode_initialized)) in hyp_assert_lock_held()

1234