Home
last modified time | relevance | path

Searched defs:pages (Results 1 – 25 of 612) sorted by relevance

12345678910>>...25

/linux-6.6.21/drivers/iommu/iommufd/
Dpages.c163 static void iopt_pages_add_npinned(struct iopt_pages *pages, size_t npages) in iopt_pages_add_npinned()
172 static void iopt_pages_sub_npinned(struct iopt_pages *pages, size_t npages) in iopt_pages_sub_npinned()
181 static void iopt_pages_err_unpin(struct iopt_pages *pages, in iopt_pages_err_unpin()
249 static struct iopt_area *iopt_pages_find_domain_area(struct iopt_pages *pages, in iopt_pages_find_domain_area()
576 unsigned long last_index, struct page **pages) in pages_to_xarray()
615 static void batch_from_pages(struct pfn_batch *batch, struct page **pages, in batch_from_pages()
625 static void batch_unpin(struct pfn_batch *batch, struct iopt_pages *pages, in batch_unpin()
709 struct iopt_pages *pages) in pfn_reader_user_init()
722 struct iopt_pages *pages) in pfn_reader_user_destroy()
737 struct iopt_pages *pages, in pfn_reader_user_pin()
[all …]
Dio_pagetable.c23 struct iopt_pages *pages; member
190 struct iopt_pages *pages, unsigned long iova, in iopt_insert_area()
487 struct iopt_pages *pages; in iopt_unmap_iova_range() local
715 struct iopt_pages *pages = area->pages; in iopt_unfill_domain() local
734 struct iopt_pages *pages = area->pages; in iopt_unfill_domain() local
768 struct iopt_pages *pages = area->pages; in iopt_fill_domain() local
793 struct iopt_pages *pages = area->pages; in iopt_fill_domain() local
1003 struct iopt_pages *pages = area->pages; in iopt_area_split() local
/linux-6.6.21/mm/
Dgup.c33 static inline void sanity_check_pinned_pages(struct page **pages, in sanity_check_pinned_pages()
358 void unpin_user_pages_dirty_lock(struct page **pages, unsigned long npages, in unpin_user_pages_dirty_lock()
443 static void unpin_user_pages_lockless(struct page **pages, unsigned long npages) in unpin_user_pages_lockless()
469 void unpin_user_pages(struct page **pages, unsigned long npages) in unpin_user_pages()
1186 unsigned int gup_flags, struct page **pages, in __get_user_pages()
1467 struct page **pages, in __get_user_pages_locked()
1792 unsigned long nr_pages, struct page **pages, in __get_user_pages_locked()
2031 struct page **pages) in collect_longterm_unpinnable_pages()
2082 struct page **pages) in migrate_longterm_unpinnable_pages()
2162 struct page **pages) in check_and_migrate_movable_pages()
[all …]
Dpercpu-vm.c34 static struct page **pages; in pcpu_get_pages() local
55 struct page **pages, int page_start, int page_end) in pcpu_free_pages()
83 struct page **pages, int page_start, int page_end, in pcpu_alloc_pages()
154 struct page **pages, int page_start, int page_end) in pcpu_unmap_pages()
193 static int __pcpu_map_pages(unsigned long addr, struct page **pages, in __pcpu_map_pages()
215 struct page **pages, int page_start, int page_end) in pcpu_map_pages()
279 struct page **pages; in pcpu_populate_chunk() local
315 struct page **pages; in pcpu_depopulate_chunk() local
Dgup_test.c10 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
Dmincore.c187 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-6.6.21/net/ceph/
Dpagevec.c13 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
61 int ceph_copy_user_to_page_vector(struct page **pages, in ceph_copy_user_to_page_vector()
87 void ceph_copy_to_page_vector(struct page **pages, in ceph_copy_to_page_vector()
110 void ceph_copy_from_page_vector(struct page **pages, in ceph_copy_from_page_vector()
137 void ceph_zero_page_vector_range(int off, int len, struct page **pages) in ceph_zero_page_vector_range()
/linux-6.6.21/drivers/media/common/videobuf2/
Dframe_vector.c82 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-6.6.21/drivers/gpu/drm/i915/gem/selftests/
Dhuge_gem_object.c12 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-6.6.21/drivers/xen/
Dxlate_mmu.c48 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
/linux-6.6.21/include/xen/
Dxen-ops.h82 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()
Dmem-reservation.h38 struct page **pages, in xenmem_reservation_va_mapping_update()
48 struct page **pages) in xenmem_reservation_va_mapping_reset()
Dgrant_table.h81 struct page **pages; member
220 struct page *pages; member
222 struct list_head pages; member
242 struct page **pages; member
Dxen.h72 struct page **pages) in xen_alloc_unpopulated_pages()
77 struct page **pages) in xen_free_unpopulated_pages()
/linux-6.6.21/include/linux/
Dballoon_compaction.h57 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-6.6.21/drivers/hwtracing/coresight/
Dcoresight-tmc-etr.c44 void **pages; member
191 enum dma_data_direction dir, void **pages) in tmc_pages_alloc()
287 static int tmc_alloc_data_pages(struct tmc_sg_table *sg_table, void **pages) in tmc_alloc_data_pages()
321 void **pages) in tmc_alloc_sg_table()
563 unsigned long size, void **pages) in tmc_init_etr_sg_table()
598 void **pages) in tmc_etr_alloc_flat_buf()
697 void **pages) in tmc_etr_alloc_sg_buf()
814 void **pages) in tmc_etr_mode_alloc_buf()
843 int node, void **pages) in tmc_alloc_etr_buf()
1262 int nr_pages, void **pages, bool snapshot) in alloc_etr_buf()
[all …]
/linux-6.6.21/arch/x86/include/asm/
Dpgtable_32.h60 #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-6.6.21/fs/ntfs/
Dfile.c488 pgoff_t index, const unsigned nr_pages, struct page **pages, in __ntfs_grab_cache_pages()
563 static int ntfs_prepare_pages_for_non_resident_write(struct page **pages, in ntfs_prepare_pages_for_non_resident_write()
1353 static inline void ntfs_flush_dcache_pages(struct page **pages, in ntfs_flush_dcache_pages()
1378 struct page **pages, const unsigned nr_pages, in ntfs_commit_pages_after_non_resident_write()
1532 static int ntfs_commit_pages_after_write(struct page **pages, in ntfs_commit_pages_after_write()
1678 static size_t ntfs_copy_from_user_iter(struct page **pages, unsigned nr_pages, in ntfs_copy_from_user_iter()
1727 struct page *pages[NTFS_MAX_PAGES_PER_CLUSTER]; in ntfs_perform_write() local
/linux-6.6.21/drivers/staging/media/ipu3/
Dipu3-dmamap.c20 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-6.6.21/drivers/block/xen-blkback/
Dblkback.c246 struct page *pages[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in free_persistent_gnts() local
293 struct page *pages[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in xen_blkbk_unmap_purged_grants() local
647 struct grant_page **pages, in xen_blkbk_unmap_prepare()
707 struct grant_page **pages = req->segments; in xen_blkbk_unmap_and_respond() local
732 struct grant_page *pages[], in xen_blkbk_unmap()
757 struct grant_page *pages[], in xen_blkbk_map()
918 struct grant_page **pages = pending_req->indirect_pages; in xen_blkbk_parse_indirect() local
1304 struct grant_page **pages = pending_req->segments; in dispatch_rw_block_io() local
/linux-6.6.21/arch/s390/hypfs/
Dhypfs_diag.c58 void *diag204_get_buffer(enum diag204_format fmt, int *pages) in diag204_get_buffer()
98 int pages, rc; in diag204_probe() local
141 int diag204_store(void *buf, int pages) in diag204_store()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gart.c291 int pages) in amdgpu_gart_unbind()
342 int pages, dma_addr_t *dma_addr, uint64_t flags, in amdgpu_gart_map()
378 int pages, dma_addr_t *dma_addr, in amdgpu_gart_bind()
/linux-6.6.21/kernel/dma/
Dremap.c22 void *dma_common_pages_remap(struct page **pages, size_t size, in dma_common_pages_remap()
42 struct page **pages; in dma_common_contiguous_remap() local
/linux-6.6.21/fs/isofs/
Dcompress.c42 struct page **pages, unsigned poffset, in zisofs_uncompress_block()
207 struct page **pages) in zisofs_fill_pages()
313 struct page **pages; in zisofs_read_folio() local
/linux-6.6.21/arch/arm64/include/asm/
Dtlbflush.h159 #define __TLBI_RANGE_NUM(pages, scale) \ argument
367 #define __flush_tlb_range_op(op, start, pages, stride, \ argument
400 #define __flush_s2_tlb_range_op(op, start, pages, stride, tlb_level) \ argument
408 unsigned long asid, pages; in __flush_tlb_range() local

12345678910>>...25