| /linux-6.15/crypto/ |
| H A D | scompress.c | 214 spage = nth_page(spage, soff / PAGE_SIZE); in scomp_acomp_comp_decomp() 219 if (PageHighMem(nth_page(spage, n)) && in scomp_acomp_comp_decomp() 242 dpage = nth_page(dpage, doff / PAGE_SIZE); in scomp_acomp_comp_decomp() 247 if (PageHighMem(nth_page(dpage, n)) && in scomp_acomp_comp_decomp() 286 dpage = nth_page(dpage, 1); in scomp_acomp_comp_decomp()
|
| H A D | ahash.c | 84 walk->pg = nth_page(sg_page(walk->sg), (walk->offset >> PAGE_SHIFT)); in hash_walk_new_entry() 225 page = nth_page(page, offset >> PAGE_SHIFT); in shash_ahash_digest()
|
| /linux-6.15/include/crypto/ |
| H A D | scatterwalk.h | 109 page = nth_page(base_page, offset >> PAGE_SHIFT); in scatterwalk_map() 209 flush_dcache_page(nth_page(base_page, i)); in scatterwalk_done_dst()
|
| /linux-6.15/kernel/dma/ |
| H A D | remap.c | 52 pages[i] = nth_page(page, i); in dma_common_contiguous_remap()
|
| /linux-6.15/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 | 239 struct page *next = nth_page(start, i); in gup_folio_range_next() 493 start_page = nth_page(page, (addr & (sz - 1)) >> PAGE_SHIFT); in record_subpages() 495 pages[nr] = nth_page(start_page, nr); in record_subpages() 1560 subpage = nth_page(page, j); in __get_user_pages()
|
| H A D | pagewalk.c | 973 fw->page = nth_page(page, (addr & (entry_size - 1)) >> PAGE_SHIFT); in folio_walk_start()
|
| H A D | cma.c | 883 page_kasan_tag_reset(nth_page(page, i)); in __cma_alloc()
|
| /linux-6.15/tools/testing/scatterlist/linux/ |
| H A D | mm.h | 54 #define nth_page(page,n) pfn_to_page(page_to_pfn((page)) + (n)) macro
|
| /linux-6.15/arch/mips/mm/ |
| H A D | cache.c | 120 addr = (unsigned long)kmap_local_page(nth_page(page, i)); in __flush_dcache_pages()
|
| /linux-6.15/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 | 315 #define folio_page(folio, n) nth_page(&(folio)->page, n)
|
| H A D | mm.h | 200 #define nth_page(page,n) pfn_to_page(page_to_pfn((page)) + (n)) macro 203 #define nth_page(page,n) ((page) + (n)) macro
|
| /linux-6.15/mm/kfence/ |
| H A D | core.c | 616 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-6.15/drivers/vfio/pci/pds/ |
| H A D | lm.c | 154 return nth_page(sg_page(sg), in pds_vfio_get_file_page()
|
| /linux-6.15/drivers/mmc/host/ |
| H A D | tifm_sd.c | 194 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 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()
|
| /linux-6.15/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_pages.c | 641 return nth_page(sg_page(sg), offset); in __i915_gem_object_get_page()
|
| /linux-6.15/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()
|
| /linux-6.15/drivers/ata/ |
| H A D | libata-sff.c | 617 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-6.15/drivers/vfio/pci/virtio/ |
| H A D | migrate.c | 56 return nth_page(sg_page(sg), in virtiovf_get_migration_page()
|
| /linux-6.15/drivers/vfio/pci/mlx5/ |
| H A D | main.c | 60 return nth_page(sg_page(sg), in mlx5vf_get_migration_page()
|
| /linux-6.15/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()
|
| /linux-6.15/fs/hugetlbfs/ |
| H A D | inode.c | 224 page = nth_page(page, 1); in adjust_range_hwpoison()
|