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

/linux-4.1.27/drivers/net/
H A Dvirtio_net.c91 struct page_frag alloc_frag; member in struct:receive_queue
615 struct page_frag *alloc_frag = &rq->alloc_frag; add_recvbuf_mergeable() local
622 if (unlikely(!skb_page_frag_refill(len, alloc_frag, gfp))) add_recvbuf_mergeable()
625 buf = (char *)page_address(alloc_frag->page) + alloc_frag->offset; add_recvbuf_mergeable()
627 get_page(alloc_frag->page); add_recvbuf_mergeable()
628 alloc_frag->offset += len; add_recvbuf_mergeable()
629 hole = alloc_frag->size - alloc_frag->offset; add_recvbuf_mergeable()
637 alloc_frag->offset += hole; add_recvbuf_mergeable()
1482 if (vi->rq[i].alloc_frag.page) free_receive_page_frags()
1483 put_page(vi->rq[i].alloc_frag.page); free_receive_page_frags()

Completed in 67 milliseconds