Home
last modified time | relevance | path

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

/linux-3.4.99/include/linux/
Djump_label.h219 #define jump_label_enabled static_key_enabled
221 static inline bool static_key_enabled(struct static_key *key) in static_key_enabled() function
/linux-3.4.99/kernel/
Dtracepoint.c259 if (elem->regfunc && !static_key_enabled(&elem->key) && active) in set_tracepoint()
261 else if (elem->unregfunc && static_key_enabled(&elem->key) && !active) in set_tracepoint()
272 if (active && !static_key_enabled(&elem->key)) in set_tracepoint()
274 else if (!active && static_key_enabled(&elem->key)) in set_tracepoint()
286 if (elem->unregfunc && static_key_enabled(&elem->key)) in disable_tracepoint()
289 if (static_key_enabled(&elem->key)) in disable_tracepoint()
Djump_label.c178 bool state = static_key_enabled(key); in jump_label_type()
/linux-3.4.99/kernel/sched/
Dcore.c181 if (static_key_enabled(&sched_feat_keys[i])) in sched_feat_disable()
187 if (!static_key_enabled(&sched_feat_keys[i])) in sched_feat_enable()