Home
last modified time | relevance | path

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

123456

/linux-6.1.9/include/linux/
Ddelayacct.h105 if (!static_branch_unlikely(&delayacct_key)) in delayacct_blkio_start()
114 if (!static_branch_unlikely(&delayacct_key)) in delayacct_blkio_end()
130 if (!static_branch_unlikely(&delayacct_key)) in delayacct_freepages_start()
139 if (!static_branch_unlikely(&delayacct_key)) in delayacct_freepages_end()
148 if (!static_branch_unlikely(&delayacct_key)) in delayacct_thrashing_start()
157 if (!static_branch_unlikely(&delayacct_key)) in delayacct_thrashing_end()
166 if (!static_branch_unlikely(&delayacct_key)) in delayacct_swapin_start()
175 if (!static_branch_unlikely(&delayacct_key)) in delayacct_swapin_end()
184 if (!static_branch_unlikely(&delayacct_key)) in delayacct_compact_start()
193 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()
148 if (!static_branch_unlikely(&cpusets_pre_enable_key)) in read_mems_allowed_begin()
162 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)) { \
Djump_label.h481 #define static_branch_unlikely(x) \ macro
496 #define static_branch_unlikely(x) unlikely_notrace(static_key_enabled(&(x)->key)) macro
502 : static_branch_unlikely(x))
/linux-6.1.9/arch/x86/kvm/vmx/
Dvmx_ops.h134 if (static_branch_unlikely(&enable_evmcs)) in vmcs_read16()
142 if (static_branch_unlikely(&enable_evmcs)) in vmcs_read32()
150 if (static_branch_unlikely(&enable_evmcs)) in vmcs_read64()
162 if (static_branch_unlikely(&enable_evmcs)) in vmcs_readl()
209 if (static_branch_unlikely(&enable_evmcs)) in vmcs_write16()
218 if (static_branch_unlikely(&enable_evmcs)) in vmcs_write32()
227 if (static_branch_unlikely(&enable_evmcs)) in vmcs_write64()
239 if (static_branch_unlikely(&enable_evmcs)) in vmcs_writel()
249 if (static_branch_unlikely(&enable_evmcs)) in vmcs_clear_bits()
259 if (static_branch_unlikely(&enable_evmcs)) in vmcs_set_bits()
[all …]
/linux-6.1.9/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.1.9/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.1.9/arch/x86/kvm/
Dxen.h38 return static_branch_unlikely(&kvm_xen_enabled.key) && in kvm_xen_msr_enabled()
44 return static_branch_unlikely(&kvm_xen_enabled.key) && in kvm_xen_hypercall_enabled()
51 if (static_branch_unlikely(&kvm_xen_enabled.key) && in kvm_xen_has_interrupt()
61 return static_branch_unlikely(&kvm_xen_enabled.key) && in kvm_xen_has_pending_events()
Dlapic.h184 if (static_branch_unlikely(&kvm_has_noapic_vcpu)) in lapic_in_kernel()
193 if (static_branch_unlikely(&apic_hw_disabled.key)) in kvm_apic_hw_enabled()
202 if (static_branch_unlikely(&apic_sw_disabled.key)) in kvm_apic_sw_enabled()
/linux-6.1.9/drivers/irqchip/
Dirq-mvebu-icu.c156 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.1.9/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.1.9/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.c43 if (static_branch_unlikely(&nft_trace_enabled)) { in nft_trace_packet()
53 if (static_branch_unlikely(&nft_trace_enabled)) { in nft_trace_copy_nftrace()
124 if (static_branch_unlikely(&nft_trace_enabled)) { in nft_trace_verdict()
242 if (static_branch_unlikely(&nft_trace_enabled)) in nft_do_chain()
322 if (static_branch_unlikely(&nft_counters_enabled)) in nft_do_chain()
/linux-6.1.9/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.1.9/arch/x86/include/asm/
Dsev.h142 if (static_branch_unlikely(&sev_es_enable_key)) in sev_es_ist_enter()
147 if (static_branch_unlikely(&sev_es_enable_key)) in sev_es_ist_exit()
154 if (static_branch_unlikely(&sev_es_enable_key)) in sev_es_nmi_complete()
/linux-6.1.9/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.1.9/arch/powerpc/include/asm/book3s/64/
Dkup.h404 if (static_branch_unlikely(&uaccess_flush_key)) in prevent_user_access()
413 if (static_branch_unlikely(&uaccess_flush_key)) in prevent_user_access_return()
422 if (static_branch_unlikely(&uaccess_flush_key) && flags == AMR_KUAP_BLOCKED) in restore_user_access()
/linux-6.1.9/arch/x86/include/asm/trace/
Dcommon.h7 static_branch_unlikely(&trace_pagefault_key)
/linux-6.1.9/arch/powerpc/mm/book3s64/
Dinternal.h13 return static_branch_unlikely(&stress_slb_key); in stress_slb()
/linux-6.1.9/arch/powerpc/include/asm/
Dkvm_guest.h16 return static_branch_unlikely(&kvm_guest); in is_kvm_guest()
/linux-6.1.9/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))

123456