Home
last modified time | relevance | path

Searched refs:static_key_enabled (Results 1 – 22 of 22) sorted by relevance

/linux-6.12.1/lib/
Dtest_static_keys.c49 if (static_key_enabled(key)) in invert_key()
74 ret = static_key_enabled(keys[i].key); in verify_keys()
79 if (static_key_enabled(keys[i].key)) { in verify_keys()
Dtest_static_key_base.c36 if (static_key_enabled(key)) in invert_key()
Donce.c19 BUG_ON(!static_key_enabled(work->key)); in once_deferred()
Dalloc_tag.c203 if (enable != static_key_enabled(&mem_alloc_profiling_key)) { in setup_early_mem_profiling()
/linux-6.12.1/include/linux/
Djump_label.h351 #define jump_label_enabled static_key_enabled
418 #define static_key_enabled(x) \ macro
511 #define static_branch_likely(x) likely_notrace(static_key_enabled(&(x)->key))
512 #define static_branch_unlikely(x) unlikely_notrace(static_key_enabled(&(x)->key))
/linux-6.12.1/arch/powerpc/include/asm/
Dpercpu.h23 (static_key_enabled(&__percpu_first_chunk_is_paged.key))
/linux-6.12.1/kernel/
Djump_label.c458 bool enabled = static_key_enabled(key); in jump_label_type()
932 WARN_ON(static_key_enabled(&sk_true.key) != true); in jump_label_test()
933 WARN_ON(static_key_enabled(&sk_false.key) != false); in jump_label_test()
943 WARN_ON(static_key_enabled(&sk_true.key) == true); in jump_label_test()
944 WARN_ON(static_key_enabled(&sk_false.key) == false); in jump_label_test()
Dtracepoint.c330 if (tp->regfunc && !static_key_enabled(&tp->key)) { in tracepoint_add_func()
414 if (tp->unregfunc && static_key_enabled(&tp->key)) in tracepoint_remove_func()
Dsysctl.c1601 val = static_key_enabled(key); in proc_do_static_key()
/linux-6.12.1/arch/s390/mm/
Ddump_pagetables.c85 if (addr == PAGE_SIZE && (nospec_uses_trampoline() || !static_key_enabled(&cpu_has_bear))) in note_prot_wx()
179 (nospec_uses_trampoline() || !static_key_enabled(&cpu_has_bear)) ? in ptdump_check_wx()
Dvmem.c670 if (!static_key_enabled(&cpu_has_bear)) in vmem_map_init()
/linux-6.12.1/mm/
Dpage_reporting.c390 if (!static_key_enabled(&page_reporting_enabled)) { in page_reporting_register()
/linux-6.12.1/arch/x86/kernel/cpu/
Dbugs.c1388 static_key_enabled(&switch_mm_always_ibpb) ? in spectre_v2_user_select_mitigation()
2813 if (static_key_enabled(&switch_to_cond_stibp)) in stibp_state()
2822 if (static_key_enabled(&switch_mm_always_ibpb)) in ibpb_state()
2824 if (static_key_enabled(&switch_mm_cond_ibpb)) in ibpb_state()
/linux-6.12.1/drivers/md/
Ddm-zone.c406 !static_key_enabled(&zoned_enabled.key)) in dm_set_zones_restrictions()
Ddm-stats.c419 if (!static_key_enabled(&stats_enabled.key)) in dm_stats_create()
Ddm-table.c764 if (ti->limit_swap_bios && !static_key_enabled(&swap_bios_enabled.key)) in dm_table_add_target()
/linux-6.12.1/Documentation/staging/
Dstatic-keys.rst152 The state and the reference count can be retrieved with 'static_key_enabled()'
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h828 if (static_key_enabled(&ixgbe_xdp_locking_key)) in ixgbe_determine_xdp_q_idx()
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_main.c2707 if (static_key_enabled(&ice_xdp_locking_key)) in ice_xdp_ring_from_qid()
2792 if (static_key_enabled(&ice_xdp_locking_key)) in ice_prepare_xdp_rings()
2909 if (static_key_enabled(&ice_xdp_locking_key)) in ice_destroy_xdp_rings()
/linux-6.12.1/security/
Dsecurity.c984 if (static_key_enabled(&scall->active->key))
/linux-6.12.1/kernel/cgroup/
Dcgroup.c273 return static_key_enabled(cgroup_subsys_enabled_key[ssid]); in cgroup_ssid_enabled()
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c12146 if (!static_key_enabled(&bnxt_xdp_locking_key)) in __bnxt_open_nic()
12148 } else if (static_key_enabled(&bnxt_xdp_locking_key)) { in __bnxt_open_nic()