Home
last modified time | relevance | path

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

/linux/kernel/dma/
H A Dremap.c52 pages[i] = nth_page(page, i); in dma_common_contiguous_remap()
/linux/mm/
H A Dpercpu-km.c72 pcpu_set_page_chunk(nth_page(pages, i), chunk); in pcpu_create_chunk()
H A Dcma.c483 page_kasan_tag_reset(nth_page(page, i)); in cma_alloc()
H A Dgup.c236 struct page *next = nth_page(start, i); in gup_folio_range_next()
486 start_page = nth_page(page, (addr & (sz - 1)) >> PAGE_SHIFT); in record_subpages()
488 pages[nr] = nth_page(start_page, nr); in record_subpages()
1554 subpage = nth_page(page, j); in __get_user_pages()
/linux/tools/testing/scatterlist/linux/
H A Dmm.h54 #define nth_page(page,n) pfn_to_page(page_to_pfn((page)) + (n)) macro
/linux/arch/mips/mm/
H A Dcache.c120 addr = (unsigned long)kmap_local_page(nth_page(page, i)); in __flush_dcache_pages()
/linux/mm/kfence/
H A Dcore.c615 struct slab *slab = page_slab(nth_page(pages, i)); in kfence_init_pool()
667 struct slab *slab = page_slab(nth_page(pages, i)); in kfence_init_pool_early()
/linux/include/linux/
H A Dscatterlist.h582 return nth_page(sg_page(piter->sg), piter->sg_pgoffset); in sg_page_iter_page()
H A Dmm.h223 #define nth_page(page,n) pfn_to_page(page_to_pfn((page)) + (n)) macro
226 #define nth_page(page,n) ((page) + (n)) macro
/linux/drivers/mmc/host/
H A Dtifm_sd.c194 pg = nth_page(sg_page(&sg[host->sg_pos]), off >> PAGE_SHIFT); in tifm_sd_transfer_data()
243 pg = nth_page(sg_page(&sg[host->sg_pos]), off >> PAGE_SHIFT); in tifm_sd_bounce_block()
H A 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/drivers/memstick/host/
H A Dtifm_ms.c204 pg = nth_page(sg_page(&host->req->sg), in tifm_ms_transfer_data()
H A Djmb38x_ms.c320 pg = nth_page(sg_page(&host->req->sg), in jmb38x_ms_transfer_data()
/linux/fs/hugetlbfs/
H A Dinode.c284 page = nth_page(page, offset / PAGE_SIZE); in adjust_range_hwpoison()
298 page = nth_page(page, 1); in adjust_range_hwpoison()
/linux/drivers/memstick/core/
H A Dmspro_block.c563 nth_page(sg_page(&(msb->req_sg[msb->current_seg])), in h_mspro_block_transfer_data()
/linux/drivers/scsi/
H A Dscsi_lib.c3131 page = nth_page(sg_page(sg), (*offset >> PAGE_SHIFT)); in scsi_kmap_atomic_sg()