• Home
  • Raw
  • Download

Lines Matching refs:pg_chunk

107 		struct fl_pg_chunk pg_chunk;  member
355 if (d->pg_chunk.page) in free_rx_bufs()
356 put_page(d->pg_chunk.page); in free_rx_bufs()
357 d->pg_chunk.page = NULL; in free_rx_bufs()
366 if (q->pg_chunk.page) { in free_rx_bufs()
367 __free_pages(q->pg_chunk.page, q->order); in free_rx_bufs()
368 q->pg_chunk.page = NULL; in free_rx_bufs()
407 if (!q->pg_chunk.page) { in alloc_pg_chunk()
408 q->pg_chunk.page = alloc_pages(gfp, order); in alloc_pg_chunk()
409 if (unlikely(!q->pg_chunk.page)) in alloc_pg_chunk()
411 q->pg_chunk.va = page_address(q->pg_chunk.page); in alloc_pg_chunk()
412 q->pg_chunk.offset = 0; in alloc_pg_chunk()
414 sd->pg_chunk = q->pg_chunk; in alloc_pg_chunk()
416 q->pg_chunk.offset += q->buf_size; in alloc_pg_chunk()
417 if (q->pg_chunk.offset == (PAGE_SIZE << order)) in alloc_pg_chunk()
418 q->pg_chunk.page = NULL; in alloc_pg_chunk()
420 q->pg_chunk.va += q->buf_size; in alloc_pg_chunk()
421 get_page(q->pg_chunk.page); in alloc_pg_chunk()
452 buf_start = sd->pg_chunk.va; in refill_fl()
782 memcpy(newskb->data, sd->pg_chunk.va, len); in get_packet_pg()
810 memcpy(newskb->data, sd->pg_chunk.va, SGE_RX_PULL_LEN); in get_packet_pg()
811 skb_fill_page_desc(newskb, 0, sd->pg_chunk.page, in get_packet_pg()
812 sd->pg_chunk.offset + SGE_RX_PULL_LEN, in get_packet_pg()
818 sd->pg_chunk.page, in get_packet_pg()
819 sd->pg_chunk.offset, len); in get_packet_pg()
2058 qs->lro_va = cpl = sd->pg_chunk.va + 2; in lro_add_page()
2068 rx_frag->page = sd->pg_chunk.page; in lro_add_page()
2069 rx_frag->page_offset = sd->pg_chunk.offset + offset; in lro_add_page()
2283 void *addr = fl->sdesc[fl->cidx].pg_chunk.va; in process_responses()