Home
last modified time | relevance | path

Searched refs:nth_page (Results 1 – 20 of 20) sorted by relevance

/Linux-v6.6/kernel/dma/
Dremap.c50 pages[i] = nth_page(page, i); in dma_common_contiguous_remap()
/Linux-v6.6/mm/
Dpercpu-km.c72 pcpu_set_page_chunk(nth_page(pages, i), chunk); in pcpu_create_chunk()
Dgup.c309 struct page *next = nth_page(start, i); in gup_folio_range_next()
1310 subpage = nth_page(page, j); in __get_user_pages()
2764 pages[nr] = nth_page(page, nr); in record_subpages()
2799 page = nth_page(pte_page(pte), (addr & (sz - 1)) >> PAGE_SHIFT); in gup_hugepte()
2870 page = nth_page(pmd_page(orig), (addr & ~PMD_MASK) >> PAGE_SHIFT); in gup_huge_pmd()
2914 page = nth_page(pud_page(orig), (addr & ~PUD_MASK) >> PAGE_SHIFT); in gup_huge_pud()
2954 page = nth_page(pgd_page(orig), (addr & ~PGDIR_MASK) >> PAGE_SHIFT); in gup_huge_pgd()
Dmemory.c5975 p = nth_page(page, i); in clear_gigantic_page()
/Linux-v6.6/tools/testing/scatterlist/linux/
Dmm.h54 #define nth_page(page,n) pfn_to_page(page_to_pfn((page)) + (n)) macro
/Linux-v6.6/include/linux/
Dscatterlist.h582 return nth_page(sg_page(piter->sg), piter->sg_pgoffset); in sg_page_iter_page()
Dpage-flags.h282 #define folio_page(folio, n) nth_page(&(folio)->page, n)
Dmm.h213 #define nth_page(page,n) pfn_to_page(page_to_pfn((page)) + (n)) macro
216 #define nth_page(page,n) ((page) + (n)) macro
/Linux-v6.6/mm/kfence/
Dcore.c596 struct slab *slab = page_slab(nth_page(pages, i)); in kfence_init_pool()
648 struct slab *slab = page_slab(nth_page(pages, i)); in kfence_init_pool()
/Linux-v6.6/drivers/vfio/pci/pds/
Dlm.c152 return nth_page(sg_page(sg), in pds_vfio_get_file_page()
/Linux-v6.6/drivers/mmc/host/
Dtifm_sd.c193 pg = nth_page(sg_page(&sg[host->sg_pos]), off >> PAGE_SHIFT); in tifm_sd_transfer_data()
242 pg = nth_page(sg_page(&sg[host->sg_pos]), off >> PAGE_SHIFT); in tifm_sd_bounce_block()
Dusdhi6rol0.c326 host->pg.page = nth_page(host->pg.page, 1); in usdhi6_blk_bounce()
506 host->pg.page = nth_page(sg_page(host->sg), host->page_idx); in usdhi6_sg_advance()
/Linux-v6.6/drivers/gpu/drm/i915/gem/
Di915_gem_pages.c640 return nth_page(sg_page(sg), offset); in __i915_gem_object_get_page()
/Linux-v6.6/drivers/memstick/host/
Dtifm_ms.c204 pg = nth_page(sg_page(&host->req->sg), in tifm_ms_transfer_data()
Djmb38x_ms.c320 pg = nth_page(sg_page(&host->req->sg), in jmb38x_ms_transfer_data()
/Linux-v6.6/drivers/ata/
Dlibata-sff.c618 page = nth_page(page, (offset >> PAGE_SHIFT)); in ata_pio_sector()
632 ata_pio_xfer(qc, nth_page(page, 1), 0, in ata_pio_sector()
753 page = nth_page(page, (offset >> PAGE_SHIFT)); in __atapi_pio_bytes()
/Linux-v6.6/drivers/vfio/pci/mlx5/
Dmain.c58 return nth_page(sg_page(sg), in mlx5vf_get_migration_page()
/Linux-v6.6/drivers/memstick/core/
Dmspro_block.c563 nth_page(sg_page(&(msb->req_sg[msb->current_seg])), in h_mspro_block_transfer_data()
/Linux-v6.6/drivers/scsi/
Dscsi_lib.c3038 page = nth_page(sg_page(sg), (*offset >> PAGE_SHIFT)); in scsi_kmap_atomic_sg()
Dsg.c1242 struct page *page = nth_page(rsv_schp->pages[k], in sg_vma_fault()