Home
last modified time | relevance | path

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

/openbmc/linux/lib/
H 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()
H A Dtest_static_key_base.c36 if (static_key_enabled(key)) in invert_key()
H A Donce.c19 BUG_ON(!static_key_enabled(work->key)); in once_deferred()
/openbmc/linux/include/linux/
H 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))
/openbmc/linux/arch/powerpc/include/asm/
H A Dpercpu.h23 (static_key_enabled(&__percpu_first_chunk_is_paged.key))
/openbmc/linux/kernel/
H A Djump_label.c455 bool enabled = static_key_enabled(key); in jump_label_type()
876 WARN_ON(static_key_enabled(&sk_true.key) != true); in jump_label_test()
877 WARN_ON(static_key_enabled(&sk_false.key) != false); in jump_label_test()
887 WARN_ON(static_key_enabled(&sk_true.key) == true); in jump_label_test()
888 WARN_ON(static_key_enabled(&sk_false.key) == false); in jump_label_test()
H 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()
H A Dsysctl.c1606 val = static_key_enabled(key); in proc_do_static_key()
/openbmc/linux/arch/s390/mm/
H 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()
H A Dvmem.c655 if (!static_key_enabled(&cpu_has_bear)) in vmem_map_init()
/openbmc/linux/mm/
H A Dpage_reporting.c390 if (!static_key_enabled(&page_reporting_enabled)) { in page_reporting_register()
/openbmc/linux/arch/x86/kernel/cpu/
H A Dbugs.c1385 static_key_enabled(&switch_mm_always_ibpb) ? in spectre_v2_user_select_mitigation()
2804 if (static_key_enabled(&switch_to_cond_stibp)) in stibp_state()
2813 if (static_key_enabled(&switch_mm_always_ibpb)) in ibpb_state()
2815 if (static_key_enabled(&switch_mm_cond_ibpb)) in ibpb_state()
/openbmc/linux/drivers/md/
H A 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()
H A Ddm-stats.c410 if (!static_key_enabled(&stats_enabled.key)) in dm_stats_create()
/openbmc/linux/Documentation/staging/
H A Dstatic-keys.rst152 The state and the reference count can be retrieved with 'static_key_enabled()'
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe.h828 if (static_key_enabled(&ixgbe_xdp_locking_key)) in ixgbe_determine_xdp_q_idx()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_main.c2683 if (static_key_enabled(&ice_xdp_locking_key)) in ice_prepare_xdp_rings()
2710 if (static_key_enabled(&ice_xdp_locking_key)) { in ice_prepare_xdp_rings()
2834 if (static_key_enabled(&ice_xdp_locking_key)) in ice_destroy_xdp_rings()
/openbmc/linux/kernel/cgroup/
H A Dcgroup.c271 return static_key_enabled(cgroup_subsys_enabled_key[ssid]); in cgroup_ssid_enabled()
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c10525 if (!static_key_enabled(&bnxt_xdp_locking_key)) in __bnxt_open_nic()
10527 } else if (static_key_enabled(&bnxt_xdp_locking_key)) { in __bnxt_open_nic()