Symbol: static_key
arch/arc/include/asm/jump_label.h
31
static __always_inline bool arch_static_branch(struct static_key *key,
arch/arc/include/asm/jump_label.h
47
static __always_inline bool arch_static_branch_jump(struct static_key *key,
arch/arm/include/asm/jump_label.h
20
static __always_inline bool arch_static_branch(struct static_key *key, bool branch)
arch/arm/include/asm/jump_label.h
30
static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch)
arch/arm64/include/asm/jump_label.h
31
static __always_inline bool arch_static_branch(struct static_key * const key,
arch/arm64/include/asm/jump_label.h
46
static __always_inline bool arch_static_branch_jump(struct static_key * const key,
arch/csky/include/asm/jump_label.h
12
static __always_inline bool arch_static_branch(struct static_key *key,
arch/csky/include/asm/jump_label.h
29
static __always_inline bool arch_static_branch_jump(struct static_key *key,
arch/loongarch/include/asm/jump_label.h
38
static __always_inline bool arch_static_branch(struct static_key * const key, const bool branch)
arch/loongarch/include/asm/jump_label.h
50
static __always_inline bool arch_static_branch_jump(struct static_key * const key, const bool branch)
arch/mips/include/asm/jump_label.h
40
static __always_inline bool arch_static_branch(struct static_key *key, bool branch)
arch/mips/include/asm/jump_label.h
54
static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch)
arch/openrisc/include/asm/jump_label.h
43
static __always_inline bool arch_static_branch(struct static_key *const key,
arch/openrisc/include/asm/jump_label.h
61
arch_static_branch_jump(struct static_key *const key, const bool branch)
arch/parisc/include/asm/jump_label.h
13
static __always_inline bool arch_static_branch(struct static_key *key, bool branch)
arch/parisc/include/asm/jump_label.h
30
static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch)
arch/powerpc/include/asm/hvcall.h
595
extern struct static_key hcall_tracepoint_key;
arch/powerpc/include/asm/jump_label.h
18
static __always_inline bool arch_static_branch(struct static_key *key, bool branch)
arch/powerpc/include/asm/jump_label.h
33
static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch)
arch/powerpc/platforms/powernv/opal-tracepoints.c
7
struct static_key opal_tracepoint_key = STATIC_KEY_INIT;
arch/powerpc/platforms/pseries/lpar.c
1796
struct static_key hcall_tracepoint_key = STATIC_KEY_INIT;
arch/riscv/include/asm/jump_label.h
36
static __always_inline bool arch_static_branch(struct static_key * const key,
arch/riscv/include/asm/jump_label.h
57
static __always_inline bool arch_static_branch_jump(struct static_key * const key,
arch/s390/include/asm/jump_label.h
41
static __always_inline bool arch_static_branch(struct static_key *key, bool branch)
arch/s390/include/asm/jump_label.h
50
static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch)
arch/sparc/include/asm/jump_label.h
11
static __always_inline bool arch_static_branch(struct static_key *key, bool branch)
arch/sparc/include/asm/jump_label.h
27
static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch)
arch/x86/include/asm/jump_label.h
35
static __always_inline bool arch_static_branch(struct static_key * const key, const bool branch)
arch/x86/include/asm/jump_label.h
45
static __always_inline bool arch_static_branch_jump(struct static_key * const key, const bool branch)
arch/x86/xen/multicalls.c
60
static struct static_key mc_debug __ro_after_init;
arch/xtensa/include/asm/jump_label.h
13
static __always_inline bool arch_static_branch(struct static_key *key,
arch/xtensa/include/asm/jump_label.h
28
static __always_inline bool arch_static_branch_jump(struct static_key *key,
drivers/net/wireless/intel/iwlegacy/3945-mac.c
2871
u8 static_key;
drivers/net/wireless/intel/iwlegacy/3945-mac.c
2890
static_key = !il_is_associated(il);
drivers/net/wireless/intel/iwlegacy/3945-mac.c
2892
if (!static_key) {
drivers/net/wireless/intel/iwlegacy/3945-mac.c
2905
if (static_key)
drivers/net/wireless/intel/iwlegacy/3945-mac.c
2912
if (static_key)
include/linux/jump_label.h
127
static inline struct static_key *jump_entry_key(const struct jump_entry *entry)
include/linux/jump_label.h
131
return (struct static_key *)((unsigned long)&entry->key + offset);
include/linux/jump_label.h
146
static inline struct static_key *jump_entry_key(const struct jump_entry *entry)
include/linux/jump_label.h
148
return (struct static_key *)((unsigned long)entry->key & ~3UL);
include/linux/jump_label.h
199
static __always_inline bool static_key_false(struct static_key *key)
include/linux/jump_label.h
204
static __always_inline bool static_key_true(struct static_key *key)
include/linux/jump_label.h
222
extern bool static_key_slow_inc(struct static_key *key);
include/linux/jump_label.h
223
extern bool static_key_fast_inc_not_disabled(struct static_key *key);
include/linux/jump_label.h
224
extern void static_key_slow_dec(struct static_key *key);
include/linux/jump_label.h
225
extern bool static_key_slow_inc_cpuslocked(struct static_key *key);
include/linux/jump_label.h
226
extern void static_key_slow_dec_cpuslocked(struct static_key *key);
include/linux/jump_label.h
227
extern int static_key_count(struct static_key *key);
include/linux/jump_label.h
228
extern void static_key_enable(struct static_key *key);
include/linux/jump_label.h
229
extern void static_key_disable(struct static_key *key);
include/linux/jump_label.h
230
extern void static_key_enable_cpuslocked(struct static_key *key);
include/linux/jump_label.h
231
extern void static_key_disable_cpuslocked(struct static_key *key);
include/linux/jump_label.h
246
static __always_inline int static_key_count(struct static_key *key)
include/linux/jump_label.h
258
static __always_inline bool static_key_false(struct static_key *key)
include/linux/jump_label.h
265
static __always_inline bool static_key_true(struct static_key *key)
include/linux/jump_label.h
272
static inline bool static_key_fast_inc_not_disabled(struct static_key *key)
include/linux/jump_label.h
290
static inline void static_key_slow_dec(struct static_key *key)
include/linux/jump_label.h
307
static inline void static_key_enable(struct static_key *key)
include/linux/jump_label.h
318
static inline void static_key_disable(struct static_key *key)
include/linux/jump_label.h
352
struct static_key key;
include/linux/jump_label.h
356
struct static_key key;
include/linux/jump_label.h
409
if (!__builtin_types_compatible_p(typeof(*x), struct static_key) && \
include/linux/jump_label.h
413
static_key_count((struct static_key *)x) > 0; \
include/linux/jump_label_ratelimit.h
10
struct static_key key;
include/linux/jump_label_ratelimit.h
36
__static_key_slow_dec_deferred(struct static_key *key,
include/linux/jump_label_ratelimit.h
65
struct static_key key;
include/linux/netfilter.h
212
extern struct static_key nf_hooks_needed[NFPROTO_NUMPROTO][NF_MAX_HOOKS];
include/linux/netfilter/x_tables.h
365
extern struct static_key xt_tee_enabled;
include/linux/perf_event.h
1572
extern struct static_key perf_swevent_enabled[PERF_COUNT_SW_MAX];
include/linux/sched/cputime.h
185
struct static_key;
include/linux/sched/cputime.h
186
extern struct static_key paravirt_steal_enabled;
include/linux/sched/cputime.h
187
extern struct static_key paravirt_steal_rq_enabled;
kernel/bpf/syscall.c
6710
struct static_key *key = (struct static_key *)table->data;
kernel/events/core.c
11249
struct static_key perf_swevent_enabled[PERF_COUNT_SW_MAX];
kernel/jump_label.c
104
int static_key_count(struct static_key *key)
kernel/jump_label.c
127
bool static_key_fast_inc_not_disabled(struct static_key *key)
kernel/jump_label.c
151
bool static_key_slow_inc_cpuslocked(struct static_key *key)
kernel/jump_label.c
186
bool static_key_slow_inc(struct static_key *key)
kernel/jump_label.c
197
void static_key_enable_cpuslocked(struct static_key *key)
kernel/jump_label.c
220
void static_key_enable(struct static_key *key)
kernel/jump_label.c
228
void static_key_disable_cpuslocked(struct static_key *key)
kernel/jump_label.c
245
void static_key_disable(struct static_key *key)
kernel/jump_label.c
253
static bool static_key_dec_not_one(struct static_key *key)
kernel/jump_label.c
292
static void __static_key_slow_dec_cpuslocked(struct static_key *key)
kernel/jump_label.c
318
static void __static_key_slow_dec(struct static_key *key)
kernel/jump_label.c
333
void static_key_slow_dec(struct static_key *key)
kernel/jump_label.c
340
void static_key_slow_dec_cpuslocked(struct static_key *key)
kernel/jump_label.c
346
void __static_key_slow_dec_deferred(struct static_key *key,
kernel/jump_label.c
409
static inline struct jump_entry *static_key_entries(struct static_key *key)
kernel/jump_label.c
415
static inline bool static_key_type(struct static_key *key)
kernel/jump_label.c
420
static inline bool static_key_linked(struct static_key *key)
kernel/jump_label.c
425
static inline void static_key_clear_linked(struct static_key *key)
kernel/jump_label.c
430
static inline void static_key_set_linked(struct static_key *key)
kernel/jump_label.c
444
static void static_key_set_entries(struct static_key *key,
kernel/jump_label.c
457
struct static_key *key = jump_entry_key(entry);
kernel/jump_label.c
492
static void __jump_label_update(struct static_key *key,
kernel/jump_label.c
503
static void __jump_label_update(struct static_key *key,
kernel/jump_label.c
529
struct static_key *key = NULL;
kernel/jump_label.c
540
struct static_key *iterk;
kernel/jump_label.c
562
static inline bool static_key_sealed(struct static_key *key)
kernel/jump_label.c
567
static inline void static_key_seal(struct static_key *key)
kernel/jump_label.c
586
struct static_key *iterk = jump_entry_key(iter);
kernel/jump_label.c
605
struct static_key *key = jump_entry_key(entry);
kernel/jump_label.c
619
static inline struct static_key_mod *static_key_mod(struct static_key *key)
kernel/jump_label.c
631
static void static_key_set_mod(struct static_key *key,
kernel/jump_label.c
665
static void __jump_label_mod_update(struct static_key *key)
kernel/jump_label.c
695
struct static_key *key = NULL;
kernel/jump_label.c
705
struct static_key *iterk;
kernel/jump_label.c
767
struct static_key *key = NULL;
kernel/jump_label.c
886
static void jump_label_update(struct static_key *key)
kernel/jump_label.c
93
static void jump_label_update(struct static_key *key);
kernel/sched/core.c
798
struct static_key paravirt_steal_rq_enabled;
kernel/sched/cputime.c
258
struct static_key paravirt_steal_enabled;
kernel/sched/debug.c
82
struct static_key sched_feat_keys[__SCHED_FEAT_NR] = {
kernel/sched/fair.c
6445
static struct static_key __cfs_bandwidth_used;
kernel/sched/sched.h
2413
static __always_inline bool static_branch_##name(struct static_key *key) \
kernel/sched/sched.h
2421
extern struct static_key sched_feat_keys[__SCHED_FEAT_NR];
kernel/sysctl.c
1347
struct static_key *key = (struct static_key *)table->data;
lib/test_static_key_base.c
15
struct static_key base_old_true_key = STATIC_KEY_INIT_TRUE;
lib/test_static_key_base.c
17
struct static_key base_inv_old_true_key = STATIC_KEY_INIT_TRUE;
lib/test_static_key_base.c
19
struct static_key base_old_false_key = STATIC_KEY_INIT_FALSE;
lib/test_static_key_base.c
21
struct static_key base_inv_old_false_key = STATIC_KEY_INIT_FALSE;
lib/test_static_key_base.c
34
static void invert_key(struct static_key *key)
lib/test_static_keys.c
15
struct static_key old_true_key = STATIC_KEY_INIT_TRUE;
lib/test_static_keys.c
16
struct static_key old_false_key = STATIC_KEY_INIT_FALSE;
lib/test_static_keys.c
23
extern struct static_key base_old_true_key;
lib/test_static_keys.c
24
extern struct static_key base_inv_old_true_key;
lib/test_static_keys.c
25
extern struct static_key base_old_false_key;
lib/test_static_keys.c
26
extern struct static_key base_inv_old_false_key;
lib/test_static_keys.c
37
struct static_key *key;
lib/test_static_keys.c
47
static void invert_key(struct static_key *key)
lib/test_static_keys.c
57
struct static_key *previous = NULL;
net/core/dev.c
2674
static struct static_key xps_needed __read_mostly;
net/core/dev.c
2675
static struct static_key xps_rxqs_needed __read_mostly;
net/netfilter/core.c
31
struct static_key nf_hooks_needed[NFPROTO_NUMPROTO][NF_MAX_HOOKS];
net/netfilter/x_tables.c
1413
struct static_key xt_tee_enabled __read_mostly;
rust/helpers/jump_label.c
10
__rust_helper int rust_helper_static_key_count(struct static_key *key)