| /linux/kernel/ |
| H A D | jump_label.c | 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() 151 bool static_key_slow_inc_cpuslocked(struct static_key *key) in static_key_slow_inc_cpuslocked() 186 bool static_key_slow_inc(struct static_key *key) in static_key_slow_inc() 197 void static_key_enable_cpuslocked(struct static_key *key) in static_key_enable_cpuslocked() 220 void static_key_enable(struct static_key *key) in static_key_enable() 228 void static_key_disable_cpuslocked(struct static_key *key) in static_key_disable_cpuslocked() 245 void static_key_disable(struct static_key *key) in static_key_disable() 253 static bool static_key_dec_not_one(struct static_key *key) in static_key_dec_not_one() [all …]
|
| H A D | sysctl.c | 1373 struct static_key *key = (struct static_key *)table->data; in proc_do_static_key()
|
| /linux/lib/ |
| H A D | test_static_keys.c | 15 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 D | test_static_key_base.c | 15 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/include/linux/ |
| H A D | jump_label_ratelimit.h | 10 struct static_key key; 36 __static_key_slow_dec_deferred(struct static_key *key, 65 struct static_key key;
|
| H A D | netfilter.h | 219 extern struct static_key nf_hooks_needed[NFPROTO_NUMPROTO][NF_MAX_HOOKS];
|
| H A D | perf_event.h | 1579 extern struct static_key perf_swevent_enabled[PERF_COUNT_SW_MAX];
|
| /linux/arch/parisc/include/asm/ |
| H A D | jump_label.h | 13 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() 30 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump()
|
| /linux/arch/csky/include/asm/ |
| H A D | jump_label.h | 12 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/arch/xtensa/include/asm/ |
| H A D | jump_label.h | 13 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/arch/arc/include/asm/ |
| H A D | jump_label.h | 31 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/arch/loongarch/include/asm/ |
| H A D | jump_label.h | 38 static __always_inline bool arch_static_branch(struct static_key * const key, const bool branch) in arch_static_branch() 50 static __always_inline bool arch_static_branch_jump(struct static_key * const key, const bool branc… in arch_static_branch_jump()
|
| /linux/arch/riscv/include/asm/ |
| H A D | jump_label.h | 36 static __always_inline bool arch_static_branch(struct static_key * const key, in arch_static_branch() 57 static __always_inline bool arch_static_branch_jump(struct static_key * const key, in arch_static_branch_jump()
|
| /linux/arch/openrisc/include/asm/ |
| H A D | jump_label.h | 43 static __always_inline bool arch_static_branch(struct static_key *const key, in arch_static_branch() 61 arch_static_branch_jump(struct static_key *const key, const bool branch) in arch_static_branch_jump()
|
| /linux/arch/x86/include/asm/ |
| H A D | jump_label.h | 35 static __always_inline bool arch_static_branch(struct static_key * const key, const bool branch) in arch_static_branch() 45 static __always_inline bool arch_static_branch_jump(struct static_key * const key, const bool branc… in arch_static_branch_jump()
|
| /linux/arch/mips/include/asm/ |
| H A D | jump_label.h | 40 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() 54 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump()
|
| /linux/rust/helpers/ |
| H A D | jump_label.c | 10 __rust_helper int rust_helper_static_key_count(struct static_key *key) in rust_helper_static_key_count()
|
| /linux/arch/powerpc/platforms/powernv/ |
| H A D | opal-tracepoints.c | 7 struct static_key opal_tracepoint_key = STATIC_KEY_INIT;
|
| /linux/rust/kernel/ |
| H A D | jump_label.rs | 25 let _key: *const $crate::bindings::static_key = _key.cast();
|
| /linux/arch/x86/xen/ |
| H A D | multicalls.c | 60 static struct static_key mc_debug __ro_after_init;
|
| /linux/include/linux/netfilter/ |
| H A D | x_tables.h | 365 extern struct static_key xt_tee_enabled;
|
| /linux/Documentation/trace/ |
| H A D | tracepoints.rst | 142 the static_key of the tracepoint to allow the if statement to be implemented
|
| /linux/drivers/net/wireless/intel/iwlegacy/ |
| H A D | 3945-mac.c | 2871 u8 static_key; in il3945_mac_set_key() local 2890 static_key = !il_is_associated(il); in il3945_mac_set_key() 2892 if (!static_key) { in il3945_mac_set_key() 2905 if (static_key) in il3945_mac_set_key() 2912 if (static_key) in il3945_mac_set_key()
|
| /linux/net/netfilter/ |
| H A D | x_tables.c | 1413 struct static_key xt_tee_enabled __read_mostly;
|
| /linux/kernel/bpf/ |
| H A D | syscall.c | 6680 struct static_key *key = (struct static_key *)table->data; in bpf_stats_handler()
|