Lines Matching refs:gcells
12 int gro_cells_receive(struct gro_cells *gcells, struct sk_buff *skb) in gro_cells_receive() argument
22 if (!gcells->cells || skb_cloned(skb) || netif_elide_gro(dev)) { in gro_cells_receive()
27 cell = this_cpu_ptr(gcells->cells); in gro_cells_receive()
69 int gro_cells_init(struct gro_cells *gcells, struct net_device *dev) in gro_cells_init() argument
73 gcells->cells = alloc_percpu(struct gro_cell); in gro_cells_init()
74 if (!gcells->cells) in gro_cells_init()
78 struct gro_cell *cell = per_cpu_ptr(gcells->cells, i); in gro_cells_init()
105 void gro_cells_destroy(struct gro_cells *gcells) in gro_cells_destroy() argument
110 if (!gcells->cells) in gro_cells_destroy()
113 struct gro_cell *cell = per_cpu_ptr(gcells->cells, i); in gro_cells_destroy()
127 defer->ptr = gcells->cells; in gro_cells_destroy()
134 free_percpu(gcells->cells); in gro_cells_destroy()
136 gcells->cells = NULL; in gro_cells_destroy()