Lines Matching refs:static_key

87 struct static_key {  struct
110 struct static_key { struct
138 static inline struct static_key *jump_entry_key(const struct jump_entry *entry) in jump_entry_key()
142 return (struct static_key *)((unsigned long)&entry->key + offset); in jump_entry_key()
157 static inline struct static_key *jump_entry_key(const struct jump_entry *entry) in jump_entry_key()
159 return (struct static_key *)((unsigned long)entry->key & ~3UL); in jump_entry_key()
198 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
203 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
222 extern void static_key_slow_inc(struct static_key *key);
223 extern void static_key_slow_dec(struct static_key *key);
224 extern void static_key_slow_inc_cpuslocked(struct static_key *key);
225 extern void static_key_slow_dec_cpuslocked(struct static_key *key);
227 extern int static_key_count(struct static_key *key);
228 extern void static_key_enable(struct static_key *key);
229 extern void static_key_disable(struct static_key *key);
230 extern void static_key_enable_cpuslocked(struct static_key *key);
231 extern void static_key_disable_cpuslocked(struct static_key *key);
252 static inline int static_key_count(struct static_key *key) in static_key_count()
262 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
269 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
276 static inline void static_key_slow_inc(struct static_key *key) in static_key_slow_inc()
282 static inline void static_key_slow_dec(struct static_key *key) in static_key_slow_dec()
304 static inline void static_key_enable(struct static_key *key) in static_key_enable()
315 static inline void static_key_disable(struct static_key *key) in static_key_disable()
347 struct static_key key;
351 struct static_key key;
389 if (!__builtin_types_compatible_p(typeof(*x), struct static_key) && \
393 static_key_count((struct static_key *)x) > 0; \