Home
last modified time | relevance | path

Searched refs:per_cpu_ptr (Results 1 – 6 of 6) sorted by relevance

/include/net/
Dgro_cells.h68 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/
Dpercpu-defs.h250 #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))
Dvmstat.h172 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()
Dgenhd.h308 (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()
Dnetdevice.h2267 stat = per_cpu_ptr(pcpu_stats, __cpu); \
/include/linux/netfilter/
Dx_tables.h402 return per_cpu_ptr((void __percpu *) (unsigned long) cnt->pcnt, cpu); in xt_get_per_cpu_counter()