Home
last modified time | relevance | path

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

/linux-6.3-rc2/lib/
A 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()
A Dtest_static_key_base.c36 if (static_key_enabled(key)) in invert_key()
A Donce.c19 BUG_ON(!static_key_enabled(work->key)); in once_deferred()
/linux-6.3-rc2/include/linux/
A 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.3-rc2/kernel/
A 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()
A 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()
A Dsysctl.c1628 val = static_key_enabled(key); in proc_do_static_key()
/linux-6.3-rc2/arch/s390/mm/
A 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()
A Dvmem.c750 if (static_key_enabled(&cpu_has_bear)) in vmem_map_init()
/linux-6.3-rc2/arch/x86/kernel/cpu/
A Dbugs.c522 if (!static_key_enabled(&mds_user_clear)) in md_clear_update_mitigation()
1205 static_key_enabled(&switch_mm_always_ibpb) ? in spectre_v2_user_select_mitigation()
2366 if (static_key_enabled(&switch_to_cond_stibp)) in stibp_state()
2375 if (static_key_enabled(&switch_mm_always_ibpb)) in ibpb_state()
2377 if (static_key_enabled(&switch_mm_cond_ibpb)) in ibpb_state()
/linux-6.3-rc2/mm/
A Dpage_reporting.c390 if (!static_key_enabled(&page_reporting_enabled)) { in page_reporting_register()
/linux-6.3-rc2/drivers/md/
A Ddm-table.c722 if (ti->limit_swap_bios && !static_key_enabled(&swap_bios_enabled.key)) in dm_table_add_target()
2018 if (!static_key_enabled(&zoned_enabled.key)) in dm_table_set_restrictions()
A Ddm-stats.c405 if (!static_key_enabled(&stats_enabled.key)) in dm_stats_create()
/linux-6.3-rc2/Documentation/staging/
A Dstatic-keys.rst152 The state and the reference count can be retrieved with 'static_key_enabled()'
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbe/
A Dixgbe.h829 if (static_key_enabled(&ixgbe_xdp_locking_key)) in ixgbe_determine_xdp_q_idx()
A Dixgbe_lib.c1038 if (static_key_enabled(&ixgbe_xdp_locking_key)) in ixgbe_free_q_vector()
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/
A Dice_main.c2677 if (static_key_enabled(&ice_xdp_locking_key)) in ice_prepare_xdp_rings()
2704 if (static_key_enabled(&ice_xdp_locking_key)) { in ice_prepare_xdp_rings()
2829 if (static_key_enabled(&ice_xdp_locking_key)) in ice_destroy_xdp_rings()
/linux-6.3-rc2/kernel/cgroup/
A Dcgroup.c270 return static_key_enabled(cgroup_subsys_enabled_key[ssid]); in cgroup_ssid_enabled()
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt.c10542 if (!static_key_enabled(&bnxt_xdp_locking_key)) in __bnxt_open_nic()
10544 } else if (static_key_enabled(&bnxt_xdp_locking_key)) { in __bnxt_open_nic()

Completed in 86 milliseconds