Home
last modified time | relevance | path

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

/linux/net/xdp/
H A Dxdp_umem.c26 unpin_user_pages_dirty_lock(umem->pgs, umem->npgs, true); in xdp_umem_unpin_pages()
28 kvfree(umem->pgs); in xdp_umem_unpin_pages()
29 umem->pgs = NULL; in xdp_umem_unpin_pages()
100 umem->pgs = kvcalloc(umem->npgs, sizeof(*umem->pgs), GFP_KERNEL | __GFP_NOWARN); in xdp_umem_pin_pages()
101 if (!umem->pgs) in xdp_umem_pin_pages()
106 gup_flags | FOLL_LONGTERM, &umem->pgs[0]); in xdp_umem_pin_pages()
123 kvfree(umem->pgs); in xdp_umem_pin_pages()
124 umem->pgs = NULL; in xdp_umem_pin_pages()
219 umem->pgs = NULL; in xdp_umem_reg()
234 err = xdp_umem_addr_map(umem, umem->pgs, umem->npgs); in xdp_umem_reg()
H A Dxsk.c635 page = pool->umem->pgs[addr >> PAGE_SHIFT]; in xsk_build_skb_zerocopy()
/linux/fs/erofs/
H A Dzdata.c917 unsigned int end = folio_size(folio), split = 0, cur, pgs; in z_erofs_scan_folio() local
935 pgs = round_down(cur, PAGE_SIZE); in z_erofs_scan_folio()
959 pgs = round_down(end - 1, PAGE_SIZE); in z_erofs_scan_folio()
969 if (cur <= pgs) { in z_erofs_scan_folio()
971 cur = pgs; in z_erofs_scan_folio()
975 .page = folio_page(folio, pgs >> PAGE_SHIFT), in z_erofs_scan_folio()
976 .offset = offset + pgs - map->m_la, in z_erofs_scan_folio()
977 .end = end - pgs, }), excl); in z_erofs_scan_folio()
996 if (cur <= pgs) { in z_erofs_scan_folio()
997 split = cur < pgs; in z_erofs_scan_folio()
/linux/sound/soc/sof/intel/
H A Dmtl.c246 u32 pgs; in mtl_dsp_pre_fw_run() local
285 pgs = MTL_HFPWRSTS_DSPHPXPGS_MASK; in mtl_dsp_pre_fw_run()
287 (dsphfpwrsts & pgs) == pgs, in mtl_dsp_pre_fw_run()
/linux/include/net/
H A Dxdp_sock.h35 struct page **pgs; member
H A Dxdp_sock_drv.h82 return xp_dma_map(pool, dev, attrs, umem->pgs, umem->npgs); in xsk_pool_dma_map()