Searched refs:per_cpu_ptr (Results 1 – 6 of 6) sorted by relevance
/include/net/ |
D | gro_cells.h | 68 struct gro_cell *cell = per_cpu_ptr(gcells->cells, i); in gro_cells_init() 87 struct gro_cell *cell = per_cpu_ptr(gcells->cells, i); in gro_cells_destroy()
|
/include/linux/ |
D | percpu-defs.h | 250 #define per_cpu_ptr(ptr, cpu) \ macro 280 #define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); VERIFY_PERCPU_PTR(ptr); }) macro 281 #define raw_cpu_ptr(ptr) per_cpu_ptr(ptr, 0) 286 #define per_cpu(var, cpu) (*per_cpu_ptr(&(var), cpu))
|
D | vmstat.h | 172 x += per_cpu_ptr(zone->pageset, cpu)->vm_stat_diff[item]; in zone_page_state_snapshot() 188 x += per_cpu_ptr(pgdat->per_cpu_nodestats, cpu)->vm_node_stat_diff[item]; in node_page_state_snapshot()
|
D | genhd.h | 308 (per_cpu_ptr((part)->dkstats, (cpu))->field += (addnd)) 315 res += per_cpu_ptr((part)->dkstats, _cpu)->field; \ 324 memset(per_cpu_ptr(part->dkstats, i), value, in part_stat_set_all()
|
D | netdevice.h | 2267 stat = per_cpu_ptr(pcpu_stats, __cpu); \
|
/include/linux/netfilter/ |
D | x_tables.h | 402 return per_cpu_ptr((void __percpu *) (unsigned long) cnt->pcnt, cpu); in xt_get_per_cpu_counter()
|