Home
last modified time | relevance | path

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

12

/linux-2.6.39/include/asm-generic/
Dpercpu.h63 #define this_cpu_ptr(ptr) SHIFT_PERCPU_PTR(ptr, my_cpu_offset) macro
65 #define this_cpu_ptr(ptr) __this_cpu_ptr(ptr) macro
68 #define __get_cpu_var(var) (*this_cpu_ptr(&(var)))
85 #define this_cpu_ptr(ptr) per_cpu_ptr(ptr, 0) macro
86 #define __this_cpu_ptr(ptr) this_cpu_ptr(ptr)
/linux-2.6.39/kernel/trace/
Dtrace_event_perf.c146 list = this_cpu_ptr(pcpu_list); in perf_trace_add()
204 raw_data = this_cpu_ptr(perf_trace_buf[*rctxp]); in perf_trace_buf_prepare()
Dtrace_syscalls.c533 head = this_cpu_ptr(sys_data->enter_event->perf_events); in perf_syscall_enter()
609 head = this_cpu_ptr(sys_data->exit_event->perf_events); in perf_syscall_exit()
/linux-2.6.39/include/linux/
Dif_macvlan.h76 pcpu_stats = this_cpu_ptr(vlan->pcpu_stats); in macvlan_count_rx()
Dpercpu.h44 this_cpu_ptr(var); })
324 ret__ = *this_cpu_ptr(&(pcp)); \
/linux-2.6.39/net/netfilter/ipvs/
Dip_vs_core.c123 s = this_cpu_ptr(dest->stats.cpustats); in ip_vs_in_stats()
129 s = this_cpu_ptr(dest->svc->stats.cpustats); in ip_vs_in_stats()
135 s = this_cpu_ptr(ipvs->tot_stats.cpustats); in ip_vs_in_stats()
153 s = this_cpu_ptr(dest->stats.cpustats); in ip_vs_out_stats()
159 s = this_cpu_ptr(dest->svc->stats.cpustats); in ip_vs_out_stats()
165 s = this_cpu_ptr(ipvs->tot_stats.cpustats); in ip_vs_out_stats()
180 s = this_cpu_ptr(cp->dest->stats.cpustats); in ip_vs_conn_stats()
183 s = this_cpu_ptr(svc->stats.cpustats); in ip_vs_conn_stats()
186 s = this_cpu_ptr(ipvs->tot_stats.cpustats); in ip_vs_conn_stats()
/linux-2.6.39/net/8021q/
Dvlan_core.c29 rx_stats = this_cpu_ptr(vlan_dev_info(vlan_dev)->vlan_pcpu_stats); in vlan_hwaccel_do_receive()
Dvlan_dev.c180 rx_stats = this_cpu_ptr(vlan_dev_info(skb->dev)->vlan_pcpu_stats); in vlan_skb_recv()
337 stats = this_cpu_ptr(vlan_dev_info(dev)->vlan_pcpu_stats); in vlan_dev_hard_start_xmit()
/linux-2.6.39/drivers/net/
Dloopback.c84 lb_stats = this_cpu_ptr(dev->lstats); in loopback_xmit()
Ddummy.c89 struct pcpu_dstats *dstats = this_cpu_ptr(dev->dstats); in dummy_xmit()
Dveth.c163 stats = this_cpu_ptr(priv->stats); in veth_xmit()
164 rcv_stats = this_cpu_ptr(rcv_priv->stats); in veth_xmit()
Dmacvlan.c266 pcpu_stats = this_cpu_ptr(vlan->pcpu_stats); in macvlan_start_xmit()
/linux-2.6.39/net/core/
Dflow.c221 fcp = this_cpu_ptr(fc->percpu); in flow_cache_lookup()
302 fcp = this_cpu_ptr(fc->percpu); in flow_cache_flush_tasklet()
/linux-2.6.39/net/bridge/
Dbr_input.c32 struct br_cpu_netstats *brstats = this_cpu_ptr(br->stats); in br_pass_frame_up()
Dbr_device.c32 struct br_cpu_netstats *brstats = this_cpu_ptr(br->stats); in br_dev_xmit()
/linux-2.6.39/include/net/
Dsnmp.h145 ptr = this_cpu_ptr((mib)[!in_softirq()]); \
/linux-2.6.39/net/ipv4/
Dip_input.c345 struct ip_rt_acct *st = this_cpu_ptr(ip_rt_acct); in ip_rcv_finish()
Dipip.c409 tstats = this_cpu_ptr(tunnel->dev->tstats); in ipip_rcv()
559 tstats = this_cpu_ptr(dev->tstats); in ipip_tunnel_xmit()
Dip_gre.c673 tstats = this_cpu_ptr(tunnel->dev->tstats); in ipgre_rcv()
913 tstats = this_cpu_ptr(dev->tstats); in ipgre_tunnel_xmit()
/linux-2.6.39/kernel/
Drcutree.c771 struct rcu_data *rdp = this_cpu_ptr(rsp->rda); in rcu_start_gp()
1019 struct rcu_data *rdp = this_cpu_ptr(rsp->rda); in rcu_send_cbs_to_online()
1437 rdp = this_cpu_ptr(rsp->rda); in __call_rcu()
Dperf_event.c200 return this_cpu_ptr(ctx->pmu->pmu_cpu_context); in __get_cpu_context()
262 info = this_cpu_ptr(cgrp->info); in __update_cgrp_time()
310 info = this_cpu_ptr(cgrp->info); in perf_cgroup_set_timestamp()
344 cpuctx = this_cpu_ptr(pmu->pmu_cpu_context); in perf_cgroup_switch()
554 int *count = this_cpu_ptr(pmu->pmu_disable_count); in perf_pmu_disable()
561 int *count = this_cpu_ptr(pmu->pmu_disable_count); in perf_pmu_enable()
575 struct perf_cpu_context *cpuctx = this_cpu_ptr(pmu->pmu_cpu_context); in perf_pmu_rotate_start()
7235 struct perf_cpu_context *cpuctx = this_cpu_ptr(pmu->pmu_cpu_context); in perf_pmu_rotate_stop()
/linux-2.6.39/net/ipv6/
Dsit.c597 tstats = this_cpu_ptr(tunnel->dev->tstats); in ipip6_rcv()
836 tstats = this_cpu_ptr(dev->tstats); in ipip6_tunnel_xmit()
Dip6_tunnel.c764 tstats = this_cpu_ptr(t->dev->tstats); in ip6_tnl_rcv()
986 struct pcpu_tstats *tstats = this_cpu_ptr(t->dev->tstats); in ip6_tnl_xmit2()
/linux-2.6.39/include/trace/
Dftrace.h736 head = this_cpu_ptr(event_call->perf_events); \
/linux-2.6.39/drivers/infiniband/hw/ehca/
Dehca_irq.c830 __queue_comp_task(cq, this_cpu_ptr(pool->cpu_comp_tasks)); in take_over_work()

12