Lines Matching refs:static_key
85 struct static_key { struct
133 static inline struct static_key *jump_entry_key(const struct jump_entry *entry) in jump_entry_key()
137 return (struct static_key *)((unsigned long)&entry->key + offset); in jump_entry_key()
152 static inline struct static_key *jump_entry_key(const struct jump_entry *entry) in jump_entry_key()
154 return (struct static_key *)((unsigned long)entry->key & ~3UL); in jump_entry_key()
202 static inline int static_key_count(struct static_key *key) in static_key_count()
207 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
214 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
228 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
233 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
251 extern bool static_key_slow_inc(struct static_key *key);
252 extern bool static_key_fast_inc_not_disabled(struct static_key *key);
253 extern void static_key_slow_dec(struct static_key *key);
254 extern bool static_key_slow_inc_cpuslocked(struct static_key *key);
255 extern void static_key_slow_dec_cpuslocked(struct static_key *key);
256 extern int static_key_count(struct static_key *key);
257 extern void static_key_enable(struct static_key *key);
258 extern void static_key_disable(struct static_key *key);
259 extern void static_key_enable_cpuslocked(struct static_key *key);
260 extern void static_key_disable_cpuslocked(struct static_key *key);
282 static __always_inline int static_key_count(struct static_key *key) in static_key_count()
294 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
301 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
308 static inline bool static_key_fast_inc_not_disabled(struct static_key *key) in static_key_fast_inc_not_disabled()
326 static inline void static_key_slow_dec(struct static_key *key) in static_key_slow_dec()
343 static inline void static_key_enable(struct static_key *key) in static_key_enable()
354 static inline void static_key_disable(struct static_key *key) in static_key_disable()
386 struct static_key key;
390 struct static_key key;
443 if (!__builtin_types_compatible_p(typeof(*x), struct static_key) && \
447 static_key_count((struct static_key *)x) > 0; \