Home
last modified time | relevance | path

Searched refs:static_key (Results 1 – 25 of 44) sorted by relevance

12

/linux-6.3-rc2/include/linux/
A Djump_label.h85 struct static_key { struct
227 extern bool static_key_slow_inc(struct static_key *key);
229 extern void static_key_slow_dec(struct static_key *key);
232 extern int static_key_count(struct static_key *key);
233 extern void static_key_enable(struct static_key *key);
234 extern void static_key_disable(struct static_key *key);
317 static inline void static_key_enable(struct static_key *key) in static_key_enable()
328 static inline void static_key_disable(struct static_key *key) in static_key_disable()
360 struct static_key key;
364 struct static_key key;
[all …]
A Djump_label_ratelimit.h10 struct static_key key;
36 __static_key_slow_dec_deferred(struct static_key *key,
65 struct static_key key;
A Dtracepoint-defs.h34 struct static_key key;
/linux-6.3-rc2/kernel/
A Djump_label.c104 int static_key_count(struct static_key *key) in static_key_count()
181 bool static_key_slow_inc(struct static_key *key) in static_key_slow_inc()
215 void static_key_enable(struct static_key *key) in static_key_enable()
240 void static_key_disable(struct static_key *key) in static_key_disable()
295 void static_key_slow_dec(struct static_key *key) in static_key_slow_dec()
419 struct static_key *key = jump_entry_key(entry); in jump_label_type()
491 struct static_key *key = NULL; in jump_label_init()
511 struct static_key *iterk; in jump_label_init()
628 struct static_key *key = NULL; in jump_label_add_module()
638 struct static_key *iterk; in jump_label_add_module()
[all …]
/linux-6.3-rc2/lib/
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()
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()
/linux-6.3-rc2/arch/arm/include/asm/
A Dparavirt.h8 struct static_key;
9 extern struct static_key paravirt_steal_enabled;
10 extern struct static_key paravirt_steal_rq_enabled;
A Djump_label.h12 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.3-rc2/arch/arm64/include/asm/
A Dparavirt.h8 struct static_key;
9 extern struct static_key paravirt_steal_enabled;
10 extern struct static_key paravirt_steal_rq_enabled;
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()
/linux-6.3-rc2/arch/x86/include/asm/
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 branc… in arch_static_branch_jump()
/linux-6.3-rc2/arch/arm/kernel/
A Dparavirt.c15 struct static_key paravirt_steal_enabled;
16 struct static_key paravirt_steal_rq_enabled;
/linux-6.3-rc2/arch/csky/include/asm/
A Djump_label.h12 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.3-rc2/arch/riscv/include/asm/
A Djump_label.h17 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.3-rc2/arch/parisc/include/asm/
A Djump_label.h13 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch()
28 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump()
/linux-6.3-rc2/arch/xtensa/include/asm/
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()
/linux-6.3-rc2/arch/sparc/include/asm/
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()
/linux-6.3-rc2/arch/s390/include/asm/
A Djump_label.h26 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.3-rc2/arch/arc/include/asm/
A Djump_label.h31 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.3-rc2/arch/powerpc/include/asm/
A Djump_label.h18 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()
A Dparavirt.h25 extern struct static_key paravirt_steal_enabled;
26 extern struct static_key paravirt_steal_rq_enabled;
/linux-6.3-rc2/arch/mips/include/asm/
A Djump_label.h37 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.3-rc2/arch/arm64/kernel/
A Dparavirt.c27 struct static_key paravirt_steal_enabled;
28 struct static_key paravirt_steal_rq_enabled;
/linux-6.3-rc2/Documentation/staging/
A Dstatic-keys.rst9 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)``,
/linux-6.3-rc2/arch/powerpc/platforms/powernv/
A Dopal-tracepoints.c7 struct static_key opal_tracepoint_key = STATIC_KEY_INIT;

Completed in 23 milliseconds

12