/openbmc/linux/kernel/dma/ |
H A D | remap.c | 50 pages[i] = nth_page(page, i); in dma_common_contiguous_remap()
|
/openbmc/linux/mm/ |
H A D | percpu-km.c | 72 pcpu_set_page_chunk(nth_page(pages, i), chunk); in pcpu_create_chunk()
|
H A D | gup.c | 221 struct page *next = nth_page(start, i); in gup_folio_range_next() 1237 subpage = nth_page(page, j); in __get_user_pages() 2780 pages[nr] = nth_page(page, nr); in record_subpages() 2815 page = nth_page(pte_page(pte), (addr & (sz - 1)) >> PAGE_SHIFT); in gup_hugepte() 2886 page = nth_page(pmd_page(orig), (addr & ~PMD_MASK) >> PAGE_SHIFT); in gup_huge_pmd() 2930 page = nth_page(pud_page(orig), (addr & ~PUD_MASK) >> PAGE_SHIFT); in gup_huge_pud() 2970 page = nth_page(pgd_page(orig), (addr & ~PGDIR_MASK) >> PAGE_SHIFT); in gup_huge_pgd()
|
H A D | cma.c | 504 page_kasan_tag_reset(nth_page(page, i)); in cma_alloc()
|
H A D | memory.c | 6024 p = nth_page(page, i); in clear_gigantic_page()
|
H A D | hugetlb.c | 6525 page = nth_page(page, ((address & ~huge_page_mask(h)) >> PAGE_SHIFT)); in hugetlb_follow_page_mask()
|
/openbmc/linux/tools/testing/scatterlist/linux/ |
H A D | mm.h | 54 #define nth_page(page,n) pfn_to_page(page_to_pfn((page)) + (n)) macro
|
/openbmc/linux/arch/mips/mm/ |
H A D | cache.c | 120 addr = (unsigned long)kmap_local_page(nth_page(page, i)); in __flush_dcache_pages()
|
/openbmc/linux/include/linux/ |
H A D | scatterlist.h | 582 return nth_page(sg_page(piter->sg), piter->sg_pgoffset); in sg_page_iter_page()
|
H A D | page-flags.h | 281 #define folio_page(folio, n) nth_page(&(folio)->page, n)
|
H A D | mm.h | 217 #define nth_page(page,n) pfn_to_page(page_to_pfn((page)) + (n)) macro 220 #define nth_page(page,n) ((page) + (n)) macro
|
/openbmc/linux/mm/kfence/ |
H A D | core.c | 596 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()
|
/openbmc/linux/drivers/vfio/pci/pds/ |
H A D | lm.c | 154 return nth_page(sg_page(sg), in pds_vfio_get_file_page()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | tifm_sd.c | 193 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()
|
H A D | usdhi6rol0.c | 326 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()
|
/openbmc/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_pages.c | 640 return nth_page(sg_page(sg), offset); in __i915_gem_object_get_page()
|
/openbmc/linux/drivers/memstick/host/ |
H A D | tifm_ms.c | 204 pg = nth_page(sg_page(&host->req->sg), in tifm_ms_transfer_data()
|
H A D | jmb38x_ms.c | 320 pg = nth_page(sg_page(&host->req->sg), in jmb38x_ms_transfer_data()
|
/openbmc/linux/drivers/ata/ |
H A D | libata-sff.c | 618 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()
|
/openbmc/linux/fs/hugetlbfs/ |
H A D | inode.c | 309 page = nth_page(page, offset / PAGE_SIZE); in adjust_range_hwpoison() 323 page = nth_page(page, 1); in adjust_range_hwpoison()
|
/openbmc/linux/drivers/vfio/pci/mlx5/ |
H A D | main.c | 58 return nth_page(sg_page(sg), in mlx5vf_get_migration_page()
|
/openbmc/linux/drivers/memstick/core/ |
H A D | mspro_block.c | 563 nth_page(sg_page(&(msb->req_sg[msb->current_seg])), in h_mspro_block_transfer_data()
|
/openbmc/linux/drivers/scsi/ |
H A D | scsi_lib.c | 3039 page = nth_page(sg_page(sg), (*offset >> PAGE_SHIFT)); in scsi_kmap_atomic_sg()
|
H A D | sg.c | 1245 struct page *page = nth_page(rsv_schp->pages[k], in sg_vma_fault()
|