/linux/drivers/iommu/iommufd/ |
H A D | pages.c | 164 static void iopt_pages_add_npinned(struct iopt_pages *pages, size_t npages) in iopt_pages_add_npinned() 173 static void iopt_pages_sub_npinned(struct iopt_pages *pages, size_t npages) in iopt_pages_sub_npinned() 182 static void iopt_pages_err_unpin(struct iopt_pages *pages, in iopt_pages_err_unpin() 250 static struct iopt_area *iopt_pages_find_domain_area(struct iopt_pages *pages, in iopt_pages_find_domain_area() 591 unsigned long last_index, struct page **pages) in pages_to_xarray() 630 static void batch_from_pages(struct pfn_batch *batch, struct page **pages, in batch_from_pages() 675 static void batch_unpin(struct pfn_batch *batch, struct iopt_pages *pages, in batch_unpin() 766 struct iopt_pages *pages) in pfn_reader_user_init() 785 struct iopt_pages *pages) in pfn_reader_user_destroy() 854 struct iopt_pages *pages, in pfn_reader_user_pin() [all …]
|
H A D | io_pagetable.c | 24 struct iopt_pages *pages; member 199 struct iopt_pages *pages, unsigned long iova, in iopt_insert_area() 395 struct iopt_pages *pages, unsigned long *iova, in iopt_map_common() 446 struct iopt_pages *pages; in iopt_map_user_pages() local 473 struct iopt_pages *pages; in iopt_map_file_pages() local 714 struct iopt_pages *pages; in iopt_unmap_iova_range() local 942 struct iopt_pages *pages = area->pages; in iopt_unfill_domain() local 961 struct iopt_pages *pages = area->pages; in iopt_unfill_domain() local 995 struct iopt_pages *pages = area->pages; in iopt_fill_domain() local 1020 struct iopt_pages *pages = area->pages; in iopt_fill_domain() local [all …]
|
/linux/mm/ |
H A D | gup.c | 35 static inline void sanity_check_pinned_pages(struct page **pages, in sanity_check_pinned_pages() 290 void unpin_user_pages_dirty_lock(struct page **pages, unsigned long npages, in unpin_user_pages_dirty_lock() 375 static void gup_fast_unpin_user_pages(struct page **pages, unsigned long npages) in gup_fast_unpin_user_pages() 401 void unpin_user_pages(struct page **pages, unsigned long npages) in unpin_user_pages() 490 struct page **pages) in record_subpages() 1423 unsigned int gup_flags, struct page **pages, in __get_user_pages() 1717 struct page **pages, in __get_user_pages_locked() 2049 unsigned long nr_pages, struct page **pages, in __get_user_pages_locked() 2292 struct page **pages; member 2484 struct page **pages) in check_and_migrate_movable_pages() [all …]
|
H A D | percpu-vm.c | 34 static struct page **pages; in pcpu_get_pages() local 55 pcpu_free_pages(struct pcpu_chunk * chunk,struct page ** pages,int page_start,int page_end) pcpu_free_pages() argument 83 pcpu_alloc_pages(struct pcpu_chunk * chunk,struct page ** pages,int page_start,int page_end,gfp_t gfp) pcpu_alloc_pages() argument 154 pcpu_unmap_pages(struct pcpu_chunk * chunk,struct page ** pages,int page_start,int page_end) pcpu_unmap_pages() argument 193 __pcpu_map_pages(unsigned long addr,struct page ** pages,int nr_pages) __pcpu_map_pages() argument 215 pcpu_map_pages(struct pcpu_chunk * chunk,struct page ** pages,int page_start,int page_end) pcpu_map_pages() argument 279 struct page **pages; pcpu_populate_chunk() local 315 struct page **pages; pcpu_depopulate_chunk() local [all...] |
H A D | gup_test.c | 10 static void put_back_pages(unsigned int cmd, struct page **pages, in put_back_pages() 39 static void verify_dma_pinned(unsigned int cmd, struct page **pages, in verify_dma_pinned() 69 static void dump_pages_test(struct gup_test *gup, struct page **pages, in dump_pages_test() 106 struct page **pages; in __gup_test_ioctl() local 227 struct page **pages; in pin_longterm_test_start() local
|
H A D | mincore.c | 187 static long do_mincore(unsigned long addr, unsigned long pages, unsigned char *vec) in do_mincore() 198 unsigned long pages = DIV_ROUND_UP(end - addr, PAGE_SIZE); in do_mincore() local 236 unsigned long pages; in SYSCALL_DEFINE3() local
|
/linux/net/ceph/ |
H A D | pagevec.c | 13 void ceph_put_page_vector(struct page **pages, int num_pages, bool dirty) in ceph_put_page_vector() 26 void ceph_release_page_vector(struct page **pages, int num_pages) in ceph_release_page_vector() 41 struct page **pages; in ceph_alloc_page_vector() local 58 void ceph_copy_from_page_vector(struct page **pages, in ceph_copy_from_page_vector() 85 void ceph_zero_page_vector_range(int off, int len, struct page **pages) in ceph_zero_page_vector_range()
|
/linux/drivers/xen/ |
H A D | xlate_mmu.c | 48 static void xen_for_each_gfn(struct page **pages, unsigned nr_gfn, in xen_for_each_gfn() 71 struct page **pages; member 148 struct page **pages) in xen_xlate_remap_gfn_array() 184 int nr, struct page **pages) in xen_xlate_unmap_gfn_range() 217 struct page **pages; in xen_xlate_map_ballooned_pages() local 267 struct page **pages; member
|
H A D | mem-reservation.c | 30 struct page **pages, in __xenmem_reservation_va_mapping_update() 59 struct page **pages) in __xenmem_reservation_va_mapping_reset()
|
/linux/drivers/media/common/videobuf2/ |
H A D | frame_vector.c | 82 struct page **pages; in put_vaddr_frames() local 114 struct page **pages; in frame_vector_to_pages() local 140 struct page **pages; in frame_vector_to_pfns() local
|
/linux/drivers/gpu/drm/i915/gem/selftests/ |
H A D | huge_gem_object.c | 12 struct sg_table *pages) in huge_free_pages() 34 struct sg_table *pages; in huge_get_pages() local 86 struct sg_table *pages) in huge_put_pages()
|
/linux/include/xen/ |
H A D | xen-ops.h | 82 struct page **pages) in xen_xlate_remap_gfn_array() 88 int nr, struct page **pages) in xen_xlate_unmap_gfn_range() 119 struct page **pages) in xen_remap_domain_gfn_array() 178 struct page **pages) in xen_remap_domain_gfn_range()
|
H A D | mem-reservation.h | 38 struct page **pages, in xenmem_reservation_va_mapping_update() 48 struct page **pages) in xenmem_reservation_va_mapping_reset()
|
H A D | grant_table.h | 81 struct page **pages; member 220 struct page *pages; member 222 struct list_head pages; member 242 struct page **pages; member
|
H A D | xen.h | 72 struct page **pages) in xen_alloc_unpopulated_pages() 77 struct page **pages) in xen_free_unpopulated_pages()
|
/linux/include/linux/ |
H A D | balloon_compaction.h | 57 struct list_head pages; /* Pages enqueued & handled to Host */ member 164 static inline void balloon_page_push(struct list_head *pages, struct page *page) in balloon_page_push() 176 static inline struct page *balloon_page_pop(struct list_head *pages) in balloon_page_pop()
|
/linux/drivers/hwtracing/coresight/ |
H A D | coresight-tmc-etr.c | 51 void **pages; member 198 enum dma_data_direction dir, void **pages) in tmc_pages_alloc() 295 static int tmc_alloc_data_pages(struct tmc_sg_table *sg_table, void **pages) in tmc_alloc_data_pages() 329 void **pages) in tmc_alloc_sg_table() 570 unsigned long size, void **pages) in tmc_init_etr_sg_table() 605 void **pages) in tmc_etr_alloc_flat_buf() 704 void **pages) in tmc_etr_alloc_sg_buf() 821 void **pages) in tmc_etr_mode_alloc_buf() 866 int node, void **pages) in tmc_alloc_etr_buf() 1283 int nr_pages, void **pages, bool snapshot) in alloc_etr_buf() [all …]
|
/linux/arch/x86/include/asm/ |
H A D | pgtable_32.h | 60 #define PAGE_TABLE_SIZE(pages) (((pages) / PTRS_PER_PMD) + PTRS_PER_PGD) argument 62 #define PAGE_TABLE_SIZE(pages) ((pages) / PTRS_PER_PGD) argument
|
/linux/drivers/block/xen-blkback/ |
H A D | blkback.c | 246 struct page *pages[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in free_persistent_gnts() local 293 struct page *pages[BLKIF_MAX_SEGMENTS_PER_REQUES in xen_blkbk_unmap_purged_grants() local 647 xen_blkbk_unmap_prepare(struct xen_blkif_ring * ring,struct grant_page ** pages,unsigned int num,struct gnttab_unmap_grant_ref * unmap_ops,struct page ** unmap_pages) xen_blkbk_unmap_prepare() argument 707 struct grant_page **pages = req->segments; xen_blkbk_unmap_and_respond() local 732 xen_blkbk_unmap(struct xen_blkif_ring * ring,struct grant_page * pages[],int num) xen_blkbk_unmap() argument 757 xen_blkbk_map(struct xen_blkif_ring * ring,struct grant_page * pages[],int num,bool ro) xen_blkbk_map() argument 918 struct grant_page **pages = pending_req->indirect_pages; xen_blkbk_parse_indirect() local 1304 struct grant_page **pages = pending_req->segments; dispatch_rw_block_io() local [all...] |
/linux/drivers/staging/media/ipu3/ |
H A D | ipu3-dmamap.c | 20 static void imgu_dmamap_free_buffer(struct page **pages, in imgu_dmamap_free_buffer() 36 struct page **pages; in imgu_dmamap_alloc_buffer() local 100 struct page **pages; in imgu_dmamap_alloc() local
|
/linux/arch/s390/hypfs/ |
H A D | hypfs_diag.c | 56 void *diag204_get_buffer(enum diag204_format fmt, int *pages) in diag204_get_buffer() 96 int pages, rc; in diag204_probe() local 139 int diag204_store(void *buf, int pages) in diag204_store()
|
/linux/fs/isofs/ |
H A D | compress.c | 42 struct page **pages, unsigned poffset, in zisofs_uncompress_block() 207 struct page **pages) in zisofs_fill_pages() 312 struct page **pages; in zisofs_read_folio() local
|
/linux/drivers/media/pci/intel/ipu6/ |
H A D | ipu6-dma.c | 23 struct page **pages; member 62 struct page **pages; in __alloc_buffer() local 101 static void __free_buffer(struct page **pages, size_t size, unsigned long attrs) in __free_buffer() 162 struct page **pages; in ipu6_dma_alloc() local 252 struct page **pages; in ipu6_dma_free() local
|
/linux/kernel/dma/ |
H A D | remap.c | 24 void *dma_common_pages_remap(struct page **pages, size_t size, in dma_common_pages_remap() 44 struct page **pages; in dma_common_contiguous_remap() local
|
/linux/lib/ |
H A D | kunit_iov_iter.c | 52 struct page **pages; in iov_kunit_create_buffer() local 223 iov_kunit_load_bvec(struct kunit * test,struct iov_iter * iter,int dir,struct bio_vec * bvec,unsigned int bvmax,struct page ** pages,size_t npages,size_t bufsize,const struct bvec_test_range * pr) iov_kunit_load_bvec() argument 385 iov_kunit_load_folioq(struct kunit * test,struct iov_iter * iter,int dir,struct folio_queue * folioq,struct page ** pages,size_t npages) iov_kunit_load_folioq() argument 553 iov_kunit_load_xarray(struct kunit * test,struct iov_iter * iter,int dir,struct xarray * xarray,struct page ** pages,size_t npages) iov_kunit_load_xarray() argument 706 struct page **bpages, *pagelist[8], **pages = pagelist; iov_kunit_extract_pages_kvec() local 786 struct page **bpages, *pagelist[8], **pages = pagelist; iov_kunit_extract_pages_bvec() local 865 struct page **bpages, *pagelist[8], **pages = pagelist; iov_kunit_extract_pages_folioq() local 944 struct page **bpages, *pagelist[8], **pages = pagelist; iov_kunit_extract_pages_xarray() local [all...] |