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()
195 static inline int static_key_count(struct static_key *key) in static_key_count()
200 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
207 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
221 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
226 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
245 extern void static_key_slow_inc(struct static_key *key);
246 extern void static_key_slow_dec(struct static_key *key);
247 extern void static_key_slow_inc_cpuslocked(struct static_key *key);
248 extern void static_key_slow_dec_cpuslocked(struct static_key *key);
250 extern int static_key_count(struct static_key *key);
251 extern void static_key_enable(struct static_key *key);
252 extern void static_key_disable(struct static_key *key);
253 extern void static_key_enable_cpuslocked(struct static_key *key);
254 extern void static_key_disable_cpuslocked(struct static_key *key);
275 static __always_inline int static_key_count(struct static_key *key) in static_key_count()
285 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
292 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
299 static inline void static_key_slow_inc(struct static_key *key) in static_key_slow_inc()
305 static inline void static_key_slow_dec(struct static_key *key) in static_key_slow_dec()
327 static inline void static_key_enable(struct static_key *key) in static_key_enable()
338 static inline void static_key_disable(struct static_key *key) in static_key_disable()
370 struct static_key key;
374 struct static_key key;
412 if (!__builtin_types_compatible_p(typeof(*x), struct static_key) && \
416 static_key_count((struct static_key *)x) > 0; \