Home
last modified time | relevance | path

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

/linux-5.19.10/net/xdp/
Dxdp_umem.c28 unpin_user_pages_dirty_lock(umem->pgs, umem->npgs, true); in xdp_umem_unpin_pages()
30 kvfree(umem->pgs); in xdp_umem_unpin_pages()
31 umem->pgs = NULL; in xdp_umem_unpin_pages()
102 umem->pgs = kvcalloc(umem->npgs, sizeof(*umem->pgs), GFP_KERNEL | __GFP_NOWARN); in xdp_umem_pin_pages()
103 if (!umem->pgs) in xdp_umem_pin_pages()
108 gup_flags | FOLL_LONGTERM, &umem->pgs[0], NULL); in xdp_umem_pin_pages()
125 kvfree(umem->pgs); in xdp_umem_pin_pages()
126 umem->pgs = NULL; in xdp_umem_pin_pages()
208 umem->pgs = NULL; in xdp_umem_reg()
223 err = xdp_umem_addr_map(umem, umem->pgs, umem->npgs); in xdp_umem_reg()
Dxsk.c451 page = pool->umem->pgs[addr >> PAGE_SHIFT]; in xsk_build_skb_zerocopy()
/linux-5.19.10/include/net/
Dxdp_sock.h32 struct page **pgs; member
Dxdp_sock_drv.h58 return xp_dma_map(pool, dev, attrs, umem->pgs, umem->npgs); in xsk_pool_dma_map()