Home
last modified time | relevance | path

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

12345678910>>...34

/Linux-v5.10/include/linux/
Duserfaultfd_k.h49 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()
82 extern int dup_userfaultfd(struct vm_area_struct *, struct list_head *);
85 extern void mremap_userfaultfd_prep(struct vm_area_struct *,
91 extern bool userfaultfd_remove(struct vm_area_struct *vma,
95 extern int userfaultfd_unmap_prep(struct vm_area_struct *vma,
[all …]
Drmap.h78 struct vm_area_struct *vma;
143 int __anon_vma_prepare(struct vm_area_struct *);
144 void unlink_anon_vmas(struct vm_area_struct *);
145 int anon_vma_clone(struct vm_area_struct *, struct vm_area_struct *);
146 int anon_vma_fork(struct vm_area_struct *, struct vm_area_struct *);
148 static inline int anon_vma_prepare(struct vm_area_struct *vma) in anon_vma_prepare()
156 static inline void anon_vma_merge(struct vm_area_struct *vma, in anon_vma_merge()
157 struct vm_area_struct *next) in anon_vma_merge()
172 void page_move_anon_rmap(struct page *, struct vm_area_struct *);
173 void page_add_anon_rmap(struct page *, struct vm_area_struct *,
[all …]
Dhuge_mm.h13 struct vm_area_struct *vma);
17 struct vm_area_struct *vma);
28 extern struct page *follow_trans_huge_pmd(struct vm_area_struct *vma,
33 struct vm_area_struct *vma,
36 struct vm_area_struct *vma,
39 struct vm_area_struct *vma,
41 extern bool move_huge_pmd(struct vm_area_struct *vma, unsigned long old_addr,
44 extern int change_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd,
130 static inline bool __transparent_hugepage_enabled(struct vm_area_struct *vma) in __transparent_hugepage_enabled()
159 bool transparent_hugepage_enabled(struct vm_area_struct *vma);
[all …]
Dhugetlb.h108 void reset_vma_resv_huge_pages(struct vm_area_struct *vma);
117 int copy_hugetlb_page_range(struct mm_struct *, struct mm_struct *, struct vm_area_struct *);
118 long follow_hugetlb_page(struct mm_struct *, struct vm_area_struct *,
119 struct page **, struct vm_area_struct **,
122 void unmap_hugepage_range(struct vm_area_struct *,
125 struct vm_area_struct *vma,
128 void __unmap_hugepage_range(struct mmu_gather *tlb, struct vm_area_struct *vma,
135 vm_fault_t hugetlb_fault(struct mm_struct *mm, struct vm_area_struct *vma,
138 struct vm_area_struct *dst_vma,
143 struct vm_area_struct *vma,
[all …]
Dmm.h238 struct vm_area_struct *vm_area_alloc(struct mm_struct *);
239 struct vm_area_struct *vm_area_dup(struct vm_area_struct *);
240 void vm_area_free(struct vm_area_struct *);
509 struct vm_area_struct *vma; /* Target VMA */
558 void (*open)(struct vm_area_struct * area);
559 void (*close)(struct vm_area_struct * area);
560 int (*split)(struct vm_area_struct * area, unsigned long addr);
561 int (*mremap)(struct vm_area_struct * area);
567 unsigned long (*pagesize)(struct vm_area_struct * area);
579 int (*access)(struct vm_area_struct *vma, unsigned long addr,
[all …]
Dmempolicy.h130 int vma_dup_policy(struct vm_area_struct *src, struct vm_area_struct *dst);
133 struct vm_area_struct *vma,
140 struct mempolicy *__get_vma_policy(struct vm_area_struct *vma,
142 bool vma_policy_mof(struct vm_area_struct *vma);
149 extern int huge_node(struct vm_area_struct *vma,
185 extern bool vma_migratable(struct vm_area_struct *vma);
187 extern int mpol_misplaced(struct page *, struct vm_area_struct *, unsigned long);
231 vma_dup_policy(struct vm_area_struct *src, struct vm_area_struct *dst) in vma_dup_policy()
253 static inline int huge_node(struct vm_area_struct *vma, in huge_node()
284 static inline int mpol_misplaced(struct page *page, struct vm_area_struct *vma, in mpol_misplaced()
Dpgtable.h149 extern int ptep_set_access_flags(struct vm_area_struct *vma,
156 extern int pmdp_set_access_flags(struct vm_area_struct *vma,
159 extern int pudp_set_access_flags(struct vm_area_struct *vma,
163 static inline int pmdp_set_access_flags(struct vm_area_struct *vma, in pmdp_set_access_flags()
170 static inline int pudp_set_access_flags(struct vm_area_struct *vma, in pudp_set_access_flags()
181 static inline int ptep_test_and_clear_young(struct vm_area_struct *vma, in ptep_test_and_clear_young()
197 static inline int pmdp_test_and_clear_young(struct vm_area_struct *vma, in pmdp_test_and_clear_young()
210 static inline int pmdp_test_and_clear_young(struct vm_area_struct *vma, in pmdp_test_and_clear_young()
221 int ptep_clear_flush_young(struct vm_area_struct *vma,
227 extern int pmdp_clear_flush_young(struct vm_area_struct *vma,
[all …]
/Linux-v5.10/mm/
Dmmap.c80 struct vm_area_struct *vma, struct vm_area_struct *prev,
125 void vma_set_page_prot(struct vm_area_struct *vma) in vma_set_page_prot()
142 static void __remove_shared_vm_struct(struct vm_area_struct *vma, in __remove_shared_vm_struct()
159 void unlink_file_vma(struct vm_area_struct *vma) in unlink_file_vma()
174 static struct vm_area_struct *remove_vma(struct vm_area_struct *vma) in remove_vma()
176 struct vm_area_struct *next = vma->vm_next; in remove_vma()
195 struct vm_area_struct *next; in SYSCALL_DEFINE1()
289 static inline unsigned long vma_compute_gap(struct vm_area_struct *vma) in vma_compute_gap()
311 static unsigned long vma_compute_subtree_gap(struct vm_area_struct *vma) in vma_compute_subtree_gap()
316 struct vm_area_struct, vm_rb)->rb_subtree_gap; in vma_compute_subtree_gap()
[all …]
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()
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()
/Linux-v5.10/include/xen/
Dxen-ops.h65 int xen_remap_pfn(struct vm_area_struct *vma, unsigned long addr,
69 static inline int xen_remap_pfn(struct vm_area_struct *vma, unsigned long addr, in xen_remap_pfn()
79 struct vm_area_struct;
82 int xen_xlate_remap_gfn_array(struct vm_area_struct *vma,
88 int xen_xlate_unmap_gfn_range(struct vm_area_struct *vma,
95 static inline int xen_xlate_remap_gfn_array(struct vm_area_struct *vma, in xen_xlate_remap_gfn_array()
105 static inline int xen_xlate_unmap_gfn_range(struct vm_area_struct *vma, in xen_xlate_unmap_gfn_range()
112 int xen_remap_vma_range(struct vm_area_struct *vma, unsigned long addr,
132 static inline int xen_remap_domain_gfn_array(struct vm_area_struct *vma, in xen_remap_domain_gfn_array()
169 static inline int xen_remap_domain_mfn_array(struct vm_area_struct *vma, in xen_remap_domain_mfn_array()
[all …]
/Linux-v5.10/arch/nds32/include/asm/
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,
47 void flush_icache_user_page(struct vm_area_struct *vma, struct page *page,
/Linux-v5.10/arch/sparc/include/asm/
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-v5.10/arch/arc/include/asm/
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-v5.10/arch/sh/include/asm/
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()
81 extern void copy_to_user_page(struct vm_area_struct *vma,
85 extern void copy_from_user_page(struct vm_area_struct *vma,
/Linux-v5.10/arch/powerpc/include/asm/book3s/64/
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);
Dtlbflush-radix.h7 struct vm_area_struct;
59 extern void radix__flush_hugetlb_tlb_range(struct vm_area_struct *vma,
63 extern void radix__flush_pmd_tlb_range(struct vm_area_struct *vma,
65 extern void radix__flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
71 extern void radix__local_flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
78 extern void radix__flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
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()
142 static inline void flush_tlb_fix_spurious_fault(struct vm_area_struct *vma, in flush_tlb_fix_spurious_fault()
/Linux-v5.10/arch/alpha/include/asm/
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-v5.10/arch/nios2/include/asm/
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,
/Linux-v5.10/arch/mips/include/asm/
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-v5.10/include/asm-generic/
Dcacheflush.h6 struct vm_area_struct;
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()
/Linux-v5.10/arch/powerpc/include/asm/book3s/32/
Dtlbflush.h10 extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
11 extern void flush_tlb_page_nohash(struct vm_area_struct *vma, unsigned long addr);
12 extern void flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
15 static inline void local_flush_tlb_page(struct vm_area_struct *vma, in local_flush_tlb_page()
/Linux-v5.10/arch/openrisc/include/asm/
Dtlbflush.h32 extern void local_flush_tlb_page(struct vm_area_struct *vma,
34 extern void local_flush_tlb_range(struct vm_area_struct *vma,
46 extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long addr);
47 extern void flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
/Linux-v5.10/arch/xtensa/include/asm/
Dcacheflush.h99 void flush_cache_range(struct vm_area_struct*, ulong, ulong);
101 void flush_cache_page(struct vm_area_struct*,
125 void local_flush_cache_range(struct vm_area_struct *vma,
127 void local_flush_cache_page(struct vm_area_struct *vma,
165 extern void copy_to_user_page(struct vm_area_struct*, struct page*,
167 extern void copy_from_user_page(struct vm_area_struct*, struct page*,

12345678910>>...34