Home
last modified time | relevance | path

Searched defs:vma (Results 1 – 25 of 775) sorted by relevance

12345678910>>...31

/Linux-v4.19/drivers/gpu/drm/i915/
Di915_vma.c37 static void vma_print_allocator(struct i915_vma *vma, const char *reason) in vma_print_allocator()
60 static void vma_print_allocator(struct i915_vma *vma, const char *reason) in vma_print_allocator()
68 struct i915_vma *vma; member
74 __i915_vma_retire(struct i915_vma *vma, struct i915_request *rq) in __i915_vma_retire()
133 struct i915_vma *vma; in vma_create() local
237 struct i915_vma *vma = rb_entry(rb, struct i915_vma, obj_node); in vma_lookup() local
273 struct i915_vma *vma; in i915_vma_instance() local
298 int i915_vma_bind(struct i915_vma *vma, enum i915_cache_level cache_level, in i915_vma_bind()
341 void __iomem *i915_vma_pin_iomap(struct i915_vma *vma) in i915_vma_pin_iomap()
386 void i915_vma_flush_writes(struct i915_vma *vma) in i915_vma_flush_writes()
[all …]
Di915_vma.h143 static inline bool i915_vma_is_active(struct i915_vma *vma) in i915_vma_is_active()
152 static inline bool i915_vma_is_ggtt(const struct i915_vma *vma) in i915_vma_is_ggtt()
157 static inline bool i915_vma_has_ggtt_write(const struct i915_vma *vma) in i915_vma_has_ggtt_write()
162 static inline void i915_vma_set_ggtt_write(struct i915_vma *vma) in i915_vma_set_ggtt_write()
168 static inline void i915_vma_unset_ggtt_write(struct i915_vma *vma) in i915_vma_unset_ggtt_write()
175 static inline bool i915_vma_is_map_and_fenceable(const struct i915_vma *vma) in i915_vma_is_map_and_fenceable()
180 static inline bool i915_vma_is_closed(const struct i915_vma *vma) in i915_vma_is_closed()
185 static inline bool i915_vma_set_userfault(struct i915_vma *vma) in i915_vma_set_userfault()
191 static inline void i915_vma_unset_userfault(struct i915_vma *vma) in i915_vma_unset_userfault()
196 static inline bool i915_vma_has_userfault(const struct i915_vma *vma) in i915_vma_has_userfault()
[all …]
Di915_gem_fence_reg.c61 struct i915_vma *vma) in i965_write_fence_reg()
117 struct i915_vma *vma) in i915_write_fence_reg()
157 struct i915_vma *vma) in i830_write_fence_reg()
189 struct i915_vma *vma) in fence_write()
211 struct i915_vma *vma) in fence_update()
288 int i915_vma_put_fence(struct i915_vma *vma) in i915_vma_put_fence()
340 i915_vma_pin_fence(struct i915_vma *vma) in i915_vma_pin_fence()
477 struct i915_vma *vma = reg->vma; in i915_gem_restore_fences() local
Di915_gem_execbuffer.c234 struct i915_vma **vma; member
363 const struct i915_vma *vma, in eb_vma_misplaced()
394 struct i915_vma *vma) in eb_pin_vma()
425 static inline void __eb_unreserve_vma(struct i915_vma *vma, unsigned int flags) in __eb_unreserve_vma()
436 eb_unreserve_vma(struct i915_vma *vma, unsigned int *flags) in eb_unreserve_vma()
448 struct i915_vma *vma) in eb_validate_vma()
503 struct i915_vma *vma) in eb_add_vma()
591 struct i915_vma *vma) in eb_reserve_vma()
651 struct i915_vma *vma; in eb_reserve() local
685 struct i915_vma *vma = eb->vma[i]; in eb_reserve() local
[all …]
/Linux-v4.19/include/linux/
Duserfaultfd_k.h42 static inline bool is_mergeable_vm_userfaultfd_ctx(struct vm_area_struct *vma, in is_mergeable_vm_userfaultfd_ctx()
48 static inline bool userfaultfd_missing(struct vm_area_struct *vma) in userfaultfd_missing()
53 static inline bool userfaultfd_armed(struct vm_area_struct *vma) in userfaultfd_armed()
86 static inline bool is_mergeable_vm_userfaultfd_ctx(struct vm_area_struct *vma, in is_mergeable_vm_userfaultfd_ctx()
92 static inline bool userfaultfd_missing(struct vm_area_struct *vma) in userfaultfd_missing()
97 static inline bool userfaultfd_armed(struct vm_area_struct *vma) in userfaultfd_armed()
102 static inline int dup_userfaultfd(struct vm_area_struct *vma, in dup_userfaultfd()
112 static inline void mremap_userfaultfd_prep(struct vm_area_struct *vma, in mremap_userfaultfd_prep()
124 static inline bool userfaultfd_remove(struct vm_area_struct *vma, in userfaultfd_remove()
131 static inline int userfaultfd_unmap_prep(struct vm_area_struct *vma, in userfaultfd_unmap_prep()
Dhuge_mm.h96 static inline bool transparent_hugepage_enabled(struct vm_area_struct *vma) in transparent_hugepage_enabled()
191 struct vm_area_struct *vma) in pmd_trans_huge_lock()
200 struct vm_area_struct *vma) in pud_trans_huge_lock()
260 static inline bool transparent_hugepage_enabled(struct vm_area_struct *vma) in transparent_hugepage_enabled()
290 static inline void __split_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd, in __split_huge_pmd()
292 static inline void split_huge_pmd_address(struct vm_area_struct *vma, in split_huge_pmd_address()
298 static inline int hugepage_madvise(struct vm_area_struct *vma, in hugepage_madvise()
304 static inline void vma_adjust_trans_huge(struct vm_area_struct *vma, in vma_adjust_trans_huge()
315 struct vm_area_struct *vma) in pmd_trans_huge_lock()
320 struct vm_area_struct *vma) in pud_trans_huge_lock()
[all …]
/Linux-v4.19/drivers/gpu/drm/
Ddrm_vm.c50 struct vm_area_struct *vma; member
58 struct vm_area_struct *vma) in drm_io_prot()
82 static pgprot_t drm_dma_prot(uint32_t map_type, struct vm_area_struct *vma) in drm_dma_prot()
105 struct vm_area_struct *vma = vmf->vma; in drm_vm_fault() local
194 struct vm_area_struct *vma = vmf->vma; in drm_vm_shm_fault() local
223 static void drm_vm_shm_close(struct vm_area_struct *vma) in drm_vm_shm_close()
296 struct vm_area_struct *vma = vmf->vma; in drm_vm_dma_fault() local
331 struct vm_area_struct *vma = vmf->vma; in drm_vm_sg_fault() local
385 struct vm_area_struct *vma) in drm_vm_open_locked()
400 static void drm_vm_open(struct vm_area_struct *vma) in drm_vm_open()
[all …]
/Linux-v4.19/mm/
Dmmap.c126 void vma_set_page_prot(struct vm_area_struct *vma) in vma_set_page_prot()
143 static void __remove_shared_vm_struct(struct vm_area_struct *vma, in __remove_shared_vm_struct()
160 void unlink_file_vma(struct vm_area_struct *vma) in unlink_file_vma()
175 static struct vm_area_struct *remove_vma(struct vm_area_struct *vma) in remove_vma()
266 static long vma_compute_subtree_gap(struct vm_area_struct *vma) in vma_compute_subtree_gap()
308 struct vm_area_struct *vma; in browse_rb() local
353 struct vm_area_struct *vma; in validate_mm_rb() local
366 struct vm_area_struct *vma = mm->mmap; in validate_mm() local
422 static inline void vma_rb_insert(struct vm_area_struct *vma, in vma_rb_insert()
431 static void __vma_rb_erase(struct vm_area_struct *vma, struct rb_root *root) in __vma_rb_erase()
[all …]
Dpgtable-generic.c54 int ptep_set_access_flags(struct vm_area_struct *vma, in ptep_set_access_flags()
68 int ptep_clear_flush_young(struct vm_area_struct *vma, in ptep_clear_flush_young()
80 pte_t ptep_clear_flush(struct vm_area_struct *vma, unsigned long address, in ptep_clear_flush()
95 int pmdp_set_access_flags(struct vm_area_struct *vma, in pmdp_set_access_flags()
110 int pmdp_clear_flush_young(struct vm_area_struct *vma, in pmdp_clear_flush_young()
123 pmd_t pmdp_huge_clear_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_huge_clear_flush()
136 pud_t pudp_huge_clear_flush(struct vm_area_struct *vma, unsigned long address, in pudp_huge_clear_flush()
184 pmd_t pmdp_invalidate(struct vm_area_struct *vma, unsigned long address, in pmdp_invalidate()
194 pmd_t pmdp_collapse_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_collapse_flush()
Dmadvise.c55 static long madvise_behavior(struct vm_area_struct *vma, in madvise_behavior()
197 struct vm_area_struct *vma = walk->private; in swapin_walk_pmd_entry() local
228 static void force_swapin_readahead(struct vm_area_struct *vma, in force_swapin_readahead()
242 static void force_shm_swapin_readahead(struct vm_area_struct *vma, in force_shm_swapin_readahead()
273 static long madvise_willneed(struct vm_area_struct *vma, in madvise_willneed()
316 struct vm_area_struct *vma = walk->vma; in madvise_free_pte_range() local
444 struct vm_area_struct *vma, in madvise_free_page_range()
458 static int madvise_free_single_vma(struct vm_area_struct *vma, in madvise_free_single_vma()
507 static long madvise_dontneed_single_vma(struct vm_area_struct *vma, in madvise_dontneed_single_vma()
514 static long madvise_dontneed_free(struct vm_area_struct *vma, in madvise_dontneed_free()
[all …]
Drmap.c137 static void anon_vma_chain_link(struct vm_area_struct *vma, in anon_vma_chain_link()
175 int __anon_vma_prepare(struct vm_area_struct *vma) in __anon_vma_prepare()
315 int anon_vma_fork(struct vm_area_struct *vma, struct vm_area_struct *pvma) in anon_vma_fork()
376 void unlink_anon_vmas(struct vm_area_struct *vma) in unlink_anon_vmas()
687 unsigned long page_address_in_vma(struct page *page, struct vm_area_struct *vma) in page_address_in_vma()
753 static bool page_referenced_one(struct page *page, struct vm_area_struct *vma, in page_referenced_one()
815 static bool invalid_page_referenced_vma(struct vm_area_struct *vma, void *arg) in invalid_page_referenced_vma()
883 static bool page_mkclean_one(struct page *page, struct vm_area_struct *vma, in page_mkclean_one()
957 static bool invalid_mkclean_vma(struct vm_area_struct *vma, void *arg) in invalid_mkclean_vma()
1000 void page_move_anon_rmap(struct page *page, struct vm_area_struct *vma) in page_move_anon_rmap()
[all …]
Dmemory.c615 void free_pgtables(struct mmu_gather *tlb, struct vm_area_struct *vma, in free_pgtables()
726 static void print_bad_pte(struct vm_area_struct *vma, unsigned long addr, in print_bad_pte()
819 struct page *_vm_normal_page(struct vm_area_struct *vma, unsigned long addr, in _vm_normal_page()
898 struct page *vm_normal_page_pmd(struct vm_area_struct *vma, unsigned long addr, in vm_normal_page_pmd()
947 pte_t *dst_pte, pte_t *src_pte, struct vm_area_struct *vma, in copy_one_pte()
1064 pmd_t *dst_pmd, pmd_t *src_pmd, struct vm_area_struct *vma, in copy_pte_range()
1127 pud_t *dst_pud, pud_t *src_pud, struct vm_area_struct *vma, in copy_pmd_range()
1161 p4d_t *dst_p4d, p4d_t *src_p4d, struct vm_area_struct *vma, in copy_pud_range()
1195 pgd_t *dst_pgd, pgd_t *src_pgd, struct vm_area_struct *vma, in copy_p4d_range()
1217 struct vm_area_struct *vma) in copy_page_range()
[all …]
Dhuge_memory.c477 pmd_t maybe_pmd_mkwrite(pmd_t pmd, struct vm_area_struct *vma) in maybe_pmd_mkwrite()
547 struct vm_area_struct *vma = vmf->vma; in __do_huge_pmd_anonymous_page() local
632 static inline gfp_t alloc_hugepage_direct_gfpmask(struct vm_area_struct *vma) in alloc_hugepage_direct_gfpmask()
651 struct vm_area_struct *vma, unsigned long haddr, pmd_t *pmd, in set_huge_zero_page()
668 struct vm_area_struct *vma = vmf->vma; in do_huge_pmd_anonymous_page() local
728 static void insert_pfn_pmd(struct vm_area_struct *vma, unsigned long addr, in insert_pfn_pmd()
755 vm_fault_t vmf_insert_pfn_pmd(struct vm_area_struct *vma, unsigned long addr, in vmf_insert_pfn_pmd()
788 static pud_t maybe_pud_mkwrite(pud_t pud, struct vm_area_struct *vma) in maybe_pud_mkwrite()
795 static void insert_pfn_pud(struct vm_area_struct *vma, unsigned long addr, in insert_pfn_pud()
815 vm_fault_t vmf_insert_pfn_pud(struct vm_area_struct *vma, unsigned long addr, in vmf_insert_pfn_pud()
[all …]
Dmremap.c59 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()
194 unsigned long move_page_tables(struct vm_area_struct *vma, in move_page_tables()
255 static unsigned long move_vma(struct vm_area_struct *vma, in move_vma()
374 struct vm_area_struct *vma = find_vma(mm, addr); in vma_to_resize() local
442 struct vm_area_struct *vma; in mremap_to() local
495 static int vma_expandable(struct vm_area_struct *vma, unsigned long delta) in vma_expandable()
520 struct vm_area_struct *vma; in SYSCALL_DEFINE5() local
/Linux-v4.19/arch/powerpc/include/asm/book3s/64/
Dtlbflush.h50 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-v4.19/drivers/gpu/drm/nouveau/
Dnouveau_vmm.c28 nouveau_vma_unmap(struct nouveau_vma *vma) in nouveau_vma_unmap()
37 nouveau_vma_map(struct nouveau_vma *vma, struct nouveau_mem *mem) in nouveau_vma_map()
50 struct nouveau_vma *vma; in nouveau_vma_find() local
63 struct nouveau_vma *vma = *pvma; in nouveau_vma_del() local
80 struct nouveau_vma *vma; in nouveau_vma_new() local
/Linux-v4.19/arch/ia64/include/asm/
Dcacheflush.h23 #define flush_cache_range(vma, start, end) do { } while (0) argument
24 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0) argument
25 #define flush_icache_page(vma,page) do { } while (0) argument
42 #define flush_icache_user_range(vma, page, user_addr, len) \ argument
48 #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-v4.19/arch/hexagon/include/asm/
Dcacheflush.h44 #define flush_cache_range(vma, start, end) do { } while (0) argument
45 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0) argument
50 #define flush_icache_page(vma, pg) do { } while (0) argument
51 #define flush_icache_user_range(vma, pg, adr, len) do { } while (0) argument
86 static inline void update_mmu_cache(struct vm_area_struct *vma, in update_mmu_cache()
95 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
/Linux-v4.19/drivers/gpu/drm/i915/selftests/
Dmock_gtt.c36 struct i915_vma *vma, in mock_insert_entries()
41 static int mock_bind_ppgtt(struct i915_vma *vma, in mock_bind_ppgtt()
50 static void mock_unbind_ppgtt(struct i915_vma *vma) in mock_unbind_ppgtt()
88 static int mock_bind_ggtt(struct i915_vma *vma, in mock_bind_ggtt()
96 static void mock_unbind_ggtt(struct i915_vma *vma) in mock_unbind_ggtt()
/Linux-v4.19/include/asm-generic/
Dcacheflush.h15 #define flush_cache_range(vma, start, end) do { } while (0) argument
16 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0) argument
22 #define flush_icache_page(vma,pg) do { } while (0) argument
23 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) argument
27 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
32 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
/Linux-v4.19/arch/sparc/include/asm/
Dcacheflush_32.h13 #define flush_cache_range(vma,start,end) \ argument
15 #define flush_cache_page(vma,addr,pfn) \ argument
18 #define flush_icache_page(vma, pg) do { } while (0) argument
20 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) argument
22 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
27 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
Dcacheflush_64.h24 #define flush_cache_range(vma, start, end) \ argument
26 #define flush_cache_page(vma, page, pfn) \ argument
51 #define flush_icache_page(vma, pg) do { } while(0) argument
52 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) argument
58 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
65 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
/Linux-v4.19/drivers/misc/ocxl/
Dcontext.c89 static vm_fault_t map_afu_irq(struct vm_area_struct *vma, unsigned long address, in map_afu_irq()
101 static vm_fault_t map_pp_mmio(struct vm_area_struct *vma, unsigned long address, in map_pp_mmio()
131 struct vm_area_struct *vma = vmf->vma; in ocxl_mmap_fault() local
152 struct vm_area_struct *vma) in check_mmap_afu_irq()
176 struct vm_area_struct *vma) in check_mmap_mmio()
184 int ocxl_context_mmap(struct ocxl_context *ctx, struct vm_area_struct *vma) in ocxl_context_mmap()
/Linux-v4.19/arch/alpha/include/asm/
Dcacheflush.h11 #define flush_cache_range(vma, start, end) do { } while (0) argument
12 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0) argument
51 flush_icache_user_range(struct vm_area_struct *vma, struct page *page, in flush_icache_user_range()
68 #define flush_icache_page(vma, page) \ argument
71 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
75 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
/Linux-v4.19/arch/xtensa/include/asm/
Dtlb.h21 # define tlb_start_vma(tlb,vma) do { } while (0) argument
22 # define tlb_end_vma(tlb,vma) do { } while (0) argument
26 # define tlb_start_vma(tlb, vma) \ argument
32 # define tlb_end_vma(tlb, vma) \ argument

12345678910>>...31