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

1234

/linux-master/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,
35 static __always_inline bool arch_static_branch_jump(struct static_key * const key,
/linux-master/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;
H A Djump_label.h12 static __always_inline bool arch_static_branch(struct static_key *key, bool branch)
26 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch)
/linux-master/arch/riscv/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.h17 static __always_inline bool arch_static_branch(struct static_key * const key,
39 static __always_inline bool arch_static_branch_jump(struct static_key * const key,
/linux-master/include/linux/sched/
H A Dsmt.h5 #include <linux/static_key.h>
/linux-master/arch/arm/kernel/
H A Dparavirt.c15 struct static_key paravirt_steal_enabled;
16 struct static_key paravirt_steal_rq_enabled;
/linux-master/arch/loongarch/include/asm/
H A Djump_label.h23 static __always_inline bool arch_static_branch(struct static_key * const key, const bool branch)
36 static __always_inline bool arch_static_branch_jump(struct static_key * const key, const bool branch)
/linux-master/lib/
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)
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)
57 struct static_key *previous = NULL;
/linux-master/arch/x86/include/asm/
H A Djump_label.h25 static __always_inline bool arch_static_branch(struct static_key *key, bool branch)
39 static __always_inline bool arch_static_branch(struct static_key * const key, const bool branch)
53 static __always_inline bool arch_static_branch_jump(struct static_key * const key, const bool branch)
/linux-master/include/linux/
H A Dkasan-enabled.h5 #include <linux/static_key.h>
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)
137 return (struct static_key *)((unsigned long)&entry->key + offset);
152 static inline struct static_key *jump_entry_key(const struct jump_entry *entry)
154 return (struct static_key *)((unsigned long)entry->key & ~3UL);
205 static __always_inline bool static_key_false(struct static_key *key)
210 static __always_inline bool static_key_true(struct static_key *ke
[all...]
H A Dtracepoint-defs.h12 #include <linux/static_key.h>
34 struct static_key key;
/linux-master/arch/sparc/include/asm/
H A Djump_label.h11 static __always_inline bool arch_static_branch(struct static_key *key, bool branch)
27 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch)
/linux-master/arch/arc/include/asm/
H A Djump_label.h31 static __always_inline bool arch_static_branch(struct static_key *key,
47 static __always_inline bool arch_static_branch_jump(struct static_key *key,
/linux-master/arch/csky/include/asm/
H A Djump_label.h12 static __always_inline bool arch_static_branch(struct static_key *key,
29 static __always_inline bool arch_static_branch_jump(struct static_key *key,
/linux-master/arch/parisc/include/asm/
H A Djump_label.h13 static __always_inline bool arch_static_branch(struct static_key *key, bool branch)
30 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch)
/linux-master/arch/s390/include/asm/
H A Djump_label.h26 static __always_inline bool arch_static_branch(struct static_key *key, bool branch)
40 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch)
/linux-master/arch/xtensa/include/asm/
H A Djump_label.h13 static __always_inline bool arch_static_branch(struct static_key *key,
28 static __always_inline bool arch_static_branch_jump(struct static_key *key,
/linux-master/arch/powerpc/include/asm/
H A Djump_label.h18 static __always_inline bool arch_static_branch(struct static_key *key, bool branch)
33 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch)
/linux-master/arch/s390/crypto/
H A Darch_random.c12 #include <linux/static_key.h>
/linux-master/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)
127 bool static_key_fast_inc_not_disabled(struct static_key *key)
148 bool static_key_slow_inc_cpuslocked(struct static_key *key)
181 bool static_key_slow_inc(struct static_key *key)
192 void static_key_enable_cpuslocked(struct static_key *key)
215 void static_key_enable(struct static_key *key)
223 void static_key_disable_cpuslocked(struct static_key *key)
240 void static_key_disable(struct static_key *ke
[all...]
/linux-master/arch/mips/include/asm/
H A Djump_label.h40 static __always_inline bool arch_static_branch(struct static_key *key, bool branch)
54 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch)

Completed in 257 milliseconds

1234