Home
last modified time | relevance | path

Searched refs:static_branch_unlikely (Results 1 – 25 of 150) sorted by relevance

123456

/linux-6.6.21/include/linux/
Ddelayacct.h109 if (!static_branch_unlikely(&delayacct_key)) in delayacct_blkio_start()
118 if (!static_branch_unlikely(&delayacct_key)) in delayacct_blkio_end()
134 if (!static_branch_unlikely(&delayacct_key)) in delayacct_freepages_start()
143 if (!static_branch_unlikely(&delayacct_key)) in delayacct_freepages_end()
152 if (!static_branch_unlikely(&delayacct_key)) in delayacct_thrashing_start()
161 if (!static_branch_unlikely(&delayacct_key)) in delayacct_thrashing_end()
170 if (!static_branch_unlikely(&delayacct_key)) in delayacct_swapin_start()
179 if (!static_branch_unlikely(&delayacct_key)) in delayacct_swapin_end()
188 if (!static_branch_unlikely(&delayacct_key)) in delayacct_compact_start()
197 if (!static_branch_unlikely(&delayacct_key)) in delayacct_compact_end()
[all …]
Dpage_owner.h23 if (static_branch_unlikely(&page_owner_inited)) in reset_page_owner()
30 if (static_branch_unlikely(&page_owner_inited)) in set_page_owner()
36 if (static_branch_unlikely(&page_owner_inited)) in split_page_owner()
41 if (static_branch_unlikely(&page_owner_inited)) in folio_copy_owner()
46 if (static_branch_unlikely(&page_owner_inited)) in set_page_owner_migrate_reason()
51 if (static_branch_unlikely(&page_owner_inited)) in dump_page_owner()
Dcpuset.h41 return static_branch_unlikely(&cpusets_enabled_key); in cpusets_enabled()
66 return static_branch_unlikely(&cpusets_insane_config_key); in cpusets_insane_config()
143 if (!static_branch_unlikely(&cpusets_pre_enable_key)) in read_mems_allowed_begin()
157 if (!static_branch_unlikely(&cpusets_enabled_key)) in read_mems_allowed_retry()
Donce.h51 if (static_branch_unlikely(&___once_key)) { \
69 if (static_branch_unlikely(&___once_key)) { \
Dlivepatch_sched.h18 if (static_branch_unlikely(&klp_sched_try_switch_key)) in klp_sched_try_switch()
Djump_label.h494 #define static_branch_unlikely(x) \ macro
509 #define static_branch_unlikely(x) unlikely_notrace(static_key_enabled(&(x)->key)) macro
515 : static_branch_unlikely(x))
/linux-6.6.21/lib/
Dtest_static_keys.c93 test_key_func(true_key, static_branch_unlikely) in test_key_func()
95 test_key_func(false_key, static_branch_unlikely) in test_key_func()
101 test_key_func(base_true_key, static_branch_unlikely) in test_key_func()
103 test_key_func(base_inv_true_key, static_branch_unlikely) in test_key_func()
105 test_key_func(base_false_key, static_branch_unlikely) in test_key_func()
107 test_key_func(base_inv_false_key, static_branch_unlikely) in test_key_func()
Dcrc-t10dif.c71 if (static_branch_unlikely(&crct10dif_fallback)) in crc_t10dif_update()
115 if (static_branch_unlikely(&crct10dif_fallback)) in crc_t10dif_transform_show()
Dcrc64-rocksoft.c65 if (static_branch_unlikely(&crc64_rocksoft_fallback)) in crc64_rocksoft_update()
109 if (static_branch_unlikely(&crc64_rocksoft_fallback)) in crc64_rocksoft_transform_show()
/linux-6.6.21/mm/
Dshuffle.h15 if (!static_branch_unlikely(&page_alloc_shuffle_key)) in shuffle_free_memory()
23 if (!static_branch_unlikely(&page_alloc_shuffle_key)) in shuffle_zone()
30 if (!static_branch_unlikely(&page_alloc_shuffle_key)) in is_shuffle_order()
Dpage_reporting.h20 return static_branch_unlikely(&page_reporting_enabled) && in page_reported()
36 if (!static_branch_unlikely(&page_reporting_enabled)) in page_reporting_notify_free()
/linux-6.6.21/arch/x86/kvm/
Dxen.h41 return static_branch_unlikely(&kvm_xen_enabled.key) && in kvm_xen_msr_enabled()
47 return static_branch_unlikely(&kvm_xen_enabled.key) && in kvm_xen_hypercall_enabled()
54 if (static_branch_unlikely(&kvm_xen_enabled.key) && in kvm_xen_has_interrupt()
64 return static_branch_unlikely(&kvm_xen_enabled.key) && in kvm_xen_has_pending_events()
Dlapic.h188 if (static_branch_unlikely(&kvm_has_noapic_vcpu)) in lapic_in_kernel()
197 if (static_branch_unlikely(&apic_hw_disabled.key)) in kvm_apic_hw_enabled()
206 if (static_branch_unlikely(&apic_sw_disabled.key)) in kvm_apic_sw_enabled()
/linux-6.6.21/arch/powerpc/mm/book3s64/
Dinternal.h13 return static_branch_unlikely(&stress_slb_key); in stress_slb()
22 return static_branch_unlikely(&stress_hpt_key); in stress_hpt()
/linux-6.6.21/drivers/irqchip/
Dirq-mvebu-icu.c154 unsigned int param_count = static_branch_unlikely(&legacy_bindings) ? 3 : 2; in mvebu_icu_irq_domain_translate()
165 if (static_branch_unlikely(&legacy_bindings)) { in mvebu_icu_irq_domain_translate()
218 if (static_branch_unlikely(&legacy_bindings)) in mvebu_icu_irq_domain_alloc()
309 if (static_branch_unlikely(&legacy_bindings)) { in mvebu_icu_subset_probe()
385 !static_branch_unlikely(&legacy_bindings))) in mvebu_icu_probe()
391 if (static_branch_unlikely(&legacy_bindings)) in mvebu_icu_probe()
/linux-6.6.21/include/kunit/
Dtest-bug.h43 if (!static_branch_unlikely(&kunit_running)) in kunit_get_current_test()
56 if (static_branch_unlikely(&kunit_running)) { \
/linux-6.6.21/kernel/sched/
Disolation.c43 if (static_branch_unlikely(&housekeeping_overridden)) { in housekeeping_any_cpu()
58 if (static_branch_unlikely(&housekeeping_overridden)) in housekeeping_cpumask()
67 if (static_branch_unlikely(&housekeeping_overridden)) in housekeeping_affine()
75 if (static_branch_unlikely(&housekeeping_overridden)) in housekeeping_test_cpu()
/linux-6.6.21/net/netfilter/
Dnf_hooks_lwtunnel.c9 if (static_branch_unlikely(&nf_hooks_lwtunnel_enabled)) in nf_hooks_lwtunnel_get()
17 if (static_branch_unlikely(&nf_hooks_lwtunnel_enabled)) { in nf_hooks_lwtunnel_set()
Dnf_tables_core.c64 if (static_branch_unlikely(&nft_trace_enabled)) { in nft_trace_packet()
73 if (static_branch_unlikely(&nft_trace_enabled)) in nft_trace_copy_nftrace()
143 if (static_branch_unlikely(&nft_trace_enabled)) in nft_trace_verdict()
267 if (static_branch_unlikely(&nft_trace_enabled)) in nft_do_chain()
342 if (static_branch_unlikely(&nft_counters_enabled)) in nft_do_chain()
/linux-6.6.21/arch/s390/include/asm/
Dpai.h56 if (!static_branch_unlikely(&pai_key)) in pai_kernel_enter()
69 if (!static_branch_unlikely(&pai_key)) in pai_kernel_exit()
/linux-6.6.21/kernel/
Dstackleak.c28 int state = !static_branch_unlikely(&stack_erasing_bypass); in stack_erasing_sysctl()
68 #define skip_erasing() static_branch_unlikely(&stack_erasing_bypass)
/linux-6.6.21/arch/powerpc/include/asm/book3s/64/
Dkup.h395 if (static_branch_unlikely(&uaccess_flush_key)) in prevent_user_access()
404 if (static_branch_unlikely(&uaccess_flush_key)) in prevent_user_access_return()
413 if (static_branch_unlikely(&uaccess_flush_key) && flags == AMR_KUAP_BLOCKED) in restore_user_access()
/linux-6.6.21/arch/x86/include/asm/trace/
Dcommon.h7 static_branch_unlikely(&trace_pagefault_key)
/linux-6.6.21/Documentation/staging/
Dstatic-keys.rst24 static_branch_unlikely()
37 if (static_branch_unlikely(&key))
48 The static_branch_unlikely() branch will be generated into the code with as little
82 if (static_branch_unlikely(&key))
114 if (static_branch_unlikely(&key))
127 be used in either static_branch_likely() or static_branch_unlikely()
218 + if (static_branch_unlikely(&key))
/linux-6.6.21/arch/powerpc/include/asm/
Dkvm_guest.h16 return static_branch_unlikely(&kvm_guest); in is_kvm_guest()

123456