/Linux-v5.10/drivers/gpu/drm/i915/ |
D | i915_vma.h | 50 static inline bool i915_vma_is_active(const struct i915_vma *vma) in i915_vma_is_active() 63 static inline bool i915_vma_is_ggtt(const struct i915_vma *vma) in i915_vma_is_ggtt() 68 static inline bool i915_vma_has_ggtt_write(const struct i915_vma *vma) in i915_vma_has_ggtt_write() 73 static inline void i915_vma_set_ggtt_write(struct i915_vma *vma) in i915_vma_set_ggtt_write() 79 static inline bool i915_vma_unset_ggtt_write(struct i915_vma *vma) in i915_vma_unset_ggtt_write() 87 static inline bool i915_vma_is_map_and_fenceable(const struct i915_vma *vma) in i915_vma_is_map_and_fenceable() 92 static inline bool i915_vma_set_userfault(struct i915_vma *vma) in i915_vma_set_userfault() 98 static inline void i915_vma_unset_userfault(struct i915_vma *vma) in i915_vma_unset_userfault() 103 static inline bool i915_vma_has_userfault(const struct i915_vma *vma) in i915_vma_has_userfault() 108 static inline bool i915_vma_is_closed(const struct i915_vma *vma) in i915_vma_is_closed() [all …]
|
D | i915_vma.c | 51 void i915_vma_free(struct i915_vma *vma) in i915_vma_free() 60 static void vma_print_allocator(struct i915_vma *vma, const char *reason) in vma_print_allocator() 80 static void vma_print_allocator(struct i915_vma *vma, const char *reason) in vma_print_allocator() 108 struct i915_vma *vma; in vma_create() local 241 struct i915_vma *vma = rb_entry(rb, struct i915_vma, obj_node); in vma_lookup() local 275 struct i915_vma *vma; in i915_vma_instance() local 296 struct i915_vma *vma; member 306 struct i915_vma *vma = vw->vma; in __vma_bind() local 346 int i915_vma_wait_for_bind(struct i915_vma *vma) in i915_vma_wait_for_bind() 376 int i915_vma_bind(struct i915_vma *vma, in i915_vma_bind() [all …]
|
/Linux-v5.10/include/linux/ |
D | userfaultfd_k.h | 49 static inline bool is_mergeable_vm_userfaultfd_ctx(struct vm_area_struct *vma, in is_mergeable_vm_userfaultfd_ctx() 55 static inline bool userfaultfd_missing(struct vm_area_struct *vma) in userfaultfd_missing() 60 static inline bool userfaultfd_wp(struct vm_area_struct *vma) in userfaultfd_wp() 65 static inline bool userfaultfd_pte_wp(struct vm_area_struct *vma, in userfaultfd_pte_wp() 71 static inline bool userfaultfd_huge_pmd_wp(struct vm_area_struct *vma, in userfaultfd_huge_pmd_wp() 77 static inline bool userfaultfd_armed(struct vm_area_struct *vma) in userfaultfd_armed() 110 static inline bool is_mergeable_vm_userfaultfd_ctx(struct vm_area_struct *vma, in is_mergeable_vm_userfaultfd_ctx() 116 static inline bool userfaultfd_missing(struct vm_area_struct *vma) in userfaultfd_missing() 121 static inline bool userfaultfd_wp(struct vm_area_struct *vma) in userfaultfd_wp() 126 static inline bool userfaultfd_pte_wp(struct vm_area_struct *vma, in userfaultfd_pte_wp() [all …]
|
D | huge_mm.h | 130 static inline bool __transparent_hugepage_enabled(struct vm_area_struct *vma) in __transparent_hugepage_enabled() 163 static inline bool transhuge_vma_suitable(struct vm_area_struct *vma, in transhuge_vma_suitable() 243 struct vm_area_struct *vma) in pmd_trans_huge_lock() 251 struct vm_area_struct *vma) in pud_trans_huge_lock() 362 static inline bool __transparent_hugepage_enabled(struct vm_area_struct *vma) in __transparent_hugepage_enabled() 367 static inline bool transparent_hugepage_enabled(struct vm_area_struct *vma) in transparent_hugepage_enabled() 372 static inline bool transhuge_vma_suitable(struct vm_area_struct *vma, in transhuge_vma_suitable() 408 static inline void __split_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd, in __split_huge_pmd() 410 static inline void split_huge_pmd_address(struct vm_area_struct *vma, in split_huge_pmd_address() 416 static inline int hugepage_madvise(struct vm_area_struct *vma, in hugepage_madvise() [all …]
|
/Linux-v5.10/drivers/gpu/drm/ |
D | drm_vm.c | 61 struct vm_area_struct *vma; member 69 struct vm_area_struct *vma) in drm_io_prot() 94 static pgprot_t drm_dma_prot(uint32_t map_type, struct vm_area_struct *vma) in drm_dma_prot() 117 struct vm_area_struct *vma = vmf->vma; in drm_vm_fault() local 206 struct vm_area_struct *vma = vmf->vma; in drm_vm_shm_fault() local 235 static void drm_vm_shm_close(struct vm_area_struct *vma) in drm_vm_shm_close() 306 struct vm_area_struct *vma = vmf->vma; in drm_vm_dma_fault() local 341 struct vm_area_struct *vma = vmf->vma; in drm_vm_sg_fault() local 395 struct vm_area_struct *vma) in drm_vm_open_locked() 410 static void drm_vm_open(struct vm_area_struct *vma) in drm_vm_open() [all …]
|
/Linux-v5.10/mm/ |
D | mmap.c | 125 void vma_set_page_prot(struct vm_area_struct *vma) in vma_set_page_prot() 142 static void __remove_shared_vm_struct(struct vm_area_struct *vma, in __remove_shared_vm_struct() 159 void unlink_file_vma(struct vm_area_struct *vma) in unlink_file_vma() 174 static struct vm_area_struct *remove_vma(struct vm_area_struct *vma) in remove_vma() 289 static inline unsigned long vma_compute_gap(struct vm_area_struct *vma) in vma_compute_gap() 311 static unsigned long vma_compute_subtree_gap(struct vm_area_struct *vma) in vma_compute_subtree_gap() 337 struct vm_area_struct *vma; in browse_rb() local 382 struct vm_area_struct *vma; in validate_mm_rb() local 395 struct vm_area_struct *vma = mm->mmap; in validate_mm() local 452 static inline void vma_rb_insert(struct vm_area_struct *vma, in vma_rb_insert() [all …]
|
D | pgtable-generic.c | 64 int ptep_set_access_flags(struct vm_area_struct *vma, in ptep_set_access_flags() 78 int ptep_clear_flush_young(struct vm_area_struct *vma, in ptep_clear_flush_young() 90 pte_t ptep_clear_flush(struct vm_area_struct *vma, unsigned long address, in ptep_clear_flush() 105 int pmdp_set_access_flags(struct vm_area_struct *vma, in pmdp_set_access_flags() 120 int pmdp_clear_flush_young(struct vm_area_struct *vma, in pmdp_clear_flush_young() 133 pmd_t pmdp_huge_clear_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_huge_clear_flush() 146 pud_t pudp_huge_clear_flush(struct vm_area_struct *vma, unsigned long address, in pudp_huge_clear_flush() 194 pmd_t pmdp_invalidate(struct vm_area_struct *vma, unsigned long address, in pmdp_invalidate() 204 pmd_t pmdp_collapse_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_collapse_flush()
|
D | madvise.c | 67 static long madvise_behavior(struct vm_area_struct *vma, in madvise_behavior() 189 struct vm_area_struct *vma = walk->private; in swapin_walk_pmd_entry() local 224 static void force_shm_swapin_readahead(struct vm_area_struct *vma, in force_shm_swapin_readahead() 258 static long madvise_willneed(struct vm_area_struct *vma, in madvise_willneed() 314 struct vm_area_struct *vma = walk->vma; in madvise_cold_or_pageout_pte_range() local 484 struct vm_area_struct *vma, in madvise_cold_page_range() 497 static long madvise_cold(struct vm_area_struct *vma, in madvise_cold() 517 struct vm_area_struct *vma, in madvise_pageout_page_range() 530 static inline bool can_do_pageout(struct vm_area_struct *vma) in can_do_pageout() 546 static long madvise_pageout(struct vm_area_struct *vma, in madvise_pageout() [all …]
|
D | rmap.c | 144 static void anon_vma_chain_link(struct vm_area_struct *vma, in anon_vma_chain_link() 182 int __anon_vma_prepare(struct vm_area_struct *vma) in __anon_vma_prepare() 328 int anon_vma_fork(struct vm_area_struct *vma, struct vm_area_struct *pvma) in anon_vma_fork() 389 void unlink_anon_vmas(struct vm_area_struct *vma) in unlink_anon_vmas() 701 unsigned long page_address_in_vma(struct page *page, struct vm_area_struct *vma) in page_address_in_vma() 767 static bool page_referenced_one(struct page *page, struct vm_area_struct *vma, in page_referenced_one() 829 static bool invalid_page_referenced_vma(struct vm_area_struct *vma, void *arg) in invalid_page_referenced_vma() 897 static bool page_mkclean_one(struct page *page, struct vm_area_struct *vma, in page_mkclean_one() 971 static bool invalid_mkclean_vma(struct vm_area_struct *vma, void *arg) in invalid_mkclean_vma() 1014 void page_move_anon_rmap(struct page *page, struct vm_area_struct *vma) in page_move_anon_rmap() [all …]
|
D | memory.c | 390 void free_pgtables(struct mmu_gather *tlb, struct vm_area_struct *vma, in free_pgtables() 501 static void print_bad_pte(struct vm_area_struct *vma, unsigned long addr, in print_bad_pte() 594 struct page *vm_normal_page(struct vm_area_struct *vma, unsigned long addr, in vm_normal_page() 650 struct page *vm_normal_page_pmd(struct vm_area_struct *vma, unsigned long addr, in vm_normal_page_pmd() 699 pte_t *dst_pte, pte_t *src_pte, struct vm_area_struct *vma, in copy_nonpresent_pte() 904 page_copy_prealloc(struct mm_struct *src_mm, struct vm_area_struct *vma, in page_copy_prealloc() 1196 struct vm_area_struct *vma, pmd_t *pmd, in zap_pte_range() 1331 struct vm_area_struct *vma, pud_t *pud, in zap_pmd_range() 1366 struct vm_area_struct *vma, p4d_t *p4d, in zap_pud_range() 1395 struct vm_area_struct *vma, pgd_t *pgd, in zap_p4d_range() [all …]
|
D | huge_memory.c | 65 bool transparent_hugepage_enabled(struct vm_area_struct *vma) in transparent_hugepage_enabled() 463 pmd_t maybe_pmd_mkwrite(pmd_t pmd, struct vm_area_struct *vma) in maybe_pmd_mkwrite() 568 struct vm_area_struct *vma = vmf->vma; in __do_huge_pmd_anonymous_page() local 652 static inline gfp_t alloc_hugepage_direct_gfpmask(struct vm_area_struct *vma) in alloc_hugepage_direct_gfpmask() 680 struct vm_area_struct *vma, unsigned long haddr, pmd_t *pmd, in set_huge_zero_page() 697 struct vm_area_struct *vma = vmf->vma; in do_huge_pmd_anonymous_page() local 756 static void insert_pfn_pmd(struct vm_area_struct *vma, unsigned long addr, in insert_pfn_pmd() 820 struct vm_area_struct *vma = vmf->vma; in vmf_insert_pfn_pmd_prot() local 851 static pud_t maybe_pud_mkwrite(pud_t pud, struct vm_area_struct *vma) in maybe_pud_mkwrite() 858 static void insert_pfn_pud(struct vm_area_struct *vma, unsigned long addr, in insert_pfn_pud() [all …]
|
D | nommu.c | 100 struct vm_area_struct *vma; in kobjsize() local 124 int follow_pfn(struct vm_area_struct *vma, unsigned long address, in follow_pfn() 173 struct vm_area_struct *vma; in __vmalloc_user_flags() local 363 int vm_insert_page(struct vm_area_struct *vma, unsigned long addr, in vm_insert_page() 370 int vm_map_pages(struct vm_area_struct *vma, struct page **pages, in vm_map_pages() 377 int vm_map_pages_zero(struct vm_area_struct *vma, struct page **pages, in vm_map_pages_zero() 563 static void add_vma_to_mm(struct mm_struct *mm, struct vm_area_struct *vma) in add_vma_to_mm() 627 static void delete_vma_from_mm(struct vm_area_struct *vma) in delete_vma_from_mm() 663 static void delete_vma(struct mm_struct *mm, struct vm_area_struct *vma) in delete_vma() 679 struct vm_area_struct *vma; in find_vma() local [all …]
|
D | mremap.c | 59 static pmd_t *alloc_new_pmd(struct mm_struct *mm, struct vm_area_struct *vma, in alloc_new_pmd() 84 static void take_rmap_locks(struct vm_area_struct *vma) in take_rmap_locks() 92 static void drop_rmap_locks(struct vm_area_struct *vma) in drop_rmap_locks() 115 static void move_ptes(struct vm_area_struct *vma, pmd_t *old_pmd, in move_ptes() 195 static bool move_normal_pmd(struct vm_area_struct *vma, unsigned long old_addr, in move_normal_pmd() 254 unsigned long move_page_tables(struct vm_area_struct *vma, in move_page_tables() 332 static unsigned long move_vma(struct vm_area_struct *vma, in move_vma() 479 struct vm_area_struct *vma = find_vma(mm, addr); in vma_to_resize() local 551 struct vm_area_struct *vma; in mremap_to() local 638 static int vma_expandable(struct vm_area_struct *vma, unsigned long delta) in vma_expandable() [all …]
|
/Linux-v5.10/arch/powerpc/include/asm/book3s/64/ |
D | tlbflush.h | 50 static inline void flush_pmd_tlb_range(struct vm_area_struct *vma, in flush_pmd_tlb_range() 59 static inline void flush_hugetlb_tlb_range(struct vm_area_struct *vma, in flush_hugetlb_tlb_range() 68 static inline void flush_tlb_range(struct vm_area_struct *vma, in flush_tlb_range() 91 static inline void local_flush_tlb_page(struct vm_area_struct *vma, in local_flush_tlb_page() 121 static inline void flush_tlb_page(struct vm_area_struct *vma, in flush_tlb_page() 137 #define flush_tlb_page(vma, addr) local_flush_tlb_page(vma, addr) argument 142 static inline void flush_tlb_fix_spurious_fault(struct vm_area_struct *vma, in flush_tlb_fix_spurious_fault()
|
/Linux-v5.10/drivers/gpu/drm/nouveau/ |
D | nouveau_vmm.c | 29 nouveau_vma_unmap(struct nouveau_vma *vma) in nouveau_vma_unmap() 38 nouveau_vma_map(struct nouveau_vma *vma, struct nouveau_mem *mem) in nouveau_vma_map() 51 struct nouveau_vma *vma; in nouveau_vma_find() local 64 struct nouveau_vma *vma = *pvma; in nouveau_vma_del() local 81 struct nouveau_vma *vma; in nouveau_vma_new() local
|
/Linux-v5.10/arch/powerpc/mm/book3s64/ |
D | radix_hugetlbpage.c | 10 void radix__flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr) in radix__flush_hugetlb_page() 19 void radix__local_flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr) in radix__local_flush_hugetlb_page() 28 void radix__flush_hugetlb_tlb_range(struct vm_area_struct *vma, unsigned long start, in radix__flush_hugetlb_tlb_range() 49 struct vm_area_struct *vma; in radix__hugetlb_get_unmapped_area() local 93 void radix__huge_ptep_modify_prot_commit(struct vm_area_struct *vma, in radix__huge_ptep_modify_prot_commit()
|
/Linux-v5.10/include/asm-generic/ |
D | cacheflush.h | 33 static inline void flush_cache_range(struct vm_area_struct *vma, in flush_cache_range() 41 static inline void flush_cache_page(struct vm_area_struct *vma, in flush_cache_page() 79 static inline void flush_icache_page(struct vm_area_struct *vma, in flush_icache_page() 86 static inline void flush_icache_user_page(struct vm_area_struct *vma, in flush_icache_user_page() 106 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument 114 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
|
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | vmm.c | 750 struct nvkm_vma *vma = kzalloc(sizeof(*vma), GFP_KERNEL); in nvkm_vma_new() local 761 nvkm_vma_tail(struct nvkm_vma *vma, u64 tail) in nvkm_vma_tail() 785 nvkm_vmm_free_remove(struct nvkm_vmm *vmm, struct nvkm_vma *vma) in nvkm_vmm_free_remove() 791 nvkm_vmm_free_delete(struct nvkm_vmm *vmm, struct nvkm_vma *vma) in nvkm_vmm_free_delete() 799 nvkm_vmm_free_insert(struct nvkm_vmm *vmm, struct nvkm_vma *vma) in nvkm_vmm_free_insert() 827 nvkm_vmm_node_remove(struct nvkm_vmm *vmm, struct nvkm_vma *vma) in nvkm_vmm_node_remove() 833 nvkm_vmm_node_delete(struct nvkm_vmm *vmm, struct nvkm_vma *vma) in nvkm_vmm_node_delete() 841 nvkm_vmm_node_insert(struct nvkm_vmm *vmm, struct nvkm_vma *vma) in nvkm_vmm_node_insert() 867 struct nvkm_vma *vma = rb_entry(node, typeof(*vma), tree); in nvkm_vmm_node_search() local 884 struct nvkm_vma *vma, struct nvkm_vma *next, u64 size) in nvkm_vmm_node_merge() [all …]
|
/Linux-v5.10/drivers/gpu/drm/i915/gem/ |
D | i915_gem_client_blt.c | 13 struct i915_vma *vma; member 19 static int vma_set_pages(struct i915_vma *vma) in vma_set_pages() 29 static void vma_clear_pages(struct i915_vma *vma) in vma_clear_pages() 37 struct i915_vma *vma, in vma_bind() 44 static void vma_unbind(struct i915_address_space *vm, struct i915_vma *vma) in vma_unbind() 62 struct i915_vma *vma; in create_sleeve() local 160 struct i915_vma *vma = w->sleeve->vma; in clear_pages_worker() local 255 struct i915_vma *vma = w->sleeve->vma; in pin_wait_clear_pages_work() local
|
/Linux-v5.10/drivers/gpu/drm/msm/ |
D | msm_gem_vma.c | 42 struct msm_gem_vma *vma) in msm_gem_purge_vma() 62 struct msm_gem_vma *vma) in msm_gem_unmap_vma() 70 struct msm_gem_vma *vma, int prot, in msm_gem_map_vma() 101 struct msm_gem_vma *vma) in msm_gem_close_vma() 118 struct msm_gem_vma *vma, int npages, in msm_gem_init_vma()
|
/Linux-v5.10/drivers/misc/ocxl/ |
D | context.c | 96 static vm_fault_t map_afu_irq(struct vm_area_struct *vma, unsigned long address, in map_afu_irq() 109 static vm_fault_t map_pp_mmio(struct vm_area_struct *vma, unsigned long address, in map_pp_mmio() 139 struct vm_area_struct *vma = vmf->vma; in ocxl_mmap_fault() local 160 struct vm_area_struct *vma) in check_mmap_afu_irq() 186 struct vm_area_struct *vma) in check_mmap_mmio() 194 int ocxl_context_mmap(struct ocxl_context *ctx, struct vm_area_struct *vma) in ocxl_context_mmap()
|
/Linux-v5.10/drivers/gpu/drm/i915/selftests/ |
D | mock_gtt.c | 36 struct i915_vma *vma, in mock_insert_entries() 43 struct i915_vma *vma, in mock_bind_ppgtt() 52 struct i915_vma *vma) in mock_unbind_ppgtt() 98 struct i915_vma *vma, in mock_bind_ggtt() 105 struct i915_vma *vma) in mock_unbind_ggtt()
|
/Linux-v5.10/drivers/gpu/drm/ttm/ |
D | ttm_bo_vm.c | 271 struct vm_area_struct *vma = vmf->vma; in ttm_bo_vm_fault_reserved() local 407 struct vm_area_struct *vma = vmf->vma; in ttm_bo_vm_fault() local 427 void ttm_bo_vm_open(struct vm_area_struct *vma) in ttm_bo_vm_open() 437 void ttm_bo_vm_close(struct vm_area_struct *vma) in ttm_bo_vm_close() 485 int ttm_bo_vm_access(struct vm_area_struct *vma, unsigned long addr, in ttm_bo_vm_access() 557 static void ttm_bo_mmap_vma_setup(struct ttm_buffer_object *bo, struct vm_area_struct *vma) in ttm_bo_mmap_vma_setup() 579 int ttm_bo_mmap(struct file *filp, struct vm_area_struct *vma, in ttm_bo_mmap() 610 int ttm_bo_mmap_obj(struct vm_area_struct *vma, struct ttm_buffer_object *bo) in ttm_bo_mmap_obj()
|
/Linux-v5.10/arch/csky/abiv2/inc/abi/ |
D | cacheflush.h | 16 #define flush_cache_range(vma, start, end) do { } while (0) argument 17 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0) argument 30 #define flush_icache_page(vma, page) do { } while (0) argument 41 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument 52 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
|
/Linux-v5.10/arch/xtensa/mm/ |
D | cache.c | 107 unsigned long vaddr, struct vm_area_struct *vma) in copy_user_highpage() 183 void local_flush_cache_range(struct vm_area_struct *vma, in local_flush_cache_range() 198 void local_flush_cache_page(struct vm_area_struct *vma, unsigned long address, in local_flush_cache_page() 216 update_mmu_cache(struct vm_area_struct * vma, unsigned long addr, pte_t *ptep) in update_mmu_cache() 265 void copy_to_user_page(struct vm_area_struct *vma, struct page *page, in copy_to_user_page() 305 extern void copy_from_user_page(struct vm_area_struct *vma, struct page *page, in copy_from_user_page()
|