/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.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 | 121 static inline bool transhuge_vma_suitable(struct vm_area_struct *vma, in transhuge_vma_suitable() 136 static inline bool transhuge_vma_enabled(struct vm_area_struct *vma, in transhuge_vma_enabled() 150 static inline bool __transparent_hugepage_enabled(struct vm_area_struct *vma) in __transparent_hugepage_enabled() 240 struct vm_area_struct *vma) in pmd_trans_huge_lock() 248 struct vm_area_struct *vma) in pud_trans_huge_lock() 360 static inline bool __transparent_hugepage_enabled(struct vm_area_struct *vma) in __transparent_hugepage_enabled() 365 static inline bool transparent_hugepage_active(struct vm_area_struct *vma) in transparent_hugepage_active() 370 static inline bool transhuge_vma_suitable(struct vm_area_struct *vma, in transhuge_vma_suitable() 376 static inline bool transhuge_vma_enabled(struct vm_area_struct *vma, in transhuge_vma_enabled() 412 static inline void __split_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd, in __split_huge_pmd() [all …]
|
D | mm_purgeable.h | 46 static inline bool lock_uxpte(struct vm_area_struct *vma, in lock_uxpte() 52 static inline void unlock_uxpte(struct vm_area_struct *vma, in unlock_uxpte() 61 static inline bool uxpte_set_present(struct vm_area_struct *vma, in uxpte_set_present() 67 static inline void uxpte_clear_present(struct vm_area_struct *vma, in uxpte_clear_present()
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/common_modules/xpm/core/ |
D | xpm_hck.c | 27 static bool xpm_is_anonymous_vma(struct vm_area_struct *vma) in xpm_is_anonymous_vma() 48 static int xpm_validate_signature(struct vm_area_struct *vma, in xpm_validate_signature() 57 static int xpm_check_code_segment(bool is_exec, struct vm_area_struct *vma, in xpm_check_code_segment() 113 static int xpm_check_signature(struct vm_area_struct *vma, unsigned long prot) in xpm_check_signature() 150 static int xpm_check_prot(struct vm_area_struct *vma, unsigned long prot) in xpm_check_prot() 180 static int xpm_common_check(struct vm_area_struct *vma, unsigned long prot) in xpm_common_check() 195 static int xpm_mmap_check(struct vm_area_struct *vma) in xpm_mmap_check() 200 static int xpm_mprotect_check(struct vm_area_struct *vma, in xpm_mprotect_check() 272 static bool is_xpm_readonly_region(struct vm_area_struct *vma) in is_xpm_readonly_region() 285 void xpm_integrity_check(struct vm_area_struct *vma, unsigned int vflags, in xpm_integrity_check() [all …]
|
/kernel/linux/linux-5.10/mm/ |
D | mmap.c | 130 void vma_set_page_prot(struct vm_area_struct *vma) in vma_set_page_prot() 147 static void __remove_shared_vm_struct(struct vm_area_struct *vma, in __remove_shared_vm_struct() 164 void unlink_file_vma(struct vm_area_struct *vma) in unlink_file_vma() 179 static struct vm_area_struct *remove_vma(struct vm_area_struct *vma) in remove_vma() 294 static inline unsigned long vma_compute_gap(struct vm_area_struct *vma) in vma_compute_gap() 316 static unsigned long vma_compute_subtree_gap(struct vm_area_struct *vma) in vma_compute_subtree_gap() 342 struct vm_area_struct *vma; in browse_rb() local 387 struct vm_area_struct *vma; in validate_mm_rb() local 400 struct vm_area_struct *vma = mm->mmap; in validate_mm() local 457 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 | 89 struct anon_vma_name *anon_vma_name(struct vm_area_struct *vma) in anon_vma_name() 100 static int replace_anon_vma_name(struct vm_area_struct *vma, in replace_anon_vma_name() 120 static int replace_anon_vma_name(struct vm_area_struct *vma, in replace_anon_vma_name() 135 static int madvise_update_vma(struct vm_area_struct *vma, in madvise_update_vma() 195 struct vm_area_struct *vma = walk->private; in swapin_walk_pmd_entry() local 230 static void force_shm_swapin_readahead(struct vm_area_struct *vma, in force_shm_swapin_readahead() 264 static long madvise_willneed(struct vm_area_struct *vma, in madvise_willneed() 320 struct vm_area_struct *vma = walk->vma; in madvise_cold_or_pageout_pte_range() local 493 struct vm_area_struct *vma, in madvise_cold_page_range() 506 static long madvise_cold(struct vm_area_struct *vma, in madvise_cold() [all …]
|
D | rmap.c | 146 static void anon_vma_chain_link(struct vm_area_struct *vma, in anon_vma_chain_link() 184 int __anon_vma_prepare(struct vm_area_struct *vma) in __anon_vma_prepare() 330 int anon_vma_fork(struct vm_area_struct *vma, struct vm_area_struct *pvma) in anon_vma_fork() 392 void unlink_anon_vmas(struct vm_area_struct *vma) in unlink_anon_vmas() 712 unsigned long page_address_in_vma(struct page *page, struct vm_area_struct *vma) in page_address_in_vma() 775 static bool page_referenced_one(struct page *page, struct vm_area_struct *vma, in page_referenced_one() 841 static bool invalid_page_referenced_vma(struct vm_area_struct *vma, void *arg) in invalid_page_referenced_vma() 910 static bool page_mkclean_one(struct page *page, struct vm_area_struct *vma, in page_mkclean_one() 984 static bool invalid_mkclean_vma(struct vm_area_struct *vma, void *arg) in invalid_mkclean_vma() 1027 void page_move_anon_rmap(struct page *page, struct vm_area_struct *vma) in page_move_anon_rmap() [all …]
|
D | huge_memory.c | 66 static inline bool file_thp_enabled(struct vm_area_struct *vma) in file_thp_enabled() 73 bool transparent_hugepage_active(struct vm_area_struct *vma) in transparent_hugepage_active() 479 pmd_t maybe_pmd_mkwrite(pmd_t pmd, struct vm_area_struct *vma) in maybe_pmd_mkwrite() 584 struct vm_area_struct *vma = vmf->vma; in __do_huge_pmd_anonymous_page() local 668 static inline gfp_t alloc_hugepage_direct_gfpmask(struct vm_area_struct *vma) in alloc_hugepage_direct_gfpmask() 696 struct vm_area_struct *vma, unsigned long haddr, pmd_t *pmd, in set_huge_zero_page() 713 struct vm_area_struct *vma = vmf->vma; in do_huge_pmd_anonymous_page() local 772 static void insert_pfn_pmd(struct vm_area_struct *vma, unsigned long addr, in insert_pfn_pmd() 836 struct vm_area_struct *vma = vmf->vma; in vmf_insert_pfn_pmd_prot() local 867 static pud_t maybe_pud_mkwrite(pud_t pud, struct vm_area_struct *vma) in maybe_pud_mkwrite() [all …]
|
D | memory.c | 392 void free_pgtables(struct mmu_gather *tlb, struct vm_area_struct *vma, in free_pgtables() 503 static void print_bad_pte(struct vm_area_struct *vma, unsigned long addr, in print_bad_pte() 596 struct page *vm_normal_page(struct vm_area_struct *vma, unsigned long addr, in vm_normal_page() 652 struct page *vm_normal_page_pmd(struct vm_area_struct *vma, unsigned long addr, in vm_normal_page_pmd() 917 page_copy_prealloc(struct mm_struct *src_mm, struct vm_area_struct *vma, in page_copy_prealloc() 1232 struct vm_area_struct *vma, pmd_t *pmd, in zap_pte_range() 1372 struct vm_area_struct *vma, pud_t *pud, in zap_pmd_range() 1418 struct vm_area_struct *vma, p4d_t *p4d, in zap_pud_range() 1447 struct vm_area_struct *vma, pgd_t *pgd, in zap_p4d_range() 1466 struct vm_area_struct *vma, in unmap_page_range() [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() 333 static unsigned long move_vma(struct vm_area_struct *vma, in move_vma() 480 struct vm_area_struct *vma = find_vma(mm, addr); in vma_to_resize() local 552 struct vm_area_struct *vma; in mremap_to() local 639 static int vma_expandable(struct vm_area_struct *vma, unsigned long delta) in vma_expandable() [all …]
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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
|
/kernel/linux/linux-5.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
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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
|