Home
last modified time | relevance | path

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

/linux-6.6.21/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()
/linux-6.6.21/include/linux/
Djump_label.h348 #define jump_label_enabled static_key_enabled
415 #define static_key_enabled(x) \ macro
508 #define static_branch_likely(x) likely_notrace(static_key_enabled(&(x)->key))
509 #define static_branch_unlikely(x) unlikely_notrace(static_key_enabled(&(x)->key))
/linux-6.6.21/kernel/
Djump_label.c420 bool enabled = static_key_enabled(key); in jump_label_type()
841 WARN_ON(static_key_enabled(&sk_true.key) != true); in jump_label_test()
842 WARN_ON(static_key_enabled(&sk_false.key) != false); in jump_label_test()
852 WARN_ON(static_key_enabled(&sk_true.key) == true); in jump_label_test()
853 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.c1606 val = static_key_enabled(key); in proc_do_static_key()
/linux-6.6.21/arch/s390/mm/
Ddump_pagetables.c140 if (addr == PAGE_SIZE && (nospec_uses_trampoline() || !static_key_enabled(&cpu_has_bear))) in note_prot_wx()
227 (nospec_uses_trampoline() || !static_key_enabled(&cpu_has_bear)) ? in ptdump_check_wx()
Dvmem.c655 if (!static_key_enabled(&cpu_has_bear)) in vmem_map_init()
/linux-6.6.21/mm/
Dpage_reporting.c390 if (!static_key_enabled(&page_reporting_enabled)) { in page_reporting_register()
/linux-6.6.21/arch/x86/kernel/cpu/
Dbugs.c1306 static_key_enabled(&switch_mm_always_ibpb) ? in spectre_v2_user_select_mitigation()
2631 if (static_key_enabled(&switch_to_cond_stibp)) in stibp_state()
2640 if (static_key_enabled(&switch_mm_always_ibpb)) in ibpb_state()
2642 if (static_key_enabled(&switch_mm_cond_ibpb)) in ibpb_state()
/linux-6.6.21/drivers/md/
Ddm-table.c738 if (ti->limit_swap_bios && !static_key_enabled(&swap_bios_enabled.key)) in dm_table_add_target()
2029 if (!static_key_enabled(&zoned_enabled.key)) in dm_table_set_restrictions()
Ddm-stats.c410 if (!static_key_enabled(&stats_enabled.key)) in dm_stats_create()
/linux-6.6.21/Documentation/staging/
Dstatic-keys.rst152 The state and the reference count can be retrieved with 'static_key_enabled()'
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h828 if (static_key_enabled(&ixgbe_xdp_locking_key)) in ixgbe_determine_xdp_q_idx()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_main.c2692 if (static_key_enabled(&ice_xdp_locking_key)) in ice_prepare_xdp_rings()
2719 if (static_key_enabled(&ice_xdp_locking_key)) { in ice_prepare_xdp_rings()
2844 if (static_key_enabled(&ice_xdp_locking_key)) in ice_destroy_xdp_rings()
/linux-6.6.21/kernel/cgroup/
Dcgroup.c271 return static_key_enabled(cgroup_subsys_enabled_key[ssid]); in cgroup_ssid_enabled()
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c10534 if (!static_key_enabled(&bnxt_xdp_locking_key)) in __bnxt_open_nic()
10536 } else if (static_key_enabled(&bnxt_xdp_locking_key)) { in __bnxt_open_nic()