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

/linux-master/kernel/dma/
H A Dremap.c50 pages[i] = nth_page(page, i);
/linux-master/mm/
H A Dpercpu-km.c72 pcpu_set_page_chunk(nth_page(pages, i), chunk);
H A Dgup.c309 struct page *next = nth_page(start, i);
1312 subpage = nth_page(page, j);
2778 pages[nr] = nth_page(page, nr);
2813 page = nth_page(pte_page(pte), (addr & (sz - 1)) >> PAGE_SHIFT);
2884 page = nth_page(pmd_page(orig), (addr & ~PMD_MASK) >> PAGE_SHIFT);
2928 page = nth_page(pud_page(orig), (addr & ~PUD_MASK) >> PAGE_SHIFT);
2968 page = nth_page(pgd_page(orig), (addr & ~PGDIR_MASK) >> PAGE_SHIFT);
H A Dcma.c498 page_kasan_tag_reset(nth_page(page, i));
H A Dmemory.c6296 p = nth_page(page, i);
6306 clear_user_highpage(nth_page(page, idx), addr);
6356 struct page *dst = nth_page(copy_arg->dst, idx);
6357 struct page *src = nth_page(copy_arg->src, idx);
H A Dhugetlb.c6921 page = nth_page(page, ((address & ~huge_page_mask(h)) >> PAGE_SHIFT));
/linux-master/tools/testing/scatterlist/linux/
H A Dmm.h54 #define nth_page(page,n) pfn_to_page(page_to_pfn((page)) + (n)) macro
/linux-master/arch/mips/mm/
H A Dcache.c120 addr = (unsigned long)kmap_local_page(nth_page(page, i));
/linux-master/include/linux/
H A Dscatterlist.h582 return nth_page(sg_page(piter->sg), piter->sg_pgoffset);
H A Dpage-flags.h282 #define folio_page(folio, n) nth_page(&(folio)->page, n)
H A Dmm.h214 #define nth_page(page,n) pfn_to_page(page_to_pfn((page)) + (n)) macro
217 #define nth_page(page,n) ((page) + (n)) macro
/linux-master/drivers/vfio/pci/pds/
H A Dlm.c154 return nth_page(sg_page(sg),
/linux-master/mm/kfence/
H A Dcore.c592 struct slab *slab = page_slab(nth_page(pages, i));
644 struct slab *slab = page_slab(nth_page(pages, i));
/linux-master/drivers/memstick/host/
H A Dtifm_ms.c204 pg = nth_page(sg_page(&host->req->sg),
H A Djmb38x_ms.c320 pg = nth_page(sg_page(&host->req->sg),
/linux-master/drivers/gpu/drm/i915/gem/
H A Di915_gem_pages.c640 return nth_page(sg_page(sg), offset);
/linux-master/drivers/mmc/host/
H A Dtifm_sd.c193 pg = nth_page(sg_page(&sg[host->sg_pos]), off >> PAGE_SHIFT);
242 pg = nth_page(sg_page(&sg[host->sg_pos]), off >> PAGE_SHIFT);
H A Dusdhi6rol0.c326 host->pg.page = nth_page(host->pg.page, 1);
506 host->pg.page = nth_page(sg_page(host->sg), host->page_idx);
/linux-master/drivers/ata/
H A Dlibata-sff.c618 page = nth_page(page, (offset >> PAGE_SHIFT));
632 ata_pio_xfer(qc, nth_page(page, 1), 0,
753 page = nth_page(page, (offset >> PAGE_SHIFT));
/linux-master/fs/hugetlbfs/
H A Dinode.c286 page = nth_page(page, offset / PAGE_SIZE);
300 page = nth_page(page, 1);
/linux-master/drivers/memstick/core/
H A Dmspro_block.c563 nth_page(sg_page(&(msb->req_sg[msb->current_seg])),
/linux-master/drivers/vfio/pci/mlx5/
H A Dmain.c60 return nth_page(sg_page(sg),
/linux-master/drivers/scsi/
H A Dscsi_lib.c3139 page = nth_page(sg_page(sg), (*offset >> PAGE_SHIFT));
H A Dsg.c1245 struct page *page = nth_page(rsv_schp->pages[k],

Completed in 805 milliseconds