Home
last modified time | relevance | path

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

1234

/Linux-v5.4/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()
Dcontext_tracking_state.h31 return static_branch_unlikely(&context_tracking_enabled); in context_tracking_is_enabled()
Donce.h43 if (static_branch_unlikely(&___once_key)) { \
Dfrontswap.h45 return static_branch_unlikely(&frontswap_enabled_key); in frontswap_enabled()
Djump_label.h466 #define static_branch_unlikely(x) \ macro
481 #define static_branch_unlikely(x) unlikely(static_key_enabled(&(x)->key)) macro
/Linux-v5.4/arch/x86/kvm/vmx/
Dops.h92 if (static_branch_unlikely(&enable_evmcs)) in vmcs_read16()
100 if (static_branch_unlikely(&enable_evmcs)) in vmcs_read32()
108 if (static_branch_unlikely(&enable_evmcs)) in vmcs_read64()
120 if (static_branch_unlikely(&enable_evmcs)) in vmcs_readl()
163 if (static_branch_unlikely(&enable_evmcs)) in vmcs_write16()
172 if (static_branch_unlikely(&enable_evmcs)) in vmcs_write32()
181 if (static_branch_unlikely(&enable_evmcs)) in vmcs_write64()
193 if (static_branch_unlikely(&enable_evmcs)) in vmcs_writel()
203 if (static_branch_unlikely(&enable_evmcs)) in vmcs_clear_bits()
213 if (static_branch_unlikely(&enable_evmcs)) in vmcs_set_bits()
[all …]
/Linux-v5.4/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()
/Linux-v5.4/mm/
Dshuffle.h27 if (!static_branch_unlikely(&page_alloc_shuffle_key)) in shuffle_free_memory()
35 if (!static_branch_unlikely(&page_alloc_shuffle_key)) in shuffle_zone()
42 if (!static_branch_unlikely(&page_alloc_shuffle_key)) in is_shuffle_order()
/Linux-v5.4/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()
Dclock.c373 if (!static_branch_unlikely(&sched_clock_running)) in sched_clock_cpu()
396 if (!static_branch_unlikely(&sched_clock_running)) in sched_clock_tick()
463 if (!static_branch_unlikely(&sched_clock_running)) in sched_clock_cpu()
/Linux-v5.4/arch/x86/include/asm/trace/
Dcommon.h7 static_branch_unlikely(&trace_pagefault_key)
10 static_branch_unlikely(&trace_resched_ipi_key)
/Linux-v5.4/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.c47 if (static_branch_unlikely(&xintc_is_be)) in xintc_write()
55 if (static_branch_unlikely(&xintc_is_be)) in xintc_read()
/Linux-v5.4/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)
Djump_label.c825 WARN_ON(!static_branch_unlikely(&sk_true)); in jump_label_test()
827 WARN_ON(static_branch_unlikely(&sk_false)); in jump_label_test()
836 WARN_ON(static_branch_unlikely(&sk_true)); in jump_label_test()
838 WARN_ON(!static_branch_unlikely(&sk_false)); in jump_label_test()
/Linux-v5.4/net/netfilter/
Dnf_tables_core.c44 if (static_branch_unlikely(&nft_trace_enabled)) { in nft_trace_packet()
163 if (static_branch_unlikely(&nft_trace_enabled)) in nft_do_chain()
241 if (static_branch_unlikely(&nft_counters_enabled)) in nft_do_chain()
/Linux-v5.4/Documentation/
Dstatic-keys.txt24 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))
/Linux-v5.4/arch/arm/kvm/hyp/
Dswitch.c82 if (static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) { in __vgic_save_state()
90 if (static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) { in __vgic_restore_state()
/Linux-v5.4/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()
/Linux-v5.4/include/linux/sched/
Disolation.h52 if (static_branch_unlikely(&housekeeping_overridden)) in housekeeping_cpu()
/Linux-v5.4/arch/arm64/kvm/hyp/
Dswitch.c222 if (static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) { in __hyp_vgic_save_state()
231 if (static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) { in __hyp_vgic_restore_state()
480 if (static_branch_unlikely(&vgic_v2_cpuif_trap)) { in fixup_guest_exit()
503 if (static_branch_unlikely(&vgic_v3_cpuif_trap) && in fixup_guest_exit()
/Linux-v5.4/arch/x86/include/asm/
Dstring_64.h109 if (static_branch_unlikely(&mcsafe_key)) in memcpy_mcsafe()
/Linux-v5.4/net/ipv4/
Dtcp_minisocks.c301 if (static_branch_unlikely(&tcp_md5_needed)) { in tcp_time_wait()
347 if (static_branch_unlikely(&tcp_md5_needed)) { in tcp_twsk_destructor()
442 if (static_branch_unlikely(&tcp_have_smc)) { in smc_check_reset_syn_req()
/Linux-v5.4/virt/kvm/arm/vgic/
Dvgic.c844 return !static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif) || has_vhe(); in can_access_vgic_from_kernel()
849 if (!static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) in vgic_save_state()
876 if (!static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) in vgic_restore_state()

1234