Home
last modified time | relevance | path

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

12345678910>>...17

/linux/tools/testing/vma/include/
H A Dstubs.h28 #define vma_policy(vma) NULL argument
67 static inline void vma_numab_state_init(struct vm_area_struct *vma) in vma_numab_state_init() argument
71 static inline void vma_numab_state_free(struct vm_area_struct *vma) in vma_numab_state_free() argument
80 static inline void free_anon_vma_name(struct vm_area_struct *vma) in free_anon_vma_name() argument
89 static inline int mmap_action_complete(struct vm_area_struct *vma, in mmap_action_complete() argument
96 static inline void fixup_hugetlb_reservations(struct vm_area_struct *vma) in fixup_hugetlb_reservations() argument
115 static inline int remap_pfn_range_complete(struct vm_area_struct *vma, unsigned long addr, in remap_pfn_range_complete() argument
143 static inline int userfaultfd_unmap_prep(struct vm_area_struct *vma, in userfaultfd_unmap_prep() argument
186 static inline void khugepaged_enter_vma(struct vm_area_struct *vma, in khugepaged_enter_vma() argument
196 static inline bool is_vm_hugetlb_page(struct vm_area_struct *vma) in is_vm_hugetlb_page() argument
201 vma_soft_dirty_enabled(struct vm_area_struct * vma) vma_soft_dirty_enabled() argument
206 userfaultfd_wp(struct vm_area_struct * vma) userfaultfd_wp() argument
250 shmem_zero_setup(struct vm_area_struct * vma) shmem_zero_setup() argument
260 vma_interval_tree_insert(struct vm_area_struct * vma,struct rb_root_cached * rb) vma_interval_tree_insert() argument
265 vma_interval_tree_remove(struct vm_area_struct * vma,struct rb_root_cached * rb) vma_interval_tree_remove() argument
284 uprobe_mmap(struct vm_area_struct * vma) uprobe_mmap() argument
288 uprobe_munmap(struct vm_area_struct * vma,unsigned long start,unsigned long end) uprobe_munmap() argument
301 vma_assert_write_locked(struct vm_area_struct * vma) vma_assert_write_locked() argument
305 ksm_add_vma(struct vm_area_struct * vma) ksm_add_vma() argument
309 perf_event_mmap(struct vm_area_struct * vma) perf_event_mmap() argument
313 vma_is_dax(struct vm_area_struct * vma) vma_is_dax() argument
328 vma_close(struct vm_area_struct * vma) vma_close() argument
332 mmap_file(struct file * file,struct vm_area_struct * vma) mmap_file() argument
348 anon_vma_name(struct vm_area_struct * vma) anon_vma_name() argument
353 is_mergeable_vm_userfaultfd_ctx(struct vm_area_struct * vma,struct vm_userfaultfd_ctx vm_ctx) is_mergeable_vm_userfaultfd_ctx() argument
423 vma_adjust_trans_huge(struct vm_area_struct * vma,unsigned long start,unsigned long end,struct vm_area_struct * next) vma_adjust_trans_huge() argument
432 vma_supports_mlock(const struct vm_area_struct * vma) vma_supports_mlock() argument
[all...]
H A Dcustom.h46 unlink_anon_vmas(struct vm_area_struct * vma) unlink_anon_vmas() argument
52 vma_start_write(struct vm_area_struct * vma) vma_start_write() argument
59 vma_start_write_killable(struct vm_area_struct * vma) vma_start_write_killable() argument
78 __anon_vma_prepare(struct vm_area_struct * vma) __anon_vma_prepare() argument
91 anon_vma_prepare(struct vm_area_struct * vma) anon_vma_prepare() argument
99 vma_lock_init(struct vm_area_struct * vma,bool reset_refcnt) vma_lock_init() argument
[all...]
H A Ddup.h888 vm_flags_init(struct vm_area_struct * vma,vm_flags_t flags) vm_flags_init() argument
900 vm_flags_reset(struct vm_area_struct * vma,vm_flags_t flags) vm_flags_reset() argument
907 vma_flags_reset_once(struct vm_area_struct * vma,vma_flags_t * flags) vma_flags_reset_once() argument
923 vm_flags_set(struct vm_area_struct * vma,vm_flags_t flags) vm_flags_set() argument
930 vm_flags_clear(struct vm_area_struct * vma,vm_flags_t flags) vm_flags_clear() argument
1070 vma_test(const struct vm_area_struct * vma,vma_flag_t bit) vma_test() argument
1076 vma_test_any_mask(const struct vm_area_struct * vma,vma_flags_t flags) vma_test_any_mask() argument
1082 vma_test_any(vma,...) global() argument
1085 vma_test_all_mask(const struct vm_area_struct * vma,vma_flags_t flags) vma_test_all_mask() argument
1091 vma_test_all(vma,...) global() argument
1095 vma_test_single_mask(const struct vm_area_struct * vma,vma_flags_t flagmask) vma_test_single_mask() argument
1100 vma_set_flags_mask(struct vm_area_struct * vma,vma_flags_t flags) vma_set_flags_mask() argument
1106 vma_set_flags(vma,...) global() argument
1109 vma_clear_flags_mask(struct vm_area_struct * vma,vma_flags_t flags) vma_clear_flags_mask() argument
1115 vma_clear_flags(vma,...) global() argument
1165 vma_is_shared_maywrite(struct vm_area_struct * vma) vma_is_shared_maywrite() argument
1184 vma_assert_attached(struct vm_area_struct * vma) vma_assert_attached() argument
1189 vma_assert_detached(struct vm_area_struct * vma) vma_assert_detached() argument
1195 vma_mark_attached(struct vm_area_struct * vma) vma_mark_attached() argument
1202 vma_mark_detached(struct vm_area_struct * vma) vma_mark_detached() argument
1215 vma_init(struct vm_area_struct * vma,struct mm_struct * mm) vma_init() argument
1282 vma_set_anonymous(struct vm_area_struct * vma) vma_set_anonymous() argument
1293 compat_set_desc_from_vma(struct vm_area_desc * desc,const struct file * file,const struct vm_area_struct * vma) compat_set_desc_from_vma() argument
1311 vma_pages(const struct vm_area_struct * vma) vma_pages() argument
1322 __compat_vma_mmap(struct vm_area_desc * desc,struct vm_area_struct * vma) __compat_vma_mmap() argument
1336 compat_vma_mmap(struct file * file,struct vm_area_struct * vma) compat_vma_mmap() argument
1387 vma_is_anonymous(struct vm_area_struct * vma) vma_is_anonymous() argument
1400 struct vm_area_struct *vma; find_vma_prev() local
1426 vma_set_page_prot(struct vm_area_struct * vma) vma_set_page_prot() argument
1443 stack_guard_start_gap(struct vm_area_struct * vma) stack_guard_start_gap() argument
1455 vm_start_gap(struct vm_area_struct * vma) vm_start_gap() argument
1466 vm_end_gap(struct vm_area_struct * vma) vm_end_gap() argument
1478 vma_is_accessible(struct vm_area_struct * vma) vma_is_accessible() argument
1521 vfs_mmap(struct file * file,struct vm_area_struct * vma) vfs_mmap() argument
1529 vma_set_file(struct vm_area_struct * vma,struct file * file) vma_set_file() argument
[all...]
/linux/tools/testing/vma/
H A Dshared.c19 struct vm_area_struct *vma = vm_area_alloc(mm); in alloc_vma() local
33 detach_free_vma(struct vm_area_struct * vma) detach_free_vma() argument
43 struct vm_area_struct *vma = alloc_vma(mm, start, end, pgoff, vm_flags); alloc_and_link_vma() local
71 struct vm_area_struct *vma; cleanup_mm() local
88 vma_write_started(struct vm_area_struct * vma) vma_write_started() argument
99 __vma_set_dummy_anon_vma(struct vm_area_struct * vma,struct anon_vma_chain * avc,struct anon_vma * anon_vma) __vma_set_dummy_anon_vma() argument
108 vma_set_dummy_anon_vma(struct vm_area_struct * vma,struct anon_vma_chain * avc) vma_set_dummy_anon_vma() argument
124 vma_set_range(struct vm_area_struct * vma,unsigned long start,unsigned long end,pgoff_t pgoff) vma_set_range() argument
[all...]
/linux/tools/testing/vma/tests/
H A Dmerge.c6 struct vm_area_struct *vma; in merge_new() local
97 struct vm_area_struct *vma; test_simple_merge() local
131 struct vm_area_struct *vma; test_simple_modify() local
194 struct vm_area_struct *vma = alloc_vma(&mm, 0, 0x1000, 0, vm_flags); test_simple_expand() local
222 struct vm_area_struct *vma = alloc_vma(&mm, 0, 0x3000, 0, vm_flags); test_simple_shrink() local
264 struct vm_area_struct *vma, *vma_a, *vma_b, *vma_c, *vma_d; __test_merge_new() local
482 struct vm_area_struct *vma_left, *vma; test_vma_merge_special_flags() local
554 struct vm_area_struct *vma_prev, *vma_next, *vma; test_vma_merge_with_close() local
765 struct vm_area_struct *vma; test_vma_merge_new_with_close() local
813 struct vm_area_struct *vma, *vma_prev, *vma_next; __test_merge_existing() local
1073 struct vm_area_struct *vma, *vma_prev, *vma_next; test_anon_vma_non_mergeable() local
1167 struct vm_area_struct *vma_prev, *vma_next, *vma; test_dup_anon_vma() local
1325 struct vm_area_struct *vma_prev, *vma; test_vmi_prealloc_fail() local
1386 struct vm_area_struct *vma; test_merge_extend() local
1416 struct vm_area_struct *vma_prev, *vma; test_expand_only_mode() local
[all...]
/linux/arch/powerpc/include/asm/book3s/64/
H A Dtlbflush.h47 static inline void flush_pmd_tlb_range(struct vm_area_struct *vma, in flush_pmd_tlb_range()
55 static inline void flush_pud_tlb_range(struct vm_area_struct *vma, in flush_pud_tlb_range()
63 static inline void flush_hugetlb_tlb_range(struct vm_area_struct *vma, in flush_hugetlb_tlb_range()
71 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()
120 static inline void flush_tlb_page(struct vm_area_struct *vma, in flush_tlb_page()
128 #define flush_tlb_page(vma, addr) local_flush_tlb_page(vma, addr) argument
132 static inline void flush_tlb_fix_spurious_fault(struct vm_area_struct *vma, in flush_tlb_fix_spurious_fault()
/linux/drivers/gpu/drm/i915/
H A Di915_gem_evict.c67 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/drivers/gpu/drm/nouveau/
H A Dnouveau_vmm.c29 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/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dvmm.c824 struct nvkm_vma *vma = kzalloc_obj(*vma); in nvkm_vma_new() local
835 nvkm_vma_tail(struct nvkm_vma *vma, u64 tail) in nvkm_vma_tail()
858 nvkm_vmm_free_remove(struct nvkm_vmm *vmm, struct nvkm_vma *vma) in nvkm_vmm_free_remove()
864 nvkm_vmm_free_delete(struct nvkm_vmm *vmm, struct nvkm_vma *vma) in nvkm_vmm_free_delete()
872 nvkm_vmm_free_insert(struct nvkm_vmm *vmm, struct nvkm_vma *vma) in nvkm_vmm_free_insert()
900 nvkm_vmm_node_remove(struct nvkm_vmm *vmm, struct nvkm_vma *vma) in nvkm_vmm_node_remove()
906 nvkm_vmm_node_delete(struct nvkm_vmm *vmm, struct nvkm_vma *vma) in nvkm_vmm_node_delete()
914 nvkm_vmm_node_insert(struct nvkm_vmm *vmm, struct nvkm_vma *vma) in nvkm_vmm_node_insert()
940 struct nvkm_vma *vma = rb_entry(node, typeof(*vma), tree); in nvkm_vmm_node_search() local
957 struct nvkm_vma *vma, struct nvkm_vma *next, u64 size) in nvkm_vmm_node_merge()
[all …]
/linux/include/xen/
H A Dxen-ops.h50 static inline int xen_remap_pfn(struct vm_area_struct *vma, unsigned long addr, in xen_remap_pfn() argument
76 * @vma: VMA to map the pages into in xen_xlate_remap_gfn_array() argument
113 * @vma argument
86 xen_xlate_unmap_gfn_range(struct vm_area_struct * vma,int nr,struct page ** pages) xen_xlate_unmap_gfn_range() argument
149 xen_remap_domain_mfn_array(struct vm_area_struct * vma,unsigned long addr,xen_pfn_t * mfn,int nr,int * err_ptr,pgprot_t prot,unsigned int domid) xen_remap_domain_mfn_array() argument
173 xen_remap_domain_gfn_range(struct vm_area_struct * vma,unsigned long addr,xen_pfn_t gfn,int nr,pgprot_t prot,unsigned int domid,struct page ** pages) xen_remap_domain_gfn_range() argument
[all...]
/linux/drivers/misc/ocxl/
H A Dcontext.c98 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/arch/powerpc/mm/book3s64/
H A Dradix_hugetlbpage.c10 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()
45 void radix__huge_ptep_modify_prot_commit(struct vm_area_struct *vma, in radix__huge_ptep_modify_prot_commit()
/linux/arch/m68k/include/asm/
H A Dtlbflush.h84 static inline void flush_tlb_page(struct vm_area_struct *vma, unsigned long addr) in flush_tlb_page()
90 static inline void flush_tlb_range(struct vm_area_struct *vma, in flush_tlb_range()
164 static inline void flush_tlb_page (struct vm_area_struct *vma, in flush_tlb_page()
185 static inline void flush_tlb_range (struct vm_area_struct *vma, in flush_tlb_range()
255 static inline void flush_tlb_page(struct vm_area_struct *vma, unsigned long addr) in flush_tlb_page()
260 static inline void flush_tlb_range(struct vm_area_struct *vma, in flush_tlb_range()
/linux/mm/
H A Dvma_init.c30 struct vm_area_struct *vma; vm_area_alloc() local
100 vma_pfnmap_track_ctx_release(struct vm_area_struct * vma) vma_pfnmap_track_ctx_release() argument
116 vma_pfnmap_track_ctx_release(struct vm_area_struct * vma) vma_pfnmap_track_ctx_release() argument
144 vm_area_free(struct vm_area_struct * vma) vm_area_free() argument
[all...]
/linux/drivers/gpu/drm/xe/
H A Dxe_userptr.c62 struct xe_vma *vma = &uvma->vma; in xe_vma_userptr_pin_pages() local
89 struct xe_vma *vma = &uvma->vma; in xe_vma_userptr_do_inval() local
134 struct xe_vma *vma = &uvma->vma; in xe_vma_userptr_complete_tlb_inval() local
155 struct xe_vma *vma = &uvma->vma; in xe_vma_userptr_invalidate_pass1() local
209 struct xe_vma *vma = &uvma->vma; in xe_vma_userptr_invalidate_start() local
237 struct xe_vma *vma = &uvma->vma; in xe_vma_userptr_invalidate_finish() local
H A Dxe_pt.c316 struct xe_vma *vma; member
706 static bool xe_atomic_for_vram(struct xe_vm *vm, struct xe_vma *vma) in xe_atomic_for_vram()
714 static bool xe_atomic_for_system(struct xe_vm *vm, struct xe_vma *vma) in xe_atomic_for_system()
737 struct xe_vma *vma) in xe_pt_target_leaf_level_from_bo()
777 xe_pt_stage_bind(struct xe_tile *tile, struct xe_vma *vma, in xe_pt_stage_bind()
1015 bool xe_pt_zap_ptes(struct xe_tile *tile, struct xe_vma *vma) in xe_pt_zap_ptes()
1123 static void xe_pt_cancel_bind(struct xe_vma *vma, in xe_pt_cancel_bind()
1149 static void xe_pt_commit_prepare_locks_assert(struct xe_vma *vma) in xe_pt_commit_prepare_locks_assert()
1165 static void xe_pt_commit_locks_assert(struct xe_vma *vma) in xe_pt_commit_locks_assert()
1179 static void xe_pt_commit(struct xe_vma *vma, in xe_pt_commit()
[all …]
/linux/arch/sh/mm/
H A Dcache.c60 void copy_to_user_page(struct vm_area_struct *vma, struct page *page, in copy_to_user_page()
81 void copy_from_user_page(struct vm_area_struct *vma, struct page *page, in copy_from_user_page()
100 unsigned long vaddr, struct vm_area_struct *vma) in copy_user_highpage()
141 void __update_cache(struct vm_area_struct *vma, in __update_cache()
200 void flush_cache_page(struct vm_area_struct *vma, unsigned long addr, in flush_cache_page()
212 void flush_cache_range(struct vm_area_struct *vma, unsigned long start, in flush_cache_range()
243 void flush_icache_pages(struct vm_area_struct *vma, struct page *page, in flush_icache_pages()
/linux/arch/xtensa/mm/
H A Dcache.c103 unsigned long vaddr, struct vm_area_struct *vma) in copy_user_highpage()
184 void local_flush_cache_range(struct vm_area_struct *vma, in local_flush_cache_range()
199 void local_flush_cache_page(struct vm_area_struct *vma, unsigned long address, in local_flush_cache_page()
216 void update_mmu_cache_range(struct vm_fault *vmf, struct vm_area_struct *vma, in update_mmu_cache_range()
273 void copy_to_user_page(struct vm_area_struct *vma, struct page *page, in copy_to_user_page()
313 extern void copy_from_user_page(struct vm_area_struct *vma, struct page *page, in copy_from_user_page()
/linux/include/asm-generic/
H A Dcacheflush.h35 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_user_page(struct vm_area_struct *vma, in flush_icache_user_page()
107 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
117 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
/linux/drivers/gpu/drm/i915/selftests/
H A Di915_gem_gtt.c398 struct i915_vma *vma; in close_object_list() local
421 struct i915_vma *vma; in fill_hole() local
656 struct i915_vma *vma; in walk_hole() local
723 struct i915_vma *vma; in pot_hole() local
812 struct i915_vma *vma; in drunk_hole() local
920 struct i915_vma *vma; in __shrink_hole() local
1024 struct i915_vma *vma; in shrink_boom() local
1086 struct i915_vma *vma; in misaligned_case() local
1443 static void track_vma_bind(struct i915_vma *vma) in track_vma_bind()
1511 static int reserve_gtt_with_resource(struct i915_vma *vma, u64 offset) in reserve_gtt_with_resource()
[all …]
/linux/arch/arc/mm/
H A Dtlb.c208 void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start, in local_flush_tlb_range()
278 void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page) in local_flush_tlb_page()
344 void flush_tlb_page(struct vm_area_struct *vma, unsigned long uaddr) in flush_tlb_page()
354 void flush_tlb_range(struct vm_area_struct *vma, unsigned long start, in flush_tlb_range()
367 void flush_pmd_tlb_range(struct vm_area_struct *vma, unsigned long start, in flush_pmd_tlb_range()
394 static void create_tlb(struct vm_area_struct *vma, unsigned long vaddr, pte_t *ptep) in create_tlb()
472 void update_mmu_cache_range(struct vm_fault *vmf, struct vm_area_struct *vma, in update_mmu_cache_range()
530 void update_mmu_cache_pmd(struct vm_area_struct *vma, unsigned long addr, in update_mmu_cache_pmd()
537 void local_flush_pmd_tlb_range(struct vm_area_struct *vma, unsigned long start, in local_flush_pmd_tlb_range()
/linux/arch/microblaze/include/asm/
H A Dtlbflush.h27 static inline void local_flush_tlb_page(struct vm_area_struct *vma, in local_flush_tlb_page()
30 static inline void local_flush_tlb_range(struct vm_area_struct *vma, in local_flush_tlb_range()
36 #define update_mmu_cache_range(vmf, vma, addr, ptep, nr) do { } while (0) argument
37 #define update_mmu_cache(vma, addr, pte) \ argument
/linux/tools/testing/selftests/prctl/
H A Dset-anon-vma-name-test.c74 FIXTURE(vma) FIXTURE() argument
78 FIXTURE_SETUP(vma) FIXTURE_SETUP() argument
87 FIXTURE_TEARDOWN(vma) FIXTURE_TEARDOWN() argument
92 TEST_F(vma,renaming) TEST_F() argument
/linux/arch/arc/include/asm/
H A Dtlbflush.h23 #define flush_tlb_range(vma, s, e) local_flush_tlb_range(vma, s, e) argument
24 #define flush_tlb_page(vma, page) local_flush_tlb_page(vma, page) argument
29 #define flush_pmd_tlb_range(vma, s, e) local_flush_pmd_tlb_range(vma, s, e) argument
/linux/fs/proc/
H A Dtask_nommu.c24 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
127 static int nommu_vma_show(struct seq_file *m, struct vm_area_struct *vma) in nommu_vma_show()
181 struct vm_area_struct *vma = vma_next(&priv->iter); in proc_get_vma() local

12345678910>>...17