/linux-6.6.21/include/linux/ |
D | jump_label.h | 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() 205 static __always_inline bool static_key_false(struct static_key *key) in static_key_false() 210 static __always_inline bool static_key_true(struct static_key *key) in static_key_true() 227 extern bool static_key_slow_inc(struct static_key *key); 228 extern bool static_key_fast_inc_not_disabled(struct static_key *key); 229 extern void static_key_slow_dec(struct static_key *key); [all …]
|
D | jump_label_ratelimit.h | 10 struct static_key key; 36 __static_key_slow_dec_deferred(struct static_key *key, 65 struct static_key key;
|
D | tracepoint-defs.h | 34 struct static_key key;
|
/linux-6.6.21/kernel/ |
D | jump_label.c | 93 static void jump_label_update(struct static_key *key); 104 int static_key_count(struct static_key *key) in static_key_count() 127 bool static_key_fast_inc_not_disabled(struct static_key *key) in static_key_fast_inc_not_disabled() 148 bool static_key_slow_inc_cpuslocked(struct static_key *key) in static_key_slow_inc_cpuslocked() 181 bool static_key_slow_inc(struct static_key *key) in static_key_slow_inc() 192 void static_key_enable_cpuslocked(struct static_key *key) in static_key_enable_cpuslocked() 215 void static_key_enable(struct static_key *key) in static_key_enable() 223 void static_key_disable_cpuslocked(struct static_key *key) in static_key_disable_cpuslocked() 240 void static_key_disable(struct static_key *key) in static_key_disable() 248 static bool static_key_slow_try_dec(struct static_key *key) in static_key_slow_try_dec() [all …]
|
/linux-6.6.21/lib/ |
D | test_static_keys.c | 15 struct static_key old_true_key = STATIC_KEY_INIT_TRUE; 16 struct static_key old_false_key = STATIC_KEY_INIT_FALSE; 23 extern struct static_key base_old_true_key; 24 extern struct static_key base_inv_old_true_key; 25 extern struct static_key base_old_false_key; 26 extern struct static_key base_inv_old_false_key; 37 struct static_key *key; 47 static void invert_key(struct static_key *key) in invert_key() 57 struct static_key *previous = NULL; in invert_keys()
|
D | test_static_key_base.c | 15 struct static_key base_old_true_key = STATIC_KEY_INIT_TRUE; 17 struct static_key base_inv_old_true_key = STATIC_KEY_INIT_TRUE; 19 struct static_key base_old_false_key = STATIC_KEY_INIT_FALSE; 21 struct static_key base_inv_old_false_key = STATIC_KEY_INIT_FALSE; 34 static void invert_key(struct static_key *key) in invert_key()
|
/linux-6.6.21/arch/arm/include/asm/ |
D | paravirt.h | 8 struct static_key; 9 extern struct static_key paravirt_steal_enabled; 10 extern struct static_key paravirt_steal_rq_enabled;
|
D | jump_label.h | 12 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() 26 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump()
|
/linux-6.6.21/arch/arm64/include/asm/ |
D | paravirt.h | 8 struct static_key; 9 extern struct static_key paravirt_steal_enabled; 10 extern struct static_key paravirt_steal_rq_enabled;
|
D | jump_label.h | 18 static __always_inline bool arch_static_branch(struct static_key * const key, in arch_static_branch() 35 static __always_inline bool arch_static_branch_jump(struct static_key * const key, in arch_static_branch_jump()
|
/linux-6.6.21/arch/x86/include/asm/ |
D | jump_label.h | 25 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() 39 static __always_inline bool arch_static_branch(struct static_key * const key, const bool branch) in arch_static_branch() 53 static __always_inline bool arch_static_branch_jump(struct static_key * const key, const bool branc… in arch_static_branch_jump()
|
/linux-6.6.21/arch/arm/kernel/ |
D | paravirt.c | 15 struct static_key paravirt_steal_enabled; 16 struct static_key paravirt_steal_rq_enabled;
|
/linux-6.6.21/arch/loongarch/include/asm/ |
D | jump_label.h | 23 static __always_inline bool arch_static_branch(struct static_key * const key, const bool branch) in arch_static_branch() 36 static __always_inline bool arch_static_branch_jump(struct static_key * const key, const bool branc… in arch_static_branch_jump()
|
/linux-6.6.21/arch/riscv/include/asm/ |
D | jump_label.h | 17 static __always_inline bool arch_static_branch(struct static_key * const key, in arch_static_branch() 39 static __always_inline bool arch_static_branch_jump(struct static_key * const key, in arch_static_branch_jump()
|
/linux-6.6.21/arch/parisc/include/asm/ |
D | jump_label.h | 13 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() 30 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump()
|
/linux-6.6.21/arch/csky/include/asm/ |
D | jump_label.h | 12 static __always_inline bool arch_static_branch(struct static_key *key, in arch_static_branch() 29 static __always_inline bool arch_static_branch_jump(struct static_key *key, in arch_static_branch_jump()
|
/linux-6.6.21/arch/xtensa/include/asm/ |
D | jump_label.h | 13 static __always_inline bool arch_static_branch(struct static_key *key, in arch_static_branch() 28 static __always_inline bool arch_static_branch_jump(struct static_key *key, in arch_static_branch_jump()
|
/linux-6.6.21/arch/sparc/include/asm/ |
D | jump_label.h | 11 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() 27 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump()
|
/linux-6.6.21/arch/s390/include/asm/ |
D | jump_label.h | 26 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() 40 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump()
|
/linux-6.6.21/arch/arc/include/asm/ |
D | jump_label.h | 31 static __always_inline bool arch_static_branch(struct static_key *key, in arch_static_branch() 47 static __always_inline bool arch_static_branch_jump(struct static_key *key, in arch_static_branch_jump()
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | jump_label.h | 18 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() 33 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump()
|
D | paravirt.h | 26 extern struct static_key paravirt_steal_enabled; 27 extern struct static_key paravirt_steal_rq_enabled;
|
/linux-6.6.21/arch/mips/include/asm/ |
D | jump_label.h | 37 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() 51 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump()
|
/linux-6.6.21/arch/arm64/kernel/ |
D | paravirt.c | 27 struct static_key paravirt_steal_enabled; 28 struct static_key paravirt_steal_rq_enabled;
|
/linux-6.6.21/Documentation/staging/ |
D | static-keys.rst | 9 The use of 'struct static_key' directly, is now DEPRECATED. In addition 12 struct static_key false = STATIC_KEY_INIT_FALSE; 13 struct static_key true = STATIC_KEY_INIT_TRUE; 187 static_key->entry field makes use of the two least significant bits. 195 * ``__always_inline bool arch_static_branch(struct static_key *key, bool branch)``, 198 * ``__always_inline bool arch_static_branch_jump(struct static_key *key, bool branch)``,
|