Home
last modified time | relevance | path

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

/linux/drivers/net/
H A Dtun.c1539 struct page_frag *alloc_frag, char *buf, in __tun_build_skb() argument
1554 get_page(alloc_frag->page); in __tun_build_skb()
1555 alloc_frag->offset += buflen; in __tun_build_skb()
1604 struct page_frag *alloc_frag = &current->task_frag; in tun_build_skb() local
1621 alloc_frag->offset = ALIGN((u64)alloc_frag->offset, SMP_CACHE_BYTES); in tun_build_skb()
1622 if (unlikely(!skb_page_frag_refill(buflen, alloc_frag, GFP_KERNEL))) in tun_build_skb()
1625 buf = (char *)page_address(alloc_frag->page) + alloc_frag->offset; in tun_build_skb()
1626 copied = copy_page_from_iter(alloc_frag->page, in tun_build_skb()
1627 alloc_frag->offset + pad, in tun_build_skb()
1638 return __tun_build_skb(tfile, alloc_frag, buf, buflen, len, in tun_build_skb()
[all …]