Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Djump_label.h66 struct static_key { struct
76 struct static_key { argument
97 static inline int static_key_count(struct static_key *key) in static_key_count() argument
109 inline struct jump_entry *jump_label_get_entries(struct static_key *key) in jump_label_get_entries()
115 static inline bool jump_label_get_branch_default(struct static_key *key) in jump_label_get_branch_default()
123 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
128 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
144 extern void static_key_slow_inc(struct static_key *key);
145 extern void static_key_slow_dec(struct static_key *key);
148 #define STATIC_KEY_INIT_TRUE ((struct static_key) \
[all …]
Djump_label_ratelimit.h9 struct static_key key;
22 struct static_key key;
Dcontext_tracking_state.h23 extern struct static_key context_tracking_enabled;
Dnet.h247 struct static_key *done_key);
253 static struct static_key ___once_key = \
Dcpuset.h19 extern struct static_key cpusets_enabled_key;
Dtracepoint.h35 struct static_key key;
Dmemcontrol.h399 extern struct static_key memcg_kmem_enabled_key;
Dnetfilter.h132 extern struct static_key nf_hooks_needed[NFPROTO_NUMPROTO][NF_MAX_HOOKS];
Dperf_event.h746 extern struct static_key perf_swevent_enabled[PERF_COUNT_SW_MAX];
Dnetdevice.h189 extern struct static_key rps_needed;
/linux-4.1.27/kernel/
Djump_label.c57 static void jump_label_update(struct static_key *key, int enable);
59 void static_key_slow_inc(struct static_key *key) in static_key_slow_inc()
77 static void __static_key_slow_dec(struct static_key *key, in __static_key_slow_dec()
105 void static_key_slow_dec(struct static_key *key) in static_key_slow_dec()
164 static void __jump_label_update(struct static_key *key, in __jump_label_update()
181 static enum jump_label_type jump_label_type(struct static_key *key) in jump_label_type()
196 struct static_key *key = NULL; in jump_label_init()
203 struct static_key *iterk; in jump_label_init()
205 iterk = (struct static_key *)(unsigned long)iter->key; in jump_label_init()
246 static void __jump_label_mod_update(struct static_key *key, int enable) in __jump_label_mod_update()
[all …]
Dcontext_tracking.c27 struct static_key context_tracking_enabled = STATIC_KEY_INIT_FALSE;
Dcpuset.c64 struct static_key cpusets_enabled_key __read_mostly = STATIC_KEY_INIT_FALSE;
/linux-4.1.27/arch/ia64/include/asm/
Dparavirt.h283 struct static_key;
284 extern struct static_key paravirt_steal_enabled;
285 extern struct static_key paravirt_steal_rq_enabled;
/linux-4.1.27/arch/x86/kernel/
Dparavirt-spinlocks.c19 struct static_key paravirt_ticketlocks_enabled = STATIC_KEY_INIT_FALSE;
Dparavirt.c211 struct static_key paravirt_steal_enabled;
212 struct static_key paravirt_steal_rq_enabled;
Dtsc.c42 static struct static_key __use_tsc = STATIC_KEY_INIT;
/linux-4.1.27/arch/sparc/include/asm/
Djump_label.h10 static __always_inline bool arch_static_branch(struct static_key *key) in arch_static_branch()
/linux-4.1.27/arch/arm64/include/asm/
Djump_label.h29 static __always_inline bool arch_static_branch(struct static_key *key) in arch_static_branch()
/linux-4.1.27/arch/s390/include/asm/
Djump_label.h15 static __always_inline bool arch_static_branch(struct static_key *key) in arch_static_branch()
/linux-4.1.27/arch/arm/include/asm/
Djump_label.h16 static __always_inline bool arch_static_branch(struct static_key *key) in arch_static_branch()
/linux-4.1.27/net/core/
Dutils.c339 struct static_key *key;
351 static void __net_random_once_disable_jump(struct static_key *key) in __net_random_once_disable_jump()
365 struct static_key *once_key) in __net_get_random_once()
Dsock.c242 struct static_key memcg_socket_limit_enabled;
330 struct static_key memalloc_socks = STATIC_KEY_INIT_FALSE;
Ddev.c1630 static struct static_key ingress_needed __read_mostly;
1645 static struct static_key netstamp_needed __read_mostly;
3070 struct static_key rps_needed __read_mostly;
/linux-4.1.27/arch/mips/include/asm/
Djump_label.h29 static __always_inline bool arch_static_branch(struct static_key *key) in arch_static_branch()
/linux-4.1.27/arch/x86/include/asm/
Djump_label.h19 static __always_inline bool arch_static_branch(struct static_key *key) in arch_static_branch()
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.h195 struct static_key;
196 extern struct static_key paravirt_steal_enabled;
197 extern struct static_key paravirt_steal_rq_enabled;
/linux-4.1.27/arch/powerpc/include/asm/
Djump_label.h21 static __always_inline bool arch_static_branch(struct static_key *key) in arch_static_branch()
/linux-4.1.27/Documentation/
Dstatic-keys.txt12 struct static_key key = STATIC_KEY_INIT_FALSE;
78 struct static_key key;
82 struct static_key key = STATIC_KEY_INIT_TRUE;
86 struct static_key key = STATIC_KEY_INIT_FALSE;
88 If the key is not initialized, it is default false. The 'struct static_key',
153 * __always_inline bool arch_static_branch(struct static_key *key), see:
/linux-4.1.27/arch/powerpc/platforms/powernv/
Dopal-tracepoints.c6 struct static_key opal_tracepoint_key = STATIC_KEY_INIT;
/linux-4.1.27/lib/
Dcrc-t10dif.c20 static struct static_key crct10dif_fallback __read_mostly;
/linux-4.1.27/arch/x86/kvm/
Dlapic.h104 extern struct static_key kvm_no_apic_vcpu;
Dx86.h176 extern struct static_key kvm_no_apic_vcpu;
Dmmu_audit.c233 static struct static_key mmu_audit_key;
Dx86.c7316 struct static_key kvm_no_apic_vcpu __read_mostly;
/linux-4.1.27/kernel/sched/
Dclock.c80 static struct static_key __sched_clock_stable = STATIC_KEY_INIT;
Dsched.h978 static __always_inline bool static_branch_##name(struct static_key *key) \
987 extern struct static_key sched_feat_keys[__SCHED_FEAT_NR];
Dfair.c3392 static struct static_key __cfs_bandwidth_used;
Dcore.c179 struct static_key sched_feat_keys[__SCHED_FEAT_NR] = {
/linux-4.1.27/arch/s390/lib/
Duaccess.c18 static struct static_key have_mvcos = STATIC_KEY_INIT_FALSE;
/linux-4.1.27/net/netfilter/
Dcore.c59 struct static_key nf_hooks_needed[NFPROTO_NUMPROTO][NF_MAX_HOOKS];
/linux-4.1.27/arch/ia64/kernel/
Dparavirt.c637 struct static_key paravirt_steal_enabled;
638 struct static_key paravirt_steal_rq_enabled;
/linux-4.1.27/Documentation/trace/
Dtracepoints.txt139 the static_key of the tracepoint to allow the if statement to be implemented
/linux-4.1.27/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.1.27/arch/powerpc/platforms/pseries/
Dlpar.c660 struct static_key hcall_tracepoint_key = STATIC_KEY_INIT;
/linux-4.1.27/include/net/
Dsock.h749 extern struct static_key memalloc_socks;
1117 extern struct static_key memcg_socket_limit_enabled;
/linux-4.1.27/net/ipv6/
Dudp.c614 static struct static_key udpv6_encap_needed __read_mostly;
/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event.c48 struct static_key rdpmc_always_available = STATIC_KEY_INIT_FALSE;
/linux-4.1.27/drivers/i2c/
Di2c-core.c69 static struct static_key i2c_trace_msg = STATIC_KEY_INIT_FALSE;
/linux-4.1.27/net/ipv4/
Dudp.c1478 static struct static_key udp_encap_needed __read_mostly;
/linux-4.1.27/mm/
Dmemcontrol.c580 struct static_key memcg_kmem_enabled_key;
/linux-4.1.27/kernel/events/
Dcore.c6561 struct static_key perf_swevent_enabled[PERF_COUNT_SW_MAX];