Searched refs:alloc_frag (Results 1 - 2 of 2) sorted by relevance

/linux-master/drivers/net/
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...]
H A Dvirtio_net.c201 struct page_frag alloc_frag; member in struct:receive_queue
728 head = page_address(rq->alloc_frag.page);
743 struct page_frag *alloc_frag = &rq->alloc_frag; local
748 if (unlikely(!skb_page_frag_refill(size, alloc_frag, gfp)))
751 head = page_address(alloc_frag->page);
757 if (!alloc_frag->offset) {
767 dma->len = alloc_frag->size - sizeof(*dma);
781 get_page(alloc_frag->page);
783 alloc_frag
1961 struct page_frag *alloc_frag = &rq->alloc_frag; local
[all...]

Completed in 154 milliseconds