/linux-6.3-rc2/drivers/gpu/drm/i915/ |
A D | i915_vma.h | 183 static inline u32 i915_ggtt_pin_bias(struct i915_vma *vma) in i915_ggtt_pin_bias() 202 static inline void i915_vma_put(struct i915_vma *vma) in i915_vma_put() 208 i915_vma_compare(struct i915_vma *vma, in i915_vma_compare() 278 static inline void i915_vma_lock(struct i915_vma *vma) in i915_vma_lock() 283 static inline void i915_vma_unlock(struct i915_vma *vma) in i915_vma_unlock() 326 static inline void __i915_vma_pin(struct i915_vma *vma) in __i915_vma_pin() 332 static inline void __i915_vma_unpin(struct i915_vma *vma) in __i915_vma_unpin() 338 static inline void i915_vma_unpin(struct i915_vma *vma) in i915_vma_unpin() 415 i915_vma_unpin_fence(struct i915_vma *vma) in i915_vma_unpin_fence() 459 static inline int i915_vma_sync(struct i915_vma *vma) in i915_vma_sync() [all …]
|
A D | i915_vma.c | 63 static void i915_vma_free(struct i915_vma *vma) in i915_vma_free() 118 struct i915_vma *vma; in vma_create() local 294 struct i915_vma *vma; in i915_vma_instance() local 415 struct i915_vma *vma) in i915_vma_resource_init_from_vma() 439 int i915_vma_bind(struct i915_vma *vma, in i915_vma_bind() 636 struct i915_vma *vma; in i915_vma_unpin_and_release() local 893 i915_vma_detach(struct i915_vma *vma) in i915_vma_detach() 1266 __i915_vma_get_pages(struct i915_vma *vma) in __i915_vma_get_pages() 1649 void i915_vma_close(struct i915_vma *vma) in i915_vma_close() 1771 struct i915_vma *vma, *next; in i915_vma_parked() local [all …]
|
A D | i915_gem_evict.c | 67 static bool grab_vma(struct i915_vma *vma, struct i915_gem_ww_ctx *ww) in grab_vma() 86 static void ungrab_vma(struct i915_vma *vma) in ungrab_vma() 98 struct i915_vma *vma, in mark_free() 112 static bool defer_evict(struct i915_vma *vma) in defer_evict() 157 struct i915_vma *vma, *next; in i915_gem_evict_something() local 337 struct i915_vma *vma, *next; in i915_gem_evict_for_node() local 478 struct i915_vma *vma, *vn; in i915_gem_evict_vm() local
|
/linux-6.3-rc2/include/linux/ |
A D | userfaultfd_k.h | 114 static inline bool userfaultfd_missing(struct vm_area_struct *vma) in userfaultfd_missing() 119 static inline bool userfaultfd_wp(struct vm_area_struct *vma) in userfaultfd_wp() 124 static inline bool userfaultfd_minor(struct vm_area_struct *vma) in userfaultfd_minor() 129 static inline bool userfaultfd_pte_wp(struct vm_area_struct *vma, in userfaultfd_pte_wp() 141 static inline bool userfaultfd_armed(struct vm_area_struct *vma) in userfaultfd_armed() 146 static inline bool vma_can_userfault(struct vm_area_struct *vma, in vma_can_userfault() 203 static inline bool userfaultfd_wp(struct vm_area_struct *vma) in userfaultfd_wp() 208 static inline bool userfaultfd_minor(struct vm_area_struct *vma) in userfaultfd_minor() 213 static inline bool userfaultfd_pte_wp(struct vm_area_struct *vma, in userfaultfd_pte_wp() 226 static inline bool userfaultfd_armed(struct vm_area_struct *vma) in userfaultfd_armed() [all …]
|
A D | huge_mm.h | 138 static inline bool transhuge_vma_suitable(struct vm_area_struct *vma, in transhuge_vma_suitable() 157 static inline bool file_thp_enabled(struct vm_area_struct *vma) in file_thp_enabled() 236 struct vm_area_struct *vma) in pmd_trans_huge_lock() 244 struct vm_area_struct *vma) in pud_trans_huge_lock() 310 static inline bool transhuge_vma_suitable(struct vm_area_struct *vma, in transhuge_vma_suitable() 316 static inline bool hugepage_vma_check(struct vm_area_struct *vma, in hugepage_vma_check() 355 static inline int hugepage_madvise(struct vm_area_struct *vma, in hugepage_madvise() 361 static inline int madvise_collapse(struct vm_area_struct *vma, in madvise_collapse() 368 static inline void vma_adjust_trans_huge(struct vm_area_struct *vma, in vma_adjust_trans_huge() 379 struct vm_area_struct *vma) in pmd_trans_huge_lock() [all …]
|
A D | hugetlb.h | 110 struct vm_area_struct *vma; member 281 struct vm_area_struct *vma, in huge_pmd_unshare() 288 struct vm_area_struct *vma, in adjust_range_if_pmd_sharing_possible() 300 struct vm_area_struct *vma, struct page **pages, in follow_hugetlb_page() 347 static inline void hugetlb_vma_lock_read(struct vm_area_struct *vma) in hugetlb_vma_lock_read() 355 static inline void hugetlb_vma_lock_write(struct vm_area_struct *vma) in hugetlb_vma_lock_write() 442 struct vm_area_struct *vma, unsigned long address, in hugetlb_change_protection() 450 struct vm_area_struct *vma, unsigned long start, in __unmap_hugepage_range_final() 458 struct vm_area_struct *vma, unsigned long address, in hugetlb_fault() 790 static inline struct hstate *hstate_vma(struct vm_area_struct *vma) in hstate_vma() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/ |
A D | drm_vm.c | 59 struct vm_area_struct *vma; member 67 struct vm_area_struct *vma) in drm_io_prot() 112 struct vm_area_struct *vma = vmf->vma; in drm_vm_fault() local 201 struct vm_area_struct *vma = vmf->vma; in drm_vm_shm_fault() local 301 struct vm_area_struct *vma = vmf->vma; in drm_vm_dma_fault() local 336 struct vm_area_struct *vma = vmf->vma; in drm_vm_sg_fault() local 390 struct vm_area_struct *vma) in drm_vm_open_locked() 405 static void drm_vm_open(struct vm_area_struct *vma) in drm_vm_open() 416 struct vm_area_struct *vma) in drm_vm_close_locked() 440 static void drm_vm_close(struct vm_area_struct *vma) in drm_vm_close() [all …]
|
/linux-6.3-rc2/mm/ |
A D | mmap.c | 344 struct vm_area_struct *vma; in validate_mm() local 411 struct vm_area_struct *vma; in count_vma_pages_range() local 1809 struct vm_area_struct *vma; in find_vma_prev() local 2081 struct vm_area_struct *vma; in find_extend_vma() local 2112 struct vm_area_struct *vma; in remove_mt() local 2435 struct vm_area_struct *vma; in do_vmi_munmap() local 2768 struct vm_area_struct *vma; in SYSCALL_DEFINE5() local 3013 struct vm_area_struct *vma; in exit_mmap() local 3335 struct vm_area_struct *vma; in __install_special_mapping() local 3488 struct vm_area_struct *vma; in mm_take_all_locks() local [all …]
|
A D | pgtable-generic.c | 65 int ptep_set_access_flags(struct vm_area_struct *vma, in ptep_set_access_flags() 79 int ptep_clear_flush_young(struct vm_area_struct *vma, in ptep_clear_flush_young() 91 pte_t ptep_clear_flush(struct vm_area_struct *vma, unsigned long address, in ptep_clear_flush() 106 int pmdp_set_access_flags(struct vm_area_struct *vma, in pmdp_set_access_flags() 121 int pmdp_clear_flush_young(struct vm_area_struct *vma, in pmdp_clear_flush_young() 134 pmd_t pmdp_huge_clear_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_huge_clear_flush() 147 pud_t pudp_huge_clear_flush(struct vm_area_struct *vma, unsigned long address, in pudp_huge_clear_flush() 195 pmd_t pmdp_invalidate(struct vm_area_struct *vma, unsigned long address, in pmdp_invalidate() 205 pmd_t pmdp_invalidate_ad(struct vm_area_struct *vma, unsigned long address, in pmdp_invalidate_ad() 213 pmd_t pmdp_collapse_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_collapse_flush()
|
A D | madvise.c | 137 static int madvise_update_vma(struct vm_area_struct *vma, in madvise_update_vma() 193 struct vm_area_struct *vma = walk->private; in swapin_walk_pmd_entry() local 271 static long madvise_willneed(struct vm_area_struct *vma, in madvise_willneed() 342 struct vm_area_struct *vma = walk->vma; in madvise_cold_or_pageout_pte_range() local 527 struct vm_area_struct *vma, in madvise_cold_page_range() 545 static long madvise_cold(struct vm_area_struct *vma, in madvise_cold() 565 struct vm_area_struct *vma, in madvise_pageout_page_range() 613 struct vm_area_struct *vma = walk->vma; in madvise_free_pte_range() local 964 static long madvise_remove(struct vm_area_struct *vma, in madvise_remove() 1221 int (*visit)(struct vm_area_struct *vma, in madvise_walk_vmas() [all …]
|
A D | mremap.c | 72 static pud_t *alloc_new_pud(struct mm_struct *mm, struct vm_area_struct *vma, in alloc_new_pud() 105 static void take_rmap_locks(struct vm_area_struct *vma) in take_rmap_locks() 113 static void drop_rmap_locks(struct vm_area_struct *vma) in drop_rmap_locks() 136 static void move_ptes(struct vm_area_struct *vma, pmd_t *old_pmd, in move_ptes() 284 static inline bool move_normal_pmd(struct vm_area_struct *vma, in move_normal_pmd() 333 static inline bool move_normal_pud(struct vm_area_struct *vma, in move_normal_pud() 481 unsigned long move_page_tables(struct vm_area_struct *vma, in move_page_tables() 571 static unsigned long move_vma(struct vm_area_struct *vma, in move_vma() 737 struct vm_area_struct *vma; in vma_to_resize() local 794 struct vm_area_struct *vma; in mremap_to() local [all …]
|
A D | memory.c | 1593 struct vm_area_struct *vma, in unmap_page_range() 2802 struct vm_area_struct *vma = vmf->vma; in __wp_page_copy_user() local 2949 struct vm_area_struct *vma = vmf->vma; in fault_dirty_shared_page() local 3003 struct vm_area_struct *vma = vmf->vma; in wp_page_reuse() local 3047 struct vm_area_struct *vma = vmf->vma; in wp_page_copy() local 3441 struct vm_area_struct *vma; in unmap_mapping_range_tree() local 3586 struct vm_area_struct *vma, in should_try_to_free_swap() 5483 struct vm_area_struct *vma; in __access_remote_vm() local 5590 struct vm_area_struct *vma; in print_vma_addr() local 5721 struct vm_area_struct *vma, in copy_user_gigantic_page() [all …]
|
A D | rmap.c | 149 static void anon_vma_chain_link(struct vm_area_struct *vma, in anon_vma_chain_link() 187 int __anon_vma_prepare(struct vm_area_struct *vma) in __anon_vma_prepare() 396 void unlink_anon_vmas(struct vm_area_struct *vma) in unlink_anon_vmas() 808 struct vm_area_struct *vma, unsigned long address, void *arg) in folio_referenced_one() 940 struct vm_area_struct *vma = pvmw->vma; in page_vma_mkclean_one() local 1063 struct vm_area_struct *vma) in pfn_mkclean_range() 1180 struct vm_area_struct *vma, unsigned long address) in __page_check_anon_rmap() 2177 struct vm_area_struct *vma, unsigned long address, void *priv) in page_make_device_exclusive_one() 2424 struct vm_area_struct *vma = avc->vma; in rmap_walk_anon() local 2456 struct vm_area_struct *vma; in rmap_walk_file() local [all …]
|
A D | huge_memory.c | 658 struct vm_area_struct *vma = vmf->vma; in __do_huge_pmd_anonymous_page() local 784 struct vm_area_struct *vma = vmf->vma; in do_huge_pmd_anonymous_page() local 907 struct vm_area_struct *vma = vmf->vma; in vmf_insert_pfn_pmd_prot() local 998 struct vm_area_struct *vma = vmf->vma; in vmf_insert_pfn_pud_prot() local 1235 struct vm_area_struct *vma) in copy_huge_pud() 1305 struct vm_area_struct *vma = vmf->vma; in do_huge_pmd_wp_page() local 1420 struct vm_area_struct *vma, in can_follow_write_pmd() 1504 struct vm_area_struct *vma = vmf->vma; in do_huge_pmd_numa_page() local 1738 struct vm_area_struct *vma) in pmd_move_must_withdraw() 3216 struct vm_area_struct *vma = pvmw->vma; in set_pmd_migration_entry() local [all …]
|
A D | nommu.c | 98 struct vm_area_struct *vma; in kobjsize() local 171 struct vm_area_struct *vma; in __vmalloc_user_flags() local 659 struct vm_area_struct *vma; in find_vma_exact() local 902 static int do_mmap_private(struct vm_area_struct *vma, in do_mmap_private() 1009 struct vm_area_struct *vma; in do_mmap() local 1379 struct vm_area_struct *vma, in vmi_shrink_vma() 1427 struct vm_area_struct *vma; in do_munmap() local 1509 struct vm_area_struct *vma; in exit_mmap() local 1549 struct vm_area_struct *vma; in do_mremap() local 1653 struct vm_area_struct *vma; in __access_remote_vm() local [all …]
|
A D | hugetlb.c | 328 struct vm_area_struct *vma = vma_lock->vma; in __hugetlb_vma_unlock_write_put() local 1352 struct vm_area_struct *vma, in dequeue_hugetlb_folio_vma() 2450 struct vm_area_struct *vma, unsigned long addr) in alloc_buddy_hugetlb_folio_with_mpol() 2770 struct vm_area_struct *vma, unsigned long addr) in vma_needs_reservation() 2776 struct vm_area_struct *vma, unsigned long addr) in vma_commit_reservation() 2782 struct vm_area_struct *vma, unsigned long addr) in vma_end_reservation() 2788 struct vm_area_struct *vma, unsigned long addr) in vma_add_reservation() 2794 struct vm_area_struct *vma, unsigned long addr) in vma_del_reservation() 5749 struct vm_area_struct *vma, in hugetlb_no_page() 6768 struct vm_area_struct *vma, in hugetlb_reserve_pages() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/msm/ |
A D | msm_gem_vma.c | 41 bool msm_gem_vma_inuse(struct msm_gem_vma *vma) in msm_gem_vma_inuse() 60 struct msm_gem_vma *vma) in msm_gem_purge_vma() 78 void msm_gem_unpin_vma(struct msm_gem_vma *vma) in msm_gem_unpin_vma() 87 void msm_gem_unpin_vma_fenced(struct msm_gem_vma *vma, struct msm_fence_context *fctx) in msm_gem_unpin_vma_fenced() 98 struct msm_gem_vma *vma, int prot, in msm_gem_map_vma() 128 struct msm_gem_vma *vma) in msm_gem_close_vma() 144 struct msm_gem_vma *vma, int size, in msm_gem_init_vma()
|
/linux-6.3-rc2/arch/parisc/kernel/ |
A D | cache.c | 315 __flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr, in __flush_cache_page() 327 static void flush_user_cache_page(struct vm_area_struct *vma, unsigned long vmaddr) in flush_user_cache_page() 560 static void flush_cache_page_if_present(struct vm_area_struct *vma, in flush_cache_page_if_present() 575 unsigned long vaddr, struct vm_area_struct *vma) in copy_user_highpage() 587 void copy_to_user_page(struct vm_area_struct *vma, struct page *page, in copy_to_user_page() 595 void copy_from_user_page(struct vm_area_struct *vma, struct page *page, in copy_from_user_page() 658 struct vm_area_struct *vma; in mm_total_size() local 672 struct vm_area_struct *vma; in flush_cache_mm() local 697 void flush_cache_range(struct vm_area_struct *vma, unsigned long start, unsigned long end) in flush_cache_range() 711 void flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr, unsigned long pfn) in flush_cache_page() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
A D | vmm.c | 761 nvkm_vma_tail(struct nvkm_vma *vma, u64 tail) in nvkm_vma_tail() 925 struct nvkm_vma *vma, u64 addr, u64 size) in nvkm_vmm_node_split() 951 nvkm_vma_dump(struct nvkm_vma *vma) in nvkm_vma_dump() 969 struct nvkm_vma *vma; in nvkm_vmm_dump() local 978 struct nvkm_vma *vma; in nvkm_vmm_dtor() local 1019 struct nvkm_vma *vma; in nvkm_vmm_ctor_managed() local 1039 struct nvkm_vma *vma; in nvkm_vmm_ctor() local 1173 struct nvkm_vma *vma = nvkm_vmm_node_search(vmm, addr); in nvkm_vmm_pfn_unmap() local 1210 struct nvkm_vma *vma, *tmp; in nvkm_vmm_pfn_map() local 1621 struct nvkm_vma *vma = *pvma; in nvkm_vmm_put() local [all …]
|
/linux-6.3-rc2/arch/powerpc/include/asm/book3s/64/ |
A D | tlbflush.h | 46 static inline void flush_pmd_tlb_range(struct vm_area_struct *vma, in flush_pmd_tlb_range() 54 static inline void flush_hugetlb_tlb_range(struct vm_area_struct *vma, in flush_hugetlb_tlb_range() 62 static inline void flush_tlb_range(struct vm_area_struct *vma, in flush_tlb_range() 82 static inline void local_flush_tlb_page(struct vm_area_struct *vma, in local_flush_tlb_page() 111 static inline void flush_tlb_page(struct vm_area_struct *vma, in flush_tlb_page() 119 #define flush_tlb_page(vma, addr) local_flush_tlb_page(vma, addr) argument 123 static inline void flush_tlb_fix_spurious_fault(struct vm_area_struct *vma, in flush_tlb_fix_spurious_fault()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/ |
A 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-6.3-rc2/fs/proc/ |
A D | task_nommu.c | 24 struct vm_area_struct *vma; in task_mem() local 84 struct vm_area_struct *vma; in task_vsize() local 99 struct vm_area_struct *vma; in task_statm() local 124 static int is_stack(struct vm_area_struct *vma) in is_stack() 140 static int nommu_vma_show(struct seq_file *m, struct vm_area_struct *vma) in nommu_vma_show() 195 struct vm_area_struct *vma; in m_start() local 242 struct vm_area_struct *vma = _p; in m_next() local
|
/linux-6.3-rc2/include/asm-generic/ |
A D | cacheflush.h | 35 static inline void flush_cache_range(struct vm_area_struct *vma, in flush_cache_range() 43 static inline void flush_cache_page(struct vm_area_struct *vma, in flush_cache_page() 81 static inline void flush_icache_page(struct vm_area_struct *vma, in flush_icache_page() 88 static inline void flush_icache_user_page(struct vm_area_struct *vma, in flush_icache_user_page() 108 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument 118 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
|
/linux-6.3-rc2/drivers/misc/ocxl/ |
A D | context.c | 98 static vm_fault_t map_afu_irq(struct vm_area_struct *vma, unsigned long address, in map_afu_irq() 111 static vm_fault_t map_pp_mmio(struct vm_area_struct *vma, unsigned long address, in map_pp_mmio() 141 struct vm_area_struct *vma = vmf->vma; in ocxl_mmap_fault() local 162 struct vm_area_struct *vma) in check_mmap_afu_irq() 188 struct vm_area_struct *vma) in check_mmap_mmio() 196 int ocxl_context_mmap(struct ocxl_context *ctx, struct vm_area_struct *vma) in ocxl_context_mmap()
|
/linux-6.3-rc2/include/xen/ |
A D | xen-ops.h | 51 static inline int xen_remap_pfn(struct vm_area_struct *vma, unsigned long addr, in xen_remap_pfn() 77 static inline int xen_xlate_remap_gfn_array(struct vm_area_struct *vma, in xen_xlate_remap_gfn_array() 87 static inline int xen_xlate_unmap_gfn_range(struct vm_area_struct *vma, in xen_xlate_unmap_gfn_range() 114 static inline int xen_remap_domain_gfn_array(struct vm_area_struct *vma, in xen_remap_domain_gfn_array() 150 static inline int xen_remap_domain_mfn_array(struct vm_area_struct *vma, in xen_remap_domain_mfn_array() 174 static inline int xen_remap_domain_gfn_range(struct vm_area_struct *vma, in xen_remap_domain_gfn_range()
|