Home
last modified time | relevance | path

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

12

/Linux-v4.19/include/linux/
Djump_label.h91 struct static_key { struct
114 struct static_key { struct
140 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
145 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
162 extern void static_key_slow_inc(struct static_key *key);
163 extern void static_key_slow_dec(struct static_key *key);
164 extern void static_key_slow_inc_cpuslocked(struct static_key *key);
165 extern void static_key_slow_dec_cpuslocked(struct static_key *key);
167 extern int static_key_count(struct static_key *key);
168 extern void static_key_enable(struct static_key *key);
[all …]
Djump_label_ratelimit.h10 struct static_key key;
24 struct static_key key;
Dtracepoint-defs.h32 struct static_key key;
/Linux-v4.19/kernel/
Djump_label.c60 static void jump_label_update(struct static_key *key);
71 int static_key_count(struct static_key *key) in static_key_count()
83 void static_key_slow_inc_cpuslocked(struct static_key *key) in static_key_slow_inc_cpuslocked()
122 void static_key_slow_inc(struct static_key *key) in static_key_slow_inc()
130 void static_key_enable_cpuslocked(struct static_key *key) in static_key_enable_cpuslocked()
152 void static_key_enable(struct static_key *key) in static_key_enable()
160 void static_key_disable_cpuslocked(struct static_key *key) in static_key_disable_cpuslocked()
176 void static_key_disable(struct static_key *key) in static_key_disable()
184 static void __static_key_slow_dec_cpuslocked(struct static_key *key, in __static_key_slow_dec_cpuslocked()
210 static void __static_key_slow_dec(struct static_key *key, in __static_key_slow_dec()
[all …]
/Linux-v4.19/lib/
Dtest_static_keys.c23 struct static_key old_true_key = STATIC_KEY_INIT_TRUE;
24 struct static_key old_false_key = STATIC_KEY_INIT_FALSE;
31 extern struct static_key base_old_true_key;
32 extern struct static_key base_inv_old_true_key;
33 extern struct static_key base_old_false_key;
34 extern struct static_key base_inv_old_false_key;
45 struct static_key *key;
55 static void invert_key(struct static_key *key) in invert_key()
65 struct static_key *previous = NULL; in invert_keys()
Dtest_static_key_base.c23 struct static_key base_old_true_key = STATIC_KEY_INIT_TRUE;
25 struct static_key base_inv_old_true_key = STATIC_KEY_INIT_TRUE;
27 struct static_key base_old_false_key = STATIC_KEY_INIT_FALSE;
29 struct static_key base_inv_old_false_key = STATIC_KEY_INIT_FALSE;
42 static void invert_key(struct static_key *key) in invert_key()
Dcrc-t10dif.c20 static struct static_key crct10dif_fallback __read_mostly;
/Linux-v4.19/arch/arm/include/asm/
Dparavirt.h6 struct static_key;
7 extern struct static_key paravirt_steal_enabled;
8 extern struct static_key paravirt_steal_rq_enabled;
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-v4.19/arch/arm64/include/asm/
Dparavirt.h6 struct static_key;
7 extern struct static_key paravirt_steal_enabled;
8 extern struct static_key paravirt_steal_rq_enabled;
Djump_label.h29 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch()
43 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump()
/Linux-v4.19/arch/arm/kernel/
Dparavirt.c21 struct static_key paravirt_steal_enabled;
22 struct static_key paravirt_steal_rq_enabled;
/Linux-v4.19/arch/arm64/kernel/
Dparavirt.c21 struct static_key paravirt_steal_enabled;
22 struct static_key paravirt_steal_rq_enabled;
/Linux-v4.19/arch/sparc/include/asm/
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-v4.19/arch/s390/include/asm/
Djump_label.h17 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch()
31 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump()
/Linux-v4.19/arch/mips/include/asm/
Djump_label.h29 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch()
43 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump()
/Linux-v4.19/arch/powerpc/include/asm/
Djump_label.h22 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch()
36 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump()
Dasm-prototypes.h37 extern struct static_key hcall_tracepoint_key;
42 extern struct static_key opal_tracepoint_key;
/Linux-v4.19/arch/x86/include/asm/
Djump_label.h34 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch()
49 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump()
Dparavirt.h178 struct static_key;
179 extern struct static_key paravirt_steal_enabled;
180 extern struct static_key paravirt_steal_rq_enabled;
/Linux-v4.19/arch/powerpc/platforms/powernv/
Dopal-tracepoints.c8 struct static_key opal_tracepoint_key = STATIC_KEY_INIT;
/Linux-v4.19/Documentation/
Dstatic-keys.txt9 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-v4.19/arch/x86/kernel/
Dparavirt.c215 struct static_key paravirt_steal_enabled;
216 struct static_key paravirt_steal_rq_enabled;
/Linux-v4.19/arch/x86/kvm/
Dlapic.h155 extern struct static_key kvm_no_apic_vcpu;
Dmmu_audit.c240 static struct static_key mmu_audit_key;

12