Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/include/linux/
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 copy_page_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.h38 return static_branch_unlikely(&cpusets_enabled_key); in cpusets_enabled()
132 if (!static_branch_unlikely(&cpusets_pre_enable_key)) in read_mems_allowed_begin()
146 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)) { \
Dcontext_tracking_state.h31 return static_branch_unlikely(&context_tracking_key); in context_tracking_enabled()
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
Dvmx_ops.h107 if (static_branch_unlikely(&enable_evmcs)) in vmcs_read16()
115 if (static_branch_unlikely(&enable_evmcs)) in vmcs_read32()
123 if (static_branch_unlikely(&enable_evmcs)) in vmcs_read64()
135 if (static_branch_unlikely(&enable_evmcs)) in vmcs_readl()
182 if (static_branch_unlikely(&enable_evmcs)) in vmcs_write16()
191 if (static_branch_unlikely(&enable_evmcs)) in vmcs_write32()
200 if (static_branch_unlikely(&enable_evmcs)) in vmcs_write64()
212 if (static_branch_unlikely(&enable_evmcs)) in vmcs_writel()
222 if (static_branch_unlikely(&enable_evmcs)) in vmcs_clear_bits()
232 if (static_branch_unlikely(&enable_evmcs)) in vmcs_set_bits()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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.h21 return static_branch_unlikely(&page_reporting_enabled) && in page_reported()
37 if (!static_branch_unlikely(&page_reporting_enabled)) in page_reporting_notify_free()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dsev-es.h90 if (static_branch_unlikely(&sev_es_enable_key)) in sev_es_ist_enter()
95 if (static_branch_unlikely(&sev_es_enable_key)) in sev_es_ist_exit()
102 if (static_branch_unlikely(&sev_es_enable_key)) in sev_es_nmi_complete()
/kernel/linux/linux-5.10/kernel/sched/
Disolation.c27 if (static_branch_unlikely(&housekeeping_overridden)) { in housekeeping_any_cpu()
42 if (static_branch_unlikely(&housekeeping_overridden)) in housekeeping_cpumask()
51 if (static_branch_unlikely(&housekeeping_overridden)) in housekeeping_affine()
59 if (static_branch_unlikely(&housekeeping_overridden)) in housekeeping_test_cpu()
/kernel/linux/linux-5.10/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()
389 !static_branch_unlikely(&legacy_bindings))) in mvebu_icu_probe()
395 if (static_branch_unlikely(&legacy_bindings)) in mvebu_icu_probe()
Dirq-xilinx-intc.c48 if (static_branch_unlikely(&xintc_is_be)) in xintc_write()
56 if (static_branch_unlikely(&xintc_is_be)) in xintc_read()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/64/
Dkup-radix.h182 if (static_branch_unlikely(&uaccess_flush_key)) in prevent_user_access()
191 if (static_branch_unlikely(&uaccess_flush_key)) in prevent_user_access_return()
200 if (static_branch_unlikely(&uaccess_flush_key) && flags == AMR_KUAP_BLOCKED) in restore_user_access()
/kernel/linux/linux-5.10/kernel/
Dstackleak.c26 int state = !static_branch_unlikely(&stack_erasing_bypass); in stack_erasing_sysctl()
46 #define skip_erasing() static_branch_unlikely(&stack_erasing_bypass)
/kernel/linux/linux-5.10/net/netfilter/
Dnf_tables_core.c44 if (static_branch_unlikely(&nft_trace_enabled)) { in nft_trace_packet()
108 if (static_branch_unlikely(&nft_trace_enabled)) { in nft_trace_verdict()
216 if (static_branch_unlikely(&nft_trace_enabled)) in nft_do_chain()
293 if (static_branch_unlikely(&nft_counters_enabled)) in nft_do_chain()
/kernel/linux/linux-5.10/arch/x86/include/asm/trace/
Dcommon.h7 static_branch_unlikely(&trace_pagefault_key)
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
Dinternal.h13 return static_branch_unlikely(&stress_slb_key); in stress_slb()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dkvm_guest.h16 return static_branch_unlikely(&kvm_guest); in is_kvm_guest()
Dparavirt.h17 return static_branch_unlikely(&shared_processor); in is_shared_processor()
/kernel/linux/linux-5.10/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()
221 + if (static_branch_unlikely(&key))
/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/nvhe/
Dswitch.c112 if (static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) { in __hyp_vgic_save_state()
121 if (static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) { in __hyp_vgic_restore_state()
/kernel/linux/linux-5.10/arch/s390/pci/
Dpci_insn.c200 if (!static_branch_unlikely(&have_mio)) in zpci_load()
282 if (!static_branch_unlikely(&have_mio)) in zpci_store()
362 if (!static_branch_unlikely(&have_mio)) in zpci_write_block()
/kernel/linux/linux-5.10/arch/arm64/kvm/vgic/
Dvgic.c836 if (!static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) in vgic_flush_lr_state()
849 return !static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif) || has_vhe(); in can_access_vgic_from_kernel()
854 if (!static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) in vgic_save_state()
872 if (!static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) in kvm_vgic_sync_hwstate()
884 if (!static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) in vgic_restore_state()
/kernel/linux/linux-5.10/arch/x86/lib/
Dcopy_mc.c23 #define copy_mc_fragile_enabled (static_branch_unlikely(&copy_mc_fragile_key))

1234