Home
last modified time | relevance | path

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

1234

/linux-6.12.1/include/linux/
Dpage_table_check.h30 if (static_branch_likely(&page_table_check_disabled)) in page_table_check_alloc()
38 if (static_branch_likely(&page_table_check_disabled)) in page_table_check_free()
46 if (static_branch_likely(&page_table_check_disabled)) in page_table_check_pte_clear()
54 if (static_branch_likely(&page_table_check_disabled)) in page_table_check_pmd_clear()
62 if (static_branch_likely(&page_table_check_disabled)) in page_table_check_pud_clear()
71 if (static_branch_likely(&page_table_check_disabled)) in page_table_check_ptes_set()
80 if (static_branch_likely(&page_table_check_disabled)) in page_table_check_pmd_set()
89 if (static_branch_likely(&page_table_check_disabled)) in page_table_check_pud_set()
99 if (static_branch_likely(&page_table_check_disabled)) in page_table_check_pte_clear_range()
Djump_label.h485 #define static_branch_likely(x) \ macro
511 #define static_branch_likely(x) likely_notrace(static_key_enabled(&(x)->key)) macro
517 (IS_ENABLED(config) ? static_branch_likely(x) \
Dkasan-enabled.h13 return static_branch_likely(&kasan_flag_enabled); in kasan_enabled()
/linux-6.12.1/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.12.1/kernel/sched/
Dclock.c108 return static_branch_likely(&__sched_clock_stable); in sched_clock_stable()
300 if (static_branch_likely(&__sched_clock_stable)) in local_clock_noinstr()
303 if (!static_branch_likely(&sched_clock_running)) in local_clock_noinstr()
396 if (!static_branch_likely(&sched_clock_running)) in sched_clock_cpu()
419 if (!static_branch_likely(&sched_clock_running)) in sched_clock_tick()
486 if (!static_branch_likely(&sched_clock_running)) in sched_clock_cpu()
Dstats.h134 if (static_branch_likely(&psi_disabled)) in psi_enqueue()
163 if (static_branch_likely(&psi_disabled)) in psi_dequeue()
183 if (static_branch_likely(&psi_disabled)) in psi_ttwu_dequeue()
204 if (static_branch_likely(&psi_disabled)) in psi_sched_switch()
Dpsi.c879 if (static_branch_likely(&psi_cgroups_enabled)) in task_psi_group()
1001 if (static_branch_likely(&psi_disabled)) in psi_account_irqtime()
1052 if (static_branch_likely(&psi_disabled)) in psi_memstall_enter()
1083 if (static_branch_likely(&psi_disabled)) in psi_memstall_leave()
1105 if (!static_branch_likely(&psi_cgroups_enabled)) in psi_cgroup_alloc()
1124 if (!static_branch_likely(&psi_cgroups_enabled)) in psi_cgroup_free()
1152 if (!static_branch_likely(&psi_cgroups_enabled)) { in cgroup_move_task()
1240 if (static_branch_likely(&psi_disabled)) in psi_show()
1289 if (static_branch_likely(&psi_disabled)) in psi_trigger_create()
1472 if (static_branch_likely(&psi_disabled)) in psi_trigger_poll()
[all …]
/linux-6.12.1/arch/x86/include/asm/
Dresctrl.h107 if (static_branch_likely(&rdt_alloc_enable_key)) { in __resctrl_sched_in()
113 if (static_branch_likely(&rdt_mon_enable_key)) { in __resctrl_sched_in()
155 if (static_branch_likely(&rdt_enable_key)) in resctrl_sched_in()
/linux-6.12.1/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.12.1/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.12.1/drivers/clocksource/
Dtimer-riscv.c37 if (static_branch_likely(&riscv_sstc_available)) { in riscv_clock_event_stop()
51 if (static_branch_likely(&riscv_sstc_available)) { in riscv_clock_next_event()
118 if (static_branch_likely(&riscv_sstc_available)) in riscv_timer_starting_cpu()
/linux-6.12.1/arch/x86/crypto/
Dblake2s-glue.c34 if (!static_branch_likely(&blake2s_use_ssse3) || !may_use_simd()) { in blake2s_compress()
45 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.12.1/drivers/irqchip/
Dirq-apple-aic.c554 if (static_branch_likely(&use_fast_ipi) && in aic_handle_fiq()
591 if (static_branch_likely(&use_fast_ipi) && in aic_handle_fiq()
768 if (static_branch_likely(&use_local_fast_ipi) && MPIDR_CLUSTER(my_mpidr) == cluster) { in aic_ipi_send_fast()
786 if (static_branch_likely(&use_fast_ipi)) { in aic_handle_ipi()
799 if (!static_branch_likely(&use_fast_ipi)) in aic_handle_ipi()
805 if (static_branch_likely(&use_fast_ipi)) in aic_ipi_send_single()
829 if (static_branch_likely(&use_fast_ipi)) in aic_init_cpu()
851 if (static_branch_likely(&use_fast_ipi)) { in aic_init_cpu()
873 if (static_branch_likely(&use_fast_ipi)) { in aic_init_cpu()
1060 if (static_branch_likely(&use_fast_ipi)) in aic_of_ic_init()
/linux-6.12.1/arch/parisc/kernel/
Dcache.c82 if (static_branch_likely(&parisc_has_icache)) in cache_flush_local_cpu()
84 if (static_branch_likely(&parisc_has_dcache)) in cache_flush_local_cpu()
95 if (static_branch_likely(&parisc_has_cache)) in flush_cache_all()
101 if (static_branch_likely(&parisc_has_dcache)) in flush_data_cache()
334 if (!static_branch_likely(&parisc_has_cache)) in __flush_cache_page()
898 if (!static_branch_likely(&parisc_has_dcache)) in flush_kernel_vmap_range()
921 if (!static_branch_likely(&parisc_has_dcache)) in invalidate_kernel_vmap_range()
/linux-6.12.1/include/linux/sched/
Dsmt.h12 return static_branch_likely(&sched_smt_present); in sched_smt_active()
/linux-6.12.1/arch/x86/kernel/apic/
Dipi.c56 if (static_branch_likely(&apic_use_ipi_shorthand)) in apic_send_IPI_allbutself()
83 if (static_branch_likely(&apic_use_ipi_shorthand)) { in native_send_call_func_ipi()
/linux-6.12.1/arch/x86/kernel/
Dprocess.h26 if (!static_branch_likely(&switch_to_cond_stibp)) { in switch_to_extra()
/linux-6.12.1/arch/s390/include/asm/
Darchrandom.h29 if (static_branch_likely(&s390_arch_random_available) && in arch_get_random_seed_longs()
/linux-6.12.1/arch/powerpc/include/asm/
Dcpu_has_feature.h45 return static_branch_likely(&cpu_feature_keys[i]); in cpu_has_feature()
/linux-6.12.1/arch/powerpc/crypto/
Dchacha-p10-glue.c69 if (!static_branch_likely(&have_p10) || bytes <= CHACHA_BLOCK_SIZE || in chacha_crypt_arch()
210 if (!static_branch_likely(&have_p10)) in chacha_p10_exit()
/linux-6.12.1/arch/arm64/include/asm/
Dvirt.h88 static_branch_likely(&kvm_protected_mode_initialized); in is_pkvm_initialized()
/linux-6.12.1/arch/arm64/kvm/hyp/include/nvhe/
Dspinlock.h118 if (static_branch_likely(&kvm_protected_mode_initialized)) in hyp_assert_lock_held()

1234