Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
Djump_label.h335 #define jump_label_enabled static_key_enabled
387 #define static_key_enabled(x) \ macro
480 #define static_branch_likely(x) likely(static_key_enabled(&(x)->key))
481 #define static_branch_unlikely(x) unlikely(static_key_enabled(&(x)->key))
/Linux-v5.10/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.c17 BUG_ON(!static_key_enabled(work->key)); in once_deferred()
/Linux-v5.10/kernel/
Djump_label.c394 bool enabled = static_key_enabled(key); in jump_label_type()
827 WARN_ON(static_key_enabled(&sk_true.key) != true); in jump_label_test()
828 WARN_ON(static_key_enabled(&sk_false.key) != false); in jump_label_test()
838 WARN_ON(static_key_enabled(&sk_true.key) == true); in jump_label_test()
839 WARN_ON(static_key_enabled(&sk_false.key) == false); in jump_label_test()
Dtracepoint.c256 if (tp->regfunc && !static_key_enabled(&tp->key)) { in tracepoint_add_func()
305 if (tp->unregfunc && static_key_enabled(&tp->key)) in tracepoint_remove_func()
Dsysctl.c1642 val = static_key_enabled(key); in proc_do_static_key()
/Linux-v5.10/arch/x86/kernel/cpu/
Dbugs.c760 static_key_enabled(&switch_mm_always_ibpb) ? in spectre_v2_user_select_mitigation()
1636 if (static_key_enabled(&switch_to_cond_stibp)) in stibp_state()
1645 if (static_key_enabled(&switch_mm_always_ibpb)) in ibpb_state()
1647 if (static_key_enabled(&switch_mm_cond_ibpb)) in ibpb_state()
/Linux-v5.10/mm/
Dpage_reporting.c338 if (!static_key_enabled(&page_reporting_enabled)) { in page_reporting_register()
/Linux-v5.10/Documentation/staging/
Dstatic-keys.rst152 The state and the reference count can be retrieved with 'static_key_enabled()'
/Linux-v5.10/kernel/cgroup/
Dcgroup.c238 return static_key_enabled(cgroup_subsys_enabled_key[ssid]); in cgroup_ssid_enabled()