Home
last modified time | relevance | path

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

/linux/include/crypto/
H A Dscatterwalk.h162 page = nth_page(base_page, offset >> PAGE_SHIFT); in scatterwalk_map()
262 flush_dcache_page(nth_page(base_page, i)); in scatterwalk_done_dst()
/linux/mm/
H A Dpercpu-km.c72 pcpu_set_page_chunk(nth_page(pages, i), chunk); in pcpu_create_chunk()
H A Dgup.c240 struct page *next = nth_page(start, i); in gup_folio_range_next()
494 start_page = nth_page(page, (addr & (sz - 1)) >> PAGE_SHIFT); in record_subpages()
496 pages[nr] = nth_page(start_page, nr); in record_subpages()
1515 subpage = nth_page(page, j); in __get_user_pages()
H A Dcma.c885 page_kasan_tag_reset(nth_page(page, i)); in __cma_alloc()
/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/include/linux/
H A Dscatterlist.h603 return nth_page(sg_page(piter->sg), piter->sg_pgoffset); in sg_page_iter_page()
H A Dpage-flags.h319 #define folio_page(folio, n) nth_page(&(folio)->page, n)
H A Dmm.h201 #define nth_page(page,n) pfn_to_page(page_to_pfn((page)) + (n)) macro
204 #define nth_page(page,n) ((page) + (n)) macro
/linux/mm/kfence/
H A Dcore.c616 struct slab *slab = page_slab(nth_page(pages, i)); in kfence_init_pool()
668 struct slab *slab = page_slab(nth_page(pages, i)); in kfence_init_pool()
/linux/drivers/vfio/pci/pds/
H A Dlm.c154 return nth_page(sg_page(sg), in pds_vfio_get_file_page()
/linux/io_uring/
H A Dzcrx.c978 dst_page = nth_page(dst_page, dst_offset / PAGE_SIZE); in io_copy_page()
980 src_page = nth_page(src_page, src_offset / PAGE_SIZE); in io_copy_page()
/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/drivers/ata/
H A Dlibata-sff.c617 page = nth_page(page, (offset >> PAGE_SHIFT)); in ata_pio_sector()
634 ata_pio_xfer(qc, nth_page(page, 1), 0, count - split_len); in ata_pio_sector()
754 page = nth_page(page, (offset >> PAGE_SHIFT)); in __atapi_pio_bytes()
/linux/drivers/mmc/host/
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/vfio/pci/virtio/
H A Dmigrate.c56 return nth_page(sg_page(sg), in virtiovf_get_migration_page()
/linux/fs/hugetlbfs/
H A Dinode.c220 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.c3152 page = nth_page(sg_page(sg), (*offset >> PAGE_SHIFT)); in scsi_kmap_atomic_sg()
H A Dsg.c1238 struct page *page = nth_page(rsv_schp->pages[k], in sg_vma_fault()