Home
last modified time | relevance | path

Searched refs:vm_area_struct (Results 1 – 25 of 842) sorted by relevance

12345678910>>...34

/linux/include/linux/
A Duserfaultfd_k.h57 struct vm_area_struct *dst_vma,
102 static inline bool userfaultfd_wp(struct vm_area_struct *vma) in userfaultfd_wp()
107 static inline bool userfaultfd_minor(struct vm_area_struct *vma) in userfaultfd_minor()
124 static inline bool userfaultfd_armed(struct vm_area_struct *vma) in userfaultfd_armed()
132 extern void mremap_userfaultfd_prep(struct vm_area_struct *,
138 extern bool userfaultfd_remove(struct vm_area_struct *vma,
142 extern int userfaultfd_unmap_prep(struct vm_area_struct *vma,
168 static inline bool userfaultfd_wp(struct vm_area_struct *vma) in userfaultfd_wp()
173 static inline bool userfaultfd_minor(struct vm_area_struct *vma) in userfaultfd_minor()
191 static inline bool userfaultfd_armed(struct vm_area_struct *vma) in userfaultfd_armed()
[all …]
A Dhuge_mm.h13 struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma);
17 struct vm_area_struct *vma);
28 struct page *follow_trans_huge_pmd(struct vm_area_struct *vma,
175 bool transparent_hugepage_active(struct vm_area_struct *vma);
196 void __split_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd,
212 void __split_huge_pud(struct vm_area_struct *vma, pud_t *pud,
237 struct vm_area_struct *vma) in pmd_trans_huge_lock()
245 struct vm_area_struct *vma) in pud_trans_huge_lock()
402 static inline int hugepage_madvise(struct vm_area_struct *vma, in hugepage_madvise()
419 struct vm_area_struct *vma) in pmd_trans_huge_lock()
[all …]
A Drmap.h78 struct vm_area_struct *vma;
139 int __anon_vma_prepare(struct vm_area_struct *);
140 void unlink_anon_vmas(struct vm_area_struct *);
141 int anon_vma_clone(struct vm_area_struct *, struct vm_area_struct *);
142 int anon_vma_fork(struct vm_area_struct *, struct vm_area_struct *);
144 static inline int anon_vma_prepare(struct vm_area_struct *vma) in anon_vma_prepare()
152 static inline void anon_vma_merge(struct vm_area_struct *vma, in anon_vma_merge()
153 struct vm_area_struct *next) in anon_vma_merge()
169 void page_add_anon_rmap(struct page *, struct vm_area_struct *,
208 struct vm_area_struct *vma;
[all …]
A Dhugetlb.h137 struct vm_area_struct *new_vma,
142 struct page **, struct vm_area_struct **,
145 void unmap_hugepage_range(struct vm_area_struct *,
148 struct vm_area_struct *vma,
159 struct vm_area_struct *dst_vma,
166 struct vm_area_struct *vma,
239 struct vm_area_struct *vma, in huge_pmd_unshare()
246 struct vm_area_struct *vma, in adjust_range_if_pmd_sharing_possible()
275 struct vm_area_struct *new_vma, in move_hugetlb_page_tables()
354 struct vm_area_struct *dst_vma, in hugetlb_mcopy_atomic_pte()
[all …]
A Dmm.h244 struct vm_area_struct *vm_area_dup(struct vm_area_struct *);
245 void vm_area_free(struct vm_area_struct *);
1867 copy_page_range(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma);
1946 struct vm_area_struct **vmas);
1949 struct vm_area_struct **vmas);
2618 struct vm_area_struct *prev,
2624 struct vm_area_struct *vma_interval_tree_iter_next(struct vm_area_struct *node,
2652 struct vm_area_struct *expand);
2671 extern struct vm_area_struct *copy_vma(struct vm_area_struct **,
2788 struct vm_area_struct **pprev);
[all …]
A Dmempolicy.h126 int vma_dup_policy(struct vm_area_struct *src, struct vm_area_struct *dst);
129 struct vm_area_struct *vma,
136 struct mempolicy *__get_vma_policy(struct vm_area_struct *vma,
138 bool vma_policy_mof(struct vm_area_struct *vma);
145 extern int huge_node(struct vm_area_struct *vma,
181 extern bool vma_migratable(struct vm_area_struct *vma);
183 extern int mpol_misplaced(struct page *, struct vm_area_struct *, unsigned long);
233 vma_dup_policy(struct vm_area_struct *src, struct vm_area_struct *dst) in vma_dup_policy()
255 static inline int huge_node(struct vm_area_struct *vma, in huge_node()
286 static inline int mpol_misplaced(struct page *page, struct vm_area_struct *vma, in mpol_misplaced()
A Dpgtable.h167 extern int ptep_set_access_flags(struct vm_area_struct *vma,
174 extern int pmdp_set_access_flags(struct vm_area_struct *vma,
177 extern int pudp_set_access_flags(struct vm_area_struct *vma,
239 int ptep_clear_flush_young(struct vm_area_struct *vma,
245 extern int pmdp_clear_flush_young(struct vm_area_struct *vma,
422 extern pte_t ptep_clear_flush(struct vm_area_struct *vma,
683 struct vm_area_struct *vma, in arch_do_swap_page()
701 struct vm_area_struct *vma, in arch_unmap_one()
1117 static inline void untrack_pfn(struct vm_area_struct *vma, in untrack_pfn()
1134 extern int track_pfn_copy(struct vm_area_struct *vma);
[all …]
/linux/mm/
A Dmmap.c80 struct vm_area_struct *vma, struct vm_area_struct *prev,
178 static struct vm_area_struct *remove_vma(struct vm_area_struct *vma) in remove_vma()
198 struct vm_area_struct *next; in SYSCALL_DEFINE1()
612 struct vm_area_struct *vma; in count_vma_pages_range()
1261 static int anon_vma_compatible(struct vm_area_struct *a, struct vm_area_struct *b) in anon_vma_compatible()
1292 …struct anon_vma *reusable_anon_vma(struct vm_area_struct *old, struct vm_area_struct *a, struct vm… in reusable_anon_vma()
2309 struct vm_area_struct *
2563 struct vm_area_struct *
2585 struct vm_area_struct *
2640 struct vm_area_struct *vma, struct vm_area_struct *prev, in unmap_region()
[all …]
A Dinterval_tree.c13 static inline unsigned long vma_start_pgoff(struct vm_area_struct *v) in vma_start_pgoff()
18 static inline unsigned long vma_last_pgoff(struct vm_area_struct *v) in vma_last_pgoff()
23 INTERVAL_TREE_DEFINE(struct vm_area_struct, shared.rb,
28 void vma_interval_tree_insert_after(struct vm_area_struct *node, in vma_interval_tree_insert_after()
29 struct vm_area_struct *prev, in vma_interval_tree_insert_after()
33 struct vm_area_struct *parent; in vma_interval_tree_insert_after()
43 struct vm_area_struct, shared.rb); in vma_interval_tree_insert_after()
48 struct vm_area_struct, shared.rb); in vma_interval_tree_insert_after()
A Dpgtable-generic.c64 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()
A Dmadvise.c70 struct vm_area_struct **prev, in madvise_behavior()
261 struct vm_area_struct **prev, in madvise_willneed()
486 struct vm_area_struct *vma, in madvise_cold_page_range()
500 struct vm_area_struct **prev, in madvise_cold()
519 struct vm_area_struct *vma, in madvise_pageout_page_range()
550 struct vm_area_struct **prev, in madvise_pageout()
770 struct vm_area_struct **prev, in madvise_dontneed_free()
828 struct vm_area_struct **prev, in madvise_populate()
889 struct vm_area_struct **prev, in madvise_remove()
982 madvise_vma(struct vm_area_struct *vma, struct vm_area_struct **prev, in madvise_vma()
[all …]
A Dnommu.c99 struct vm_area_struct *vma; in kobjsize()
172 struct vm_area_struct *vma; in __vmalloc_user_flags()
668 struct vm_area_struct *vma; in find_vma()
716 struct vm_area_struct *vma; in find_vma_exact()
1064 struct vm_area_struct *vma; in do_mmap()
1341 struct vm_area_struct *new; in split_vma()
1442 struct vm_area_struct *vma; in do_munmap()
1521 struct vm_area_struct *vma; in exit_mmap()
1555 struct vm_area_struct *vma; in do_mremap()
1659 struct vm_area_struct *vma; in __access_remote_vm()
[all …]
A Dinternal.h72 static inline bool can_madv_lru_vma(struct vm_area_struct *vma) in can_madv_lru_vma()
78 struct vm_area_struct *vma,
386 void __vma_link_list(struct mm_struct *mm, struct vm_area_struct *vma,
387 struct vm_area_struct *prev);
391 extern long populate_vma_page_range(struct vm_area_struct *vma,
393 extern long faultin_vma_page_range(struct vm_area_struct *vma,
396 extern void munlock_vma_pages_range(struct vm_area_struct *vma,
398 static inline void munlock_vma_pages_all(struct vm_area_struct *vma) in munlock_vma_pages_all()
431 vma_address(struct page *page, struct vm_area_struct *vma) in vma_address()
460 vma_address_end(struct page *page, struct vm_area_struct *vma) in vma_address_end()
[all …]
/linux/include/xen/
A Dxen-ops.h53 int xen_remap_pfn(struct vm_area_struct *vma, unsigned long addr,
67 struct vm_area_struct;
70 int xen_xlate_remap_gfn_array(struct vm_area_struct *vma,
76 int xen_xlate_unmap_gfn_range(struct vm_area_struct *vma,
83 static inline int xen_xlate_remap_gfn_array(struct vm_area_struct *vma, in xen_xlate_remap_gfn_array()
93 static inline int xen_xlate_unmap_gfn_range(struct vm_area_struct *vma, in xen_xlate_unmap_gfn_range()
100 int xen_remap_vma_range(struct vm_area_struct *vma, unsigned long addr,
120 static inline int xen_remap_domain_gfn_array(struct vm_area_struct *vma, in xen_remap_domain_gfn_array()
156 static inline int xen_remap_domain_mfn_array(struct vm_area_struct *vma, in xen_remap_domain_mfn_array()
180 static inline int xen_remap_domain_gfn_range(struct vm_area_struct *vma, in xen_remap_domain_gfn_range()
[all …]
/linux/arch/nds32/include/asm/
A Dcacheflush.h14 void flush_icache_page(struct vm_area_struct *vma, struct page *page);
20 void flush_cache_range(struct vm_area_struct *vma,
22 void flush_cache_page(struct vm_area_struct *vma,
30 void copy_to_user_page(struct vm_area_struct *vma, struct page *page,
32 void copy_from_user_page(struct vm_area_struct *vma, struct page *page,
36 void flush_anon_page(struct vm_area_struct *vma,
46 void flush_icache_user_page(struct vm_area_struct *vma, struct page *page,
/linux/arch/arc/include/asm/
A Dtlbflush.h13 void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page);
15 void local_flush_tlb_range(struct vm_area_struct *vma,
18 void local_flush_pmd_tlb_range(struct vm_area_struct *vma, unsigned long start,
32 extern void flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
34 extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long page);
39 extern void flush_pmd_tlb_range(struct vm_area_struct *vma, unsigned long start, unsigned long end);
/linux/arch/sh/include/asm/
A Dcacheflush.h40 extern void flush_cache_page(struct vm_area_struct *vma,
42 extern void flush_cache_range(struct vm_area_struct *vma,
48 extern void flush_icache_page(struct vm_area_struct *vma,
53 struct vm_area_struct *vma;
60 static inline void flush_anon_page(struct vm_area_struct *vma, in flush_anon_page()
77 extern void copy_to_user_page(struct vm_area_struct *vma,
81 extern void copy_from_user_page(struct vm_area_struct *vma,
/linux/arch/sparc/include/asm/
A Dcachetlb_32.h6 struct vm_area_struct;
11 void (*cache_range)(struct vm_area_struct *, unsigned long,
13 void (*cache_page)(struct vm_area_struct *, unsigned long);
17 void (*tlb_range)(struct vm_area_struct *, unsigned long,
19 void (*tlb_page)(struct vm_area_struct *, unsigned long);
/linux/arch/powerpc/include/asm/book3s/64/
A Dhugetlb.h9 void radix__flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
10 void radix__local_flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
16 extern void radix__huge_ptep_modify_prot_commit(struct vm_area_struct *vma,
57 extern pte_t huge_ptep_modify_prot_start(struct vm_area_struct *vma,
61 extern void huge_ptep_modify_prot_commit(struct vm_area_struct *vma,
87 static inline void flush_hugetlb_page(struct vm_area_struct *vma, in flush_hugetlb_page()
107 void flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
A Dtlbflush-radix.h11 struct vm_area_struct;
63 extern void radix__flush_hugetlb_tlb_range(struct vm_area_struct *vma,
69 extern void radix__flush_pmd_tlb_range(struct vm_area_struct *vma,
71 extern void radix__flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
77 extern void radix__local_flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
84 extern void radix__flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
/linux/arch/alpha/include/asm/
A Dtlbflush.h39 struct vm_area_struct *vma, in ev4_flush_tlb_current_page()
52 struct vm_area_struct *vma, in ev5_flush_tlb_current_page()
117 flush_tlb_page(struct vm_area_struct *vma, unsigned long addr) in flush_tlb_page()
130 flush_tlb_range(struct vm_area_struct *vma, unsigned long start, in flush_tlb_range()
140 extern void flush_tlb_page(struct vm_area_struct *, unsigned long);
141 extern void flush_tlb_range(struct vm_area_struct *, unsigned long,
/linux/drivers/gpu/drm/
A Ddrm_vm.c59 struct vm_area_struct *vma;
63 static void drm_vm_open(struct vm_area_struct *vma);
64 static void drm_vm_close(struct vm_area_struct *vma);
67 struct vm_area_struct *vma) in drm_io_prot()
112 struct vm_area_struct *vma = vmf->vma; in drm_vm_fault()
201 struct vm_area_struct *vma = vmf->vma; in drm_vm_shm_fault()
301 struct vm_area_struct *vma = vmf->vma; in drm_vm_dma_fault()
336 struct vm_area_struct *vma = vmf->vma; in drm_vm_sg_fault()
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()
[all …]
/linux/arch/powerpc/include/asm/nohash/
A Dtlbflush.h26 struct vm_area_struct;
31 extern void flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
44 static inline void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr) in local_flush_tlb_page()
50 extern void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
58 extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
/linux/arch/mips/include/asm/
A Dcacheflush.h50 extern void (*flush_cache_range)(struct vm_area_struct *vma,
52 extern void (*flush_cache_page)(struct vm_area_struct *vma, unsigned long page, unsigned long pfn);
69 static inline void flush_anon_page(struct vm_area_struct *vma, in flush_anon_page()
76 static inline void flush_icache_page(struct vm_area_struct *vma, in flush_icache_page()
104 extern void copy_to_user_page(struct vm_area_struct *vma,
108 extern void copy_from_user_page(struct vm_area_struct *vma,
/linux/arch/nios2/include/asm/
A Dcacheflush.h26 extern void flush_cache_range(struct vm_area_struct *vma, unsigned long start,
28 extern void flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr,
34 extern void flush_icache_page(struct vm_area_struct *vma, struct page *page);
39 extern void copy_to_user_page(struct vm_area_struct *vma, struct page *page,
42 extern void copy_from_user_page(struct vm_area_struct *vma, struct page *page,

Completed in 52 milliseconds

12345678910>>...34