/linux-6.12.1/include/linux/ |
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 …]
|
D | page_owner.h | 24 if (static_branch_unlikely(&page_owner_inited)) in reset_page_owner() 31 if (static_branch_unlikely(&page_owner_inited)) in set_page_owner() 38 if (static_branch_unlikely(&page_owner_inited)) in split_page_owner() 43 if (static_branch_unlikely(&page_owner_inited)) in folio_copy_owner() 48 if (static_branch_unlikely(&page_owner_inited)) in set_page_owner_migrate_reason() 53 if (static_branch_unlikely(&page_owner_inited)) in dump_page_owner()
|
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() 141 if (!static_branch_unlikely(&cpusets_pre_enable_key)) in read_mems_allowed_begin() 155 if (!static_branch_unlikely(&cpusets_enabled_key)) in read_mems_allowed_retry()
|
D | once.h | 51 if (static_branch_unlikely(&___once_key)) { \ 69 if (static_branch_unlikely(&___once_key)) { \
|
D | jump_label.h | 497 #define static_branch_unlikely(x) \ macro 512 #define static_branch_unlikely(x) unlikely_notrace(static_key_enabled(&(x)->key)) macro 518 : static_branch_unlikely(x))
|
/linux-6.12.1/lib/ |
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()
|
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()
|
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()
|
/linux-6.12.1/mm/ |
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()
|
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()
|
/linux-6.12.1/arch/x86/kvm/ |
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()
|
D | lapic.h | 186 if (static_branch_unlikely(&kvm_has_noapic_vcpu)) in lapic_in_kernel() 195 if (static_branch_unlikely(&apic_hw_disabled.key)) in kvm_apic_hw_enabled() 204 if (static_branch_unlikely(&apic_sw_disabled.key)) in kvm_apic_sw_enabled()
|
/linux-6.12.1/arch/powerpc/mm/book3s64/ |
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()
|
/linux-6.12.1/include/kunit/ |
D | test-bug.h | 43 if (!static_branch_unlikely(&kunit_running)) in kunit_get_current_test() 56 if (static_branch_unlikely(&kunit_running)) { \
|
/linux-6.12.1/kernel/sched/ |
D | isolation.c | 43 if (static_branch_unlikely(&housekeeping_overridden)) { in housekeeping_any_cpu() 67 if (static_branch_unlikely(&housekeeping_overridden)) in housekeeping_cpumask() 76 if (static_branch_unlikely(&housekeeping_overridden)) in housekeeping_affine() 84 if (static_branch_unlikely(&housekeeping_overridden)) in housekeeping_test_cpu()
|
/linux-6.12.1/drivers/irqchip/ |
D | irq-mvebu-icu.c | 70 unsigned int param_count = static_branch_unlikely(&legacy_bindings) ? 3 : 2; in mvebu_icu_translate() 81 if (static_branch_unlikely(&legacy_bindings)) { in mvebu_icu_translate() 270 if (static_branch_unlikely(&legacy_bindings)) { in mvebu_icu_subset_probe() 344 !static_branch_unlikely(&legacy_bindings))) in mvebu_icu_probe() 350 if (static_branch_unlikely(&legacy_bindings)) in mvebu_icu_probe()
|
/linux-6.12.1/arch/s390/include/asm/ |
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()
|
/linux-6.12.1/arch/arm64/kvm/vgic/ |
D | vgic.c | 835 if (!static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) in vgic_flush_lr_state() 848 return !static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif) || has_vhe(); in can_access_vgic_from_kernel() 853 if (!static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) in vgic_save_state() 871 if (!static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) in kvm_vgic_sync_hwstate() 883 if (!static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) in vgic_restore_state() 926 if (has_vhe() && static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) in kvm_vgic_load() 931 if (!static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) in kvm_vgic_load() 940 if (has_vhe() && static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) in kvm_vgic_put() 945 if (!static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) in kvm_vgic_put()
|
/linux-6.12.1/net/netfilter/ |
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() 343 if (static_branch_unlikely(&nft_counters_enabled)) in nft_do_chain()
|
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()
|
/linux-6.12.1/arch/x86/kernel/cpu/ |
D | aperfmperf.c | 305 if (static_branch_unlikely(&arch_scale_freq_key)) { in freq_invariance_enable() 373 if (static_branch_unlikely(&arch_hybrid_cap_scale_key)) { in arch_enable_hybrid_capacity_scale() 425 if (static_branch_unlikely(&arch_hybrid_cap_scale_key)) in arch_scale_cpu_capacity() 442 if (static_branch_unlikely(&arch_hybrid_cap_scale_key)) in scale_freq_tick()
|
/linux-6.12.1/kernel/ |
D | stackleak.c | 28 int state = !static_branch_unlikely(&stack_erasing_bypass); in stack_erasing_sysctl() 67 #define skip_erasing() static_branch_unlikely(&stack_erasing_bypass)
|
/linux-6.12.1/arch/powerpc/include/asm/book3s/64/ |
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()
|
/linux-6.12.1/Documentation/staging/ |
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))
|
/linux-6.12.1/arch/x86/include/asm/trace/ |
D | common.h | 7 static_branch_unlikely(&trace_pagefault_key)
|