/openbmc/linux/include/linux/ |
H A D | delayacct.h | 109 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 …]
|
H A D | page_owner.h | 23 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()
|
H A D | cpuset.h | 41 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()
|
H A D | once.h | 51 if (static_branch_unlikely(&___once_key)) { \ 69 if (static_branch_unlikely(&___once_key)) { \
|
H A D | jump_label.h | 494 #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))
|
H A D | livepatch_sched.h | 18 if (static_branch_unlikely(&klp_sched_try_switch_key)) in klp_sched_try_switch()
|
/openbmc/linux/lib/ |
H A D | test_static_keys.c | 93 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()
|
H A D | crc64-rocksoft.c | 65 if (static_branch_unlikely(&crc64_rocksoft_fallback)) in crc64_rocksoft_update() 109 if (static_branch_unlikely(&crc64_rocksoft_fallback)) in crc64_rocksoft_transform_show()
|
H A D | crc-t10dif.c | 71 if (static_branch_unlikely(&crct10dif_fallback)) in crc_t10dif_update() 115 if (static_branch_unlikely(&crct10dif_fallback)) in crc_t10dif_transform_show()
|
/openbmc/linux/mm/ |
H A D | shuffle.h | 15 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()
|
H A D | page_reporting.h | 20 return static_branch_unlikely(&page_reporting_enabled) && in page_reported() 36 if (!static_branch_unlikely(&page_reporting_enabled)) in page_reporting_notify_free()
|
/openbmc/linux/arch/x86/kvm/ |
H A D | xen.h | 47 if (static_branch_unlikely(&kvm_xen_enabled.key) && in kvm_xen_sw_enable_lapic() 55 return static_branch_unlikely(&kvm_xen_enabled.key) && in kvm_xen_msr_enabled() 61 return static_branch_unlikely(&kvm_xen_enabled.key) && in kvm_xen_hypercall_enabled() 68 if (static_branch_unlikely(&kvm_xen_enabled.key) && in kvm_xen_has_interrupt() 78 return static_branch_unlikely(&kvm_xen_enabled.key) && in kvm_xen_has_pending_events()
|
H A D | lapic.h | 188 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()
|
/openbmc/linux/arch/powerpc/mm/book3s64/ |
H A D | internal.h | 13 return static_branch_unlikely(&stress_slb_key); in stress_slb() 22 return static_branch_unlikely(&stress_hpt_key); in stress_hpt()
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-mvebu-icu.c | 154 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()
|
/openbmc/linux/include/kunit/ |
H A D | test-bug.h | 43 if (!static_branch_unlikely(&kunit_running)) in kunit_get_current_test() 56 if (static_branch_unlikely(&kunit_running)) { \
|
/openbmc/linux/kernel/sched/ |
H A D | isolation.c | 43 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()
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | pai.h | 56 if (!static_branch_unlikely(&pai_key)) in pai_kernel_enter() 69 if (!static_branch_unlikely(&pai_key)) in pai_kernel_exit()
|
/openbmc/linux/net/netfilter/ |
H A D | nf_tables_core.c | 64 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()
|
H A D | nf_hooks_lwtunnel.c | 12 if (static_branch_unlikely(&nf_hooks_lwtunnel_enabled)) in nf_hooks_lwtunnel_get() 20 if (static_branch_unlikely(&nf_hooks_lwtunnel_enabled)) { in nf_hooks_lwtunnel_set()
|
/openbmc/linux/kernel/ |
H A D | stackleak.c | 28 int state = !static_branch_unlikely(&stack_erasing_bypass); in stack_erasing_sysctl() 68 #define skip_erasing() static_branch_unlikely(&stack_erasing_bypass)
|
/openbmc/linux/arch/powerpc/include/asm/book3s/64/ |
H A D | kup.h | 395 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()
|
/openbmc/linux/Documentation/staging/ |
H A D | static-keys.rst | 24 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))
|
/openbmc/linux/arch/x86/include/asm/trace/ |
H A D | common.h | 7 static_branch_unlikely(&trace_pagefault_key)
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | kvm_guest.h | 16 return static_branch_unlikely(&kvm_guest); in is_kvm_guest()
|