Home
last modified time | relevance | path

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

123

/Linux-v4.19/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()
130 if (!static_branch_unlikely(&cpusets_pre_enable_key)) in read_mems_allowed_begin()
144 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)) { \
Djump_label.h408 #define static_branch_unlikely(x) \ macro
423 #define static_branch_unlikely(x) unlikely(static_key_enabled(&(x)->key)) macro
Dfrontswap.h38 return static_branch_unlikely(&frontswap_enabled_key); in frontswap_enabled()
Ddynamic_debug.h103 static_branch_unlikely(&descriptor.key.dd_key_false)
/Linux-v4.19/lib/
Dtest_static_keys.c101 test_key_func(true_key, static_branch_unlikely) in test_key_func()
103 test_key_func(false_key, static_branch_unlikely) in test_key_func()
109 test_key_func(base_true_key, static_branch_unlikely) in test_key_func()
111 test_key_func(base_inv_true_key, static_branch_unlikely) in test_key_func()
113 test_key_func(base_false_key, static_branch_unlikely) in test_key_func()
115 test_key_func(base_inv_false_key, static_branch_unlikely) in test_key_func()
/Linux-v4.19/kernel/sched/
Disolation.c18 if (static_branch_unlikely(&housekeeping_overriden)) in housekeeping_any_cpu()
27 if (static_branch_unlikely(&housekeeping_overriden)) in housekeeping_cpumask()
36 if (static_branch_unlikely(&housekeeping_overriden)) in housekeeping_affine()
44 if (static_branch_unlikely(&housekeeping_overriden)) in housekeeping_test_cpu()
Dclock.c372 if (!static_branch_unlikely(&sched_clock_running)) in sched_clock_cpu()
395 if (!static_branch_unlikely(&sched_clock_running)) in sched_clock_tick()
462 if (!static_branch_unlikely(&sched_clock_running)) in sched_clock_cpu()
Dstats.h33 #define schedstat_enabled() static_branch_unlikely(&sched_schedstats)
/Linux-v4.19/arch/x86/include/asm/trace/
Dcommon.h7 static_branch_unlikely(&trace_pagefault_key)
10 static_branch_unlikely(&trace_resched_ipi_key)
/Linux-v4.19/net/netfilter/
Dnf_tables_core.c46 if (static_branch_unlikely(&nft_trace_enabled)) { in nft_trace_packet()
152 if (static_branch_unlikely(&nft_trace_enabled)) in nft_do_chain()
231 if (static_branch_unlikely(&nft_counters_enabled)) in nft_do_chain()
/Linux-v4.19/arch/arm64/kvm/hyp/
Dswitch.c212 if (static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) { in __hyp_vgic_save_state()
221 if (static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) { in __hyp_vgic_restore_state()
411 if (static_branch_unlikely(&vgic_v2_cpuif_trap)) { in fixup_guest_exit()
442 if (static_branch_unlikely(&vgic_v3_cpuif_trap) && in fixup_guest_exit()
/Linux-v4.19/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-v4.19/drivers/irqchip/
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-v4.19/arch/arm/kvm/hyp/
Dswitch.c93 if (static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) { in __vgic_save_state()
101 if (static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) { in __vgic_restore_state()
/Linux-v4.19/include/linux/sched/
Disolation.h46 if (static_branch_unlikely(&housekeeping_overriden)) in housekeeping_cpu()
/Linux-v4.19/kernel/
Djump_label.c776 WARN_ON(!static_branch_unlikely(&sk_true)); in jump_label_test()
778 WARN_ON(static_branch_unlikely(&sk_false)); in jump_label_test()
787 WARN_ON(static_branch_unlikely(&sk_true)); in jump_label_test()
789 WARN_ON(!static_branch_unlikely(&sk_false)); in jump_label_test()
/Linux-v4.19/arch/arm64/include/asm/
Darch_timer.h36 static_branch_unlikely(&arch_timer_read_ool_enabled)
/Linux-v4.19/arch/x86/include/asm/
Dstring_64.h142 if (static_branch_unlikely(&mcsafe_key)) in memcpy_mcsafe()
Dmmu_context.h32 if (static_branch_unlikely(&rdpmc_always_available_key) || in load_mm_cr4()
/Linux-v4.19/virt/kvm/arm/vgic/
Dvgic.c818 return !static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif) || has_vhe(); in can_access_vgic_from_kernel()
823 if (!static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) in vgic_save_state()
850 if (!static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) in vgic_restore_state()
/Linux-v4.19/mm/
Dusercopy.c255 if (static_branch_unlikely(&bypass_usercopy_checks)) in __check_object_size()
Dpage_owner.c462 if (!static_branch_unlikely(&page_owner_inited)) in read_page_owner()
629 if (!static_branch_unlikely(&page_owner_inited)) { in pageowner_init()

123