Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Djump_label.h277 #define jump_label_enabled static_key_enabled
329 #define static_key_enabled(x) \ macro
422 #define static_branch_likely(x) likely(static_key_enabled(&(x)->key))
423 #define static_branch_unlikely(x) unlikely(static_key_enabled(&(x)->key))
/Linux-v4.19/lib/
Dtest_static_keys.c57 if (static_key_enabled(key)) in invert_key()
82 ret = static_key_enabled(keys[i].key); in verify_keys()
87 if (static_key_enabled(keys[i].key)) { in verify_keys()
Dtest_static_key_base.c44 if (static_key_enabled(key)) in invert_key()
Donce.c17 BUG_ON(!static_key_enabled(work->key)); in once_deferred()
/Linux-v4.19/kernel/
Dtracepoint.c246 if (tp->regfunc && !static_key_enabled(&tp->key)) { in tracepoint_add_func()
267 if (!static_key_enabled(&tp->key)) in tracepoint_add_func()
294 if (tp->unregfunc && static_key_enabled(&tp->key)) in tracepoint_remove_func()
297 if (static_key_enabled(&tp->key)) in tracepoint_remove_func()
Djump_label.c357 bool enabled = static_key_enabled(key); in jump_label_type()
772 WARN_ON(static_key_enabled(&sk_true.key) != true); in jump_label_test()
773 WARN_ON(static_key_enabled(&sk_false.key) != false); in jump_label_test()
783 WARN_ON(static_key_enabled(&sk_true.key) == true); in jump_label_test()
784 WARN_ON(static_key_enabled(&sk_false.key) == false); in jump_label_test()
/Linux-v4.19/Documentation/
Dstatic-keys.txt152 The state and the reference count can be retrieved with 'static_key_enabled()'
/Linux-v4.19/kernel/cgroup/
Dcgroup.c238 return static_key_enabled(cgroup_subsys_enabled_key[ssid]); in cgroup_ssid_enabled()
/Linux-v4.19/net/core/
Ddev.c2223 if (static_key_enabled(&xps_rxqs_needed)) in netif_reset_xps_queues()