Home
last modified time | relevance | path

Searched refs:this_cpu_ptr (Results 1 – 19 of 19) sorted by relevance

/include/linux/
Dlocal_lock_internal.h68 local_lock_acquire(this_cpu_ptr(lock)); \
74 local_lock_acquire(this_cpu_ptr(lock)); \
80 local_lock_acquire(this_cpu_ptr(lock)); \
85 local_lock_release(this_cpu_ptr(lock)); \
91 local_lock_release(this_cpu_ptr(lock)); \
97 local_lock_release(this_cpu_ptr(lock)); \
119 spin_lock(this_cpu_ptr((__lock))); \
133 spin_unlock(this_cpu_ptr((__lock))); \
Dkernel_stat.h50 #define kstat_this_cpu this_cpu_ptr(&kstat)
51 #define kcpustat_this_cpu this_cpu_ptr(&kernel_cpustat)
Dcontext_tracking.h122 return !(arch_atomic_read(this_cpu_ptr(&context_tracking.state)) & RCU_DYNTICKS_IDX); in rcu_dynticks_curr_cpu_in_eqs()
131 return arch_atomic_add_return(incby, this_cpu_ptr(&context_tracking.state)); in ct_state_inc()
Dcontext_tracking_state.h54 return arch_atomic_read(this_cpu_ptr(&context_tracking.state)) & CT_STATE_MASK; in __ct_state()
61 return atomic_read(this_cpu_ptr(&context_tracking.state)) & CT_DYNTICKS_MASK; in ct_dynticks()
Dcookie.h32 struct pcpu_gen_cookie *local = this_cpu_ptr(gc->local); in gen_cookie_next()
Dpercpu-defs.h246 #define this_cpu_ptr(ptr) \ macro
252 #define this_cpu_ptr(ptr) raw_cpu_ptr(ptr) macro
265 #define this_cpu_ptr(ptr) raw_cpu_ptr(ptr) macro
278 this_cpu_ptr(&var); \
294 this_cpu_ptr(var); \
Drelay.h197 buf = *this_cpu_ptr(chan->buf); in relay_write()
Dfilter.h594 stats = this_cpu_ptr(prog->stats); in __bpf_prog_run()
942 struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); in xdp_return_frame_no_direct()
949 struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); in xdp_set_return_frame_no_direct()
956 struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); in xdp_clear_return_frame_no_direct()
1511 struct bpf_redirect_info *ri = this_cpu_ptr(&bpf_redirect_info); in __bpf_xdp_redirect_map()
Dkprobes.h409 return this_cpu_ptr(&kprobe_ctlblk); in get_kprobe_ctlblk()
Dcpumask.h863 #define this_cpu_cpumask_var_ptr(x) this_cpu_ptr(x)
Dperf_event.h1261 struct pt_regs *regs = this_cpu_ptr(&__perf_regs[0]); in __perf_sw_event_sched()
Dnetdevice.h2738 struct pcpu_sw_netstats *tstats = this_cpu_ptr(dev->tstats); in dev_sw_netstats_rx_add()
2750 struct pcpu_sw_netstats *tstats = this_cpu_ptr(dev->tstats); in dev_sw_netstats_tx_add()
2760 struct pcpu_lstats *lstats = this_cpu_ptr(dev->lstats); in dev_lstats_add()
/include/net/
Dact_api.h225 bstats_update(this_cpu_ptr(a->cpu_bstats), skb); in tcf_action_update_bstats()
236 qstats_drop_inc(this_cpu_ptr(a->cpu_qstats)); in tcf_action_inc_drop_qstats()
247 qstats_overlimit_inc(this_cpu_ptr(a->cpu_qstats)); in tcf_action_inc_overlimit_qstats()
Dsch_generic.h847 bstats_update(this_cpu_ptr(sch->cpu_bstats), skb); in qdisc_bstats_cpu_update()
1284 bstats_update(this_cpu_ptr(miniq->cpu_bstats), skb); in mini_qdisc_bstats_cpu_update()
/include/trace/
Dperf.h71 head = this_cpu_ptr(event_call->perf_events); \
/include/linux/spi/
Dspi.h90 __lstats = this_cpu_ptr(pcpu_stats); \
101 __lstats = this_cpu_ptr(pcpu_stats); \
/include/rv/
Dda_monitor.h272 return this_cpu_ptr(&da_mon_##name); \
/include/linux/netfilter/
Dx_tables.h436 return this_cpu_ptr((void __percpu *) (unsigned long) cnt->pcnt); in xt_get_this_cpu_counter()
/include/uapi/linux/
Dbpf.h5614 FN(this_cpu_ptr), \