Searched refs:alloc_frag (Results 1 - 2 of 2) sorted by last modified time

/linux-master/drivers/net/
H A Dvirtio_net.c336 struct page_frag alloc_frag; member in struct:receive_queue
862 head = page_address(rq->alloc_frag.page);
877 struct page_frag *alloc_frag = &rq->alloc_frag; local
882 if (unlikely(!skb_page_frag_refill(size, alloc_frag, gfp)))
885 head = page_address(alloc_frag->page);
890 if (!alloc_frag->offset) {
900 dma->len = alloc_frag->size - sizeof(*dma);
914 get_page(alloc_frag->page);
916 alloc_frag
2095 struct page_frag *alloc_frag = &rq->alloc_frag; local
[all...]
H A Dtun.c1601 struct page_frag *alloc_frag, char *buf,
1613 get_page(alloc_frag->page);
1614 alloc_frag->offset += buflen;
1663 struct page_frag *alloc_frag = &current->task_frag; local
1678 alloc_frag->offset = ALIGN((u64)alloc_frag->offset, SMP_CACHE_BYTES);
1679 if (unlikely(!skb_page_frag_refill(buflen, alloc_frag, GFP_KERNEL)))
1682 buf = (char *)page_address(alloc_frag->page) + alloc_frag->offset;
1683 copied = copy_page_from_iter(alloc_frag
1600 __tun_build_skb(struct tun_file *tfile, struct page_frag *alloc_frag, char *buf, int buflen, int len, int pad) argument
[all...]

Completed in 238 milliseconds