Searched refs:alloc_frag (Results 1 – 1 of 1) sorted by relevance
| /linux/drivers/net/ |
| H A D | tun.c | 1537 struct page_frag *alloc_frag, char *buf, in __tun_build_skb() argument 1552 get_page(alloc_frag->page); in __tun_build_skb() 1553 alloc_frag->offset += buflen; in __tun_build_skb() 1602 struct page_frag *alloc_frag = ¤t->task_frag; in tun_build_skb() local 1619 alloc_frag->offset = ALIGN((u64)alloc_frag->offset, SMP_CACHE_BYTES); in tun_build_skb() 1620 if (unlikely(!skb_page_frag_refill(buflen, alloc_frag, GFP_KERNEL))) in tun_build_skb() 1623 buf = (char *)page_address(alloc_frag->page) + alloc_frag->offset; in tun_build_skb() 1624 copied = copy_page_from_iter(alloc_frag->page, in tun_build_skb() 1625 alloc_frag->offset + pad, in tun_build_skb() 1636 return __tun_build_skb(tfile, alloc_frag, buf, buflen, len, in tun_build_skb() [all …]
|