Searched refs:pgs (Results 1 – 6 of 6) sorted by relevance
/linux/net/xdp/ |
H A D | xdp_umem.c | 26 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 D | xsk.c | 635 page = pool->umem->pgs[addr >> PAGE_SHIFT]; in xsk_build_skb_zerocopy()
|
/linux/fs/erofs/ |
H A D | zdata.c | 917 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 D | mtl.c | 246 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 D | xdp_sock.h | 35 struct page **pgs; member
|
H A D | xdp_sock_drv.h | 82 return xp_dma_map(pool, dev, attrs, umem->pgs, umem->npgs); in xsk_pool_dma_map()
|