Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Djump_label.h89 struct static_key { struct
99 struct static_key { argument
120 static inline int static_key_count(struct static_key *key) in static_key_count() argument
131 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
136 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
152 extern void static_key_slow_inc(struct static_key *key);
153 extern void static_key_slow_dec(struct static_key *key);
170 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
177 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
184 static inline void static_key_slow_inc(struct static_key *key) in static_key_slow_inc()
[all …]
Djump_label_ratelimit.h9 struct static_key key;
22 struct static_key key;
Donce.h8 void __do_once_done(bool *done, struct static_key *once_key,
41 static struct static_key ___once_key = STATIC_KEY_INIT_TRUE; \
Dcontext_tracking_state.h25 extern struct static_key context_tracking_enabled;
Dcpuset.h19 extern struct static_key cpusets_enabled_key;
Dtracepoint.h36 struct static_key key;
Dnetfilter.h143 extern struct static_key nf_hooks_needed[NFPROTO_NUMPROTO][NF_MAX_HOOKS];
Dmemcontrol.h719 extern struct static_key memcg_kmem_enabled_key;
Dperf_event.h862 extern struct static_key perf_swevent_enabled[PERF_COUNT_SW_MAX];
Dnetdevice.h189 extern struct static_key rps_needed;
/linux-4.4.14/kernel/
Djump_label.c57 static void jump_label_update(struct static_key *key);
59 void static_key_slow_inc(struct static_key *key) in static_key_slow_inc()
72 static void __static_key_slow_dec(struct static_key *key, in __static_key_slow_dec()
97 void static_key_slow_dec(struct static_key *key) in static_key_slow_dec()
156 static inline struct jump_entry *static_key_entries(struct static_key *key) in static_key_entries()
161 static inline bool static_key_type(struct static_key *key) in static_key_type()
166 static inline struct static_key *jump_entry_key(struct jump_entry *entry) in jump_entry_key()
168 return (struct static_key *)((unsigned long)entry->key & ~1UL); in jump_entry_key()
178 struct static_key *key = jump_entry_key(entry); in jump_label_type()
186 static void __jump_label_update(struct static_key *key, in __jump_label_update()
[all …]
Dcontext_tracking.c27 struct static_key context_tracking_enabled = STATIC_KEY_INIT_FALSE;
Dcpuset.c63 struct static_key cpusets_enabled_key __read_mostly = STATIC_KEY_INIT_FALSE;
/linux-4.4.14/lib/
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()
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;
52 static void invert_key(struct static_key *key) in invert_key()
62 struct static_key *previous = NULL; in invert_keys()
Donce.c8 struct static_key *key;
21 static void once_disable_jump(struct static_key *key) in once_disable_jump()
54 void __do_once_done(bool *done, struct static_key *once_key, in __do_once_done()
Dcrc-t10dif.c20 static struct static_key crct10dif_fallback __read_mostly;
/linux-4.4.14/arch/arm64/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-4.4.14/arch/sparc/include/asm/
Djump_label.h10 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-4.4.14/arch/s390/include/asm/
Djump_label.h15 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch()
29 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump()
/linux-4.4.14/arch/arm/include/asm/
Djump_label.h11 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch()
25 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump()
/linux-4.4.14/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-4.4.14/arch/x86/include/asm/
Djump_label.h19 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch()
34 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump()
Dspinlock.h42 extern struct static_key paravirt_ticketlocks_enabled;
43 static __always_inline bool static_key_false(struct static_key *key);
Dmmu_context.h22 extern struct static_key rdpmc_always_available;
Dparavirt.h192 struct static_key;
193 extern struct static_key paravirt_steal_enabled;
194 extern struct static_key paravirt_steal_rq_enabled;
/linux-4.4.14/arch/powerpc/include/asm/
Djump_label.h21 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch()
35 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump()
/linux-4.4.14/arch/x86/kernel/
Dparavirt-spinlocks.c41 struct static_key paravirt_ticketlocks_enabled = STATIC_KEY_INIT_FALSE;
Dparavirt.c213 struct static_key paravirt_steal_enabled;
214 struct static_key paravirt_steal_rq_enabled;
/linux-4.4.14/arch/powerpc/platforms/powernv/
Dopal-tracepoints.c6 struct static_key opal_tracepoint_key = STATIC_KEY_INIT;
/linux-4.4.14/Documentation/
Dstatic-keys.txt6 The use of 'struct static_key' directly, is now DEPRECATED. In addition
9 struct static_key false = STATIC_KEY_INIT_FALSE;
10 struct static_key true = STATIC_KEY_INIT_TRUE;
155 * __always_inline bool arch_static_branch(struct static_key *key, bool branch), see:
158 * __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch),
/linux-4.4.14/arch/x86/kvm/
Dx86.h194 extern struct static_key kvm_no_apic_vcpu;
Dlapic.h104 extern struct static_key kvm_no_apic_vcpu;
Dmmu_audit.c239 static struct static_key mmu_audit_key;
Dx86.c7525 struct static_key kvm_no_apic_vcpu __read_mostly;
/linux-4.4.14/kernel/sched/
Dclock.c80 static struct static_key __sched_clock_stable = STATIC_KEY_INIT;
Dsched.h995 static __always_inline bool static_branch_##name(struct static_key *key) \
1004 extern struct static_key sched_feat_keys[__SCHED_FEAT_NR];
Dcore.c159 struct static_key sched_feat_keys[__SCHED_FEAT_NR] = {
2410 static struct static_key preempt_notifier_key = STATIC_KEY_INIT_FALSE;
Dfair.c3325 static struct static_key __cfs_bandwidth_used;
/linux-4.4.14/include/linux/netfilter/
Dx_tables.h296 extern struct static_key xt_tee_enabled;
/linux-4.4.14/include/net/
Dip_tunnels.h329 extern struct static_key ip_tunnel_metadata_cnt;
Dsock.h767 extern struct static_key memalloc_socks;
1101 extern struct static_key memcg_socket_limit_enabled;
/linux-4.4.14/net/netfilter/
Dcore.c59 struct static_key nf_hooks_needed[NFPROTO_NUMPROTO][NF_MAX_HOOKS];
Dx_tables.c969 struct static_key xt_tee_enabled __read_mostly;
/linux-4.4.14/net/ipv4/
Dip_tunnel_core.c413 struct static_key ip_tunnel_metadata_cnt = STATIC_KEY_INIT_FALSE;
Dudp.c1489 static struct static_key udp_encap_needed __read_mostly;
/linux-4.4.14/Documentation/trace/
Dtracepoints.txt139 the static_key of the tracepoint to allow the if statement to be implemented
/linux-4.4.14/drivers/net/wireless/iwlegacy/
D3945-mac.c2945 u8 static_key; in il3945_mac_set_key() local
2964 static_key = !il_is_associated(il); in il3945_mac_set_key()
2966 if (!static_key) { in il3945_mac_set_key()
2979 if (static_key) in il3945_mac_set_key()
2986 if (static_key) in il3945_mac_set_key()
/linux-4.4.14/arch/powerpc/platforms/pseries/
Dlpar.c660 struct static_key hcall_tracepoint_key = STATIC_KEY_INIT;
/linux-4.4.14/drivers/irqchip/
Dirq-gic-v3.c54 static struct static_key supports_deactivate = STATIC_KEY_INIT_TRUE;
Dirq-gic.c100 static struct static_key supports_deactivate = STATIC_KEY_INIT_TRUE;
/linux-4.4.14/net/core/
Dsock.c243 struct static_key memcg_socket_limit_enabled;
331 struct static_key memalloc_socks = STATIC_KEY_INIT_FALSE;
Ddev.c1662 static struct static_key ingress_needed __read_mostly;
1677 static struct static_key netstamp_needed __read_mostly;
3224 struct static_key rps_needed __read_mostly;
/linux-4.4.14/net/ipv6/
Dudp.c617 static struct static_key udpv6_encap_needed __read_mostly;
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event.c48 struct static_key rdpmc_always_available = STATIC_KEY_INIT_FALSE;
/linux-4.4.14/drivers/i2c/
Di2c-core.c74 static struct static_key i2c_trace_msg = STATIC_KEY_INIT_FALSE;
/linux-4.4.14/mm/
Dmemcontrol.c399 struct static_key memcg_kmem_enabled_key;
/linux-4.4.14/kernel/events/
Dcore.c6852 struct static_key perf_swevent_enabled[PERF_COUNT_SW_MAX];