Home
last modified time | relevance | path

Searched refs:static_key (Results 1 - 25 of 147) sorted by relevance

123456

/kernel/linux/linux-5.10/include/linux/
H A Djump_label.h13 * The use of 'struct static_key' directly, is now DEPRECATED. In addition
16 * struct static_key false = STATIC_KEY_INIT_FALSE;
17 * struct static_key true = STATIC_KEY_INIT_TRUE;
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 *ke
[all...]
H A Djump_label_ratelimit.h10 struct static_key key;
36 __static_key_slow_dec_deferred(struct static_key *key,
65 struct static_key key;
/kernel/linux/linux-6.6/include/linux/
H A Djump_label.h13 * The use of 'struct static_key' directly, is now DEPRECATED. In addition
16 * struct static_key false = STATIC_KEY_INIT_FALSE;
17 * struct static_key true = STATIC_KEY_INIT_TRUE;
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 *ke
[all...]
H A Djump_label_ratelimit.h10 struct static_key key;
36 __static_key_slow_dec_deferred(struct static_key *key,
65 struct static_key key;
/kernel/linux/linux-6.6/kernel/
H A Djump_label.c16 #include <linux/static_key.h>
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 *ke
[all...]
/kernel/linux/linux-5.10/kernel/
H A Djump_label.c16 #include <linux/static_key.h>
93 static void jump_label_update(struct static_key *key);
104 int static_key_count(struct static_key *key) in static_key_count()
116 void static_key_slow_inc_cpuslocked(struct static_key *key) in static_key_slow_inc_cpuslocked()
156 void static_key_slow_inc(struct static_key *key) in static_key_slow_inc()
164 void static_key_enable_cpuslocked(struct static_key *key) in static_key_enable_cpuslocked()
187 void static_key_enable(struct static_key *key) in static_key_enable()
195 void static_key_disable_cpuslocked(struct static_key *key) in static_key_disable_cpuslocked()
212 void static_key_disable(struct static_key *key) in static_key_disable()
220 static bool static_key_slow_try_dec(struct static_key *ke
[all...]
/kernel/linux/linux-5.10/lib/
H A Dtest_static_keys.c15 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()
H A Dtest_static_key_base.c15 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()
/kernel/linux/linux-6.6/lib/
H A Dtest_static_keys.c15 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()
H A Dtest_static_key_base.c15 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()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Dparavirt.h6 struct static_key;
7 extern struct static_key paravirt_steal_enabled;
8 extern struct static_key paravirt_steal_rq_enabled;
H A Djump_label.h18 static __always_inline bool arch_static_branch(struct static_key *key, in arch_static_branch()
35 static __always_inline bool arch_static_branch_jump(struct static_key *key, in arch_static_branch_jump()
/kernel/linux/linux-5.10/arch/arm/include/asm/
H A Dparavirt.h6 struct static_key;
7 extern struct static_key paravirt_steal_enabled;
8 extern struct static_key paravirt_steal_rq_enabled;
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Dparavirt.h8 struct static_key;
9 extern struct static_key paravirt_steal_enabled;
10 extern struct static_key paravirt_steal_rq_enabled;
H A Djump_label.h18 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()
/kernel/linux/linux-6.6/arch/arm/include/asm/
H A Dparavirt.h8 struct static_key;
9 extern struct static_key paravirt_steal_enabled;
10 extern struct static_key paravirt_steal_rq_enabled;
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Djump_label.h25 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 branch) in arch_static_branch_jump()
/kernel/linux/linux-5.10/arch/arm/kernel/
H A Dparavirt.c14 struct static_key paravirt_steal_enabled;
15 struct static_key paravirt_steal_rq_enabled;
/kernel/linux/linux-5.10/arch/loongarch/include/asm/
H A Dparavirt.h11 struct static_key;
12 extern struct static_key paravirt_steal_enabled;
13 extern struct static_key paravirt_steal_rq_enabled;
/kernel/linux/linux-6.6/arch/loongarch/include/asm/
H A Djump_label.h23 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 branch) in arch_static_branch_jump()
/kernel/linux/linux-6.6/arch/arm/kernel/
H A Dparavirt.c15 struct static_key paravirt_steal_enabled;
16 struct static_key paravirt_steal_rq_enabled;
/kernel/linux/linux-5.10/arch/xtensa/include/asm/
H A Djump_label.h13 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()
/kernel/linux/linux-5.10/arch/parisc/include/asm/
H A Djump_label.h12 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()
/kernel/linux/linux-5.10/arch/riscv/include/asm/
H A Djump_label.h17 static __always_inline bool arch_static_branch(struct static_key *key, in arch_static_branch()
39 static __always_inline bool arch_static_branch_jump(struct static_key *key, in arch_static_branch_jump()
/kernel/linux/linux-5.10/arch/sparc/include/asm/
H A Djump_label.h11 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()

Completed in 8 milliseconds

123456