Lines Matching refs:static_key

86 struct static_key {  struct
134 static inline struct static_key *jump_entry_key(const struct jump_entry *entry) in jump_entry_key()
138 return (struct static_key *)((unsigned long)&entry->key + offset); in jump_entry_key()
153 static inline struct static_key *jump_entry_key(const struct jump_entry *entry) in jump_entry_key()
155 return (struct static_key *)((unsigned long)entry->key & ~3UL); in jump_entry_key()
206 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
211 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
229 extern bool static_key_slow_inc(struct static_key *key);
230 extern bool static_key_fast_inc_not_disabled(struct static_key *key);
231 extern void static_key_slow_dec(struct static_key *key);
232 extern bool static_key_slow_inc_cpuslocked(struct static_key *key);
233 extern void static_key_slow_dec_cpuslocked(struct static_key *key);
234 extern int static_key_count(struct static_key *key);
235 extern void static_key_enable(struct static_key *key);
236 extern void static_key_disable(struct static_key *key);
237 extern void static_key_enable_cpuslocked(struct static_key *key);
238 extern void static_key_disable_cpuslocked(struct static_key *key);
260 static __always_inline int static_key_count(struct static_key *key) in static_key_count()
272 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
279 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
286 static inline bool static_key_fast_inc_not_disabled(struct static_key *key) in static_key_fast_inc_not_disabled()
304 static inline void static_key_slow_dec(struct static_key *key) in static_key_slow_dec()
321 static inline void static_key_enable(struct static_key *key) in static_key_enable()
332 static inline void static_key_disable(struct static_key *key) in static_key_disable()
366 struct static_key key;
370 struct static_key key;
423 if (!__builtin_types_compatible_p(typeof(*x), struct static_key) && \
427 static_key_count((struct static_key *)x) > 0; \