Searched refs:pgs (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/net/xdp/ |
D | xdp_umem.c | 28 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()
|
D | xsk.c | 451 page = pool->umem->pgs[addr >> PAGE_SHIFT]; in xsk_build_skb_zerocopy()
|
/linux-5.19.10/include/net/ |
D | xdp_sock.h | 32 struct page **pgs; member
|
D | xdp_sock_drv.h | 58 return xp_dma_map(pool, dev, attrs, umem->pgs, umem->npgs); in xsk_pool_dma_map()
|