Searched refs:alloc_frag (Results 1 – 1 of 1) sorted by relevance
| /linux/drivers/net/ |
| H A D | tun.c | 1623 struct page_frag *alloc_frag, char *buf, in __tun_build_skb() argument 1638 get_page(alloc_frag->page); in __tun_build_skb() 1639 alloc_frag->offset += buflen; in __tun_build_skb() 1688 struct page_frag *alloc_frag = ¤t->task_frag; in tun_build_skb() local 1705 alloc_frag->offset = ALIGN((u64)alloc_frag->offset, SMP_CACHE_BYTES); in tun_build_skb() 1706 if (unlikely(!skb_page_frag_refill(buflen, alloc_frag, GFP_KERNEL))) in tun_build_skb() 1709 buf = (char *)page_address(alloc_frag->page) + alloc_frag->offset; in tun_build_skb() 1710 copied = copy_page_from_iter(alloc_frag->page, in tun_build_skb() 1711 alloc_frag->offset + pad, in tun_build_skb() 1722 return __tun_build_skb(tfile, alloc_frag, buf, buflen, len, in tun_build_skb() [all …]
|