Home
last modified time | relevance | path

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

/Linux-v6.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()
/Linux-v6.1/include/linux/
Djump_label.h335 #define jump_label_enabled static_key_enabled
402 #define static_key_enabled(x) \ macro
495 #define static_branch_likely(x) likely_notrace(static_key_enabled(&(x)->key))
496 #define static_branch_unlikely(x) unlikely_notrace(static_key_enabled(&(x)->key))
/Linux-v6.1/kernel/
Djump_label.c392 bool enabled = static_key_enabled(key); in jump_label_type()
813 WARN_ON(static_key_enabled(&sk_true.key) != true); in jump_label_test()
814 WARN_ON(static_key_enabled(&sk_false.key) != false); in jump_label_test()
824 WARN_ON(static_key_enabled(&sk_true.key) == true); in jump_label_test()
825 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.c1623 val = static_key_enabled(key); in proc_do_static_key()
/Linux-v6.1/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.c688 if (!static_key_enabled(&cpu_has_bear)) in vmem_map_init()
/Linux-v6.1/arch/x86/kernel/cpu/
Dbugs.c513 if (!static_key_enabled(&mds_user_clear)) in md_clear_update_mitigation()
1163 static_key_enabled(&switch_mm_always_ibpb) ? in spectre_v2_user_select_mitigation()
2310 if (static_key_enabled(&switch_to_cond_stibp)) in stibp_state()
2319 if (static_key_enabled(&switch_mm_always_ibpb)) in ibpb_state()
2321 if (static_key_enabled(&switch_mm_cond_ibpb)) in ibpb_state()
/Linux-v6.1/mm/
Dpage_reporting.c349 if (!static_key_enabled(&page_reporting_enabled)) { in page_reporting_register()
/Linux-v6.1/drivers/md/
Ddm-table.c721 if (ti->limit_swap_bios && !static_key_enabled(&swap_bios_enabled.key)) in dm_table_add_target()
2022 if (!static_key_enabled(&zoned_enabled.key)) in dm_table_set_restrictions()
Ddm-stats.c403 if (!static_key_enabled(&stats_enabled.key)) in dm_stats_create()
/Linux-v6.1/Documentation/staging/
Dstatic-keys.rst152 The state and the reference count can be retrieved with 'static_key_enabled()'
/Linux-v6.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h821 if (static_key_enabled(&ixgbe_xdp_locking_key)) in ixgbe_determine_xdp_q_idx()
Dixgbe_lib.c1038 if (static_key_enabled(&ixgbe_xdp_locking_key)) in ixgbe_free_q_vector()
/Linux-v6.1/crypto/
Dalgapi.c436 test_started = static_key_enabled(&crypto_boot_test_finished); in crypto_register_alg()
/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_main.c2652 if (static_key_enabled(&ice_xdp_locking_key)) in ice_prepare_xdp_rings()
2679 if (static_key_enabled(&ice_xdp_locking_key)) { in ice_prepare_xdp_rings()
2802 if (static_key_enabled(&ice_xdp_locking_key)) in ice_destroy_xdp_rings()
/Linux-v6.1/kernel/cgroup/
Dcgroup.c264 return static_key_enabled(cgroup_subsys_enabled_key[ssid]); in cgroup_ssid_enabled()
/Linux-v6.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c10501 if (!static_key_enabled(&bnxt_xdp_locking_key)) in __bnxt_open_nic()
10503 } else if (static_key_enabled(&bnxt_xdp_locking_key)) { in __bnxt_open_nic()