Home
last modified time | relevance | path

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

12345678910>>...35

/kernel/linux/linux-5.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.h81 struct vm_area_struct *vma;
146 int __anon_vma_prepare(struct vm_area_struct *);
147 void unlink_anon_vmas(struct vm_area_struct *);
148 int anon_vma_clone(struct vm_area_struct *, struct vm_area_struct *);
149 int anon_vma_fork(struct vm_area_struct *, struct vm_area_struct *);
151 static inline int anon_vma_prepare(struct vm_area_struct *vma) in anon_vma_prepare()
159 static inline void anon_vma_merge(struct vm_area_struct *vma, in anon_vma_merge()
160 struct vm_area_struct *next) in anon_vma_merge()
175 void page_move_anon_rmap(struct page *, struct vm_area_struct *);
176 void page_add_anon_rmap(struct page *, struct vm_area_struct *,
[all …]
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,
31 bool madvise_free_huge_pmd(struct mmu_gather *tlb, struct vm_area_struct *vma,
33 int zap_huge_pmd(struct mmu_gather *tlb, struct vm_area_struct *vma, pmd_t *pmd,
35 int zap_huge_pud(struct mmu_gather *tlb, struct vm_area_struct *vma, pud_t *pud,
37 bool move_huge_pmd(struct vm_area_struct *vma, unsigned long old_addr,
39 int change_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd, unsigned long addr,
121 static inline bool transhuge_vma_suitable(struct vm_area_struct *vma, in transhuge_vma_suitable()
136 static inline bool transhuge_vma_enabled(struct vm_area_struct *vma, in transhuge_vma_enabled()
[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_purgeable.h13 bool lock_uxpte(struct vm_area_struct *vma, unsigned long addr);
14 void unlock_uxpte(struct vm_area_struct *vma, unsigned long addr);
16 bool uxpte_set_present(struct vm_area_struct *vma, unsigned long addr);
17 void uxpte_clear_present(struct vm_area_struct *vma, unsigned long addr);
46 static inline bool lock_uxpte(struct vm_area_struct *vma, in lock_uxpte()
52 static inline void unlock_uxpte(struct vm_area_struct *vma, in unlock_uxpte()
61 static inline bool uxpte_set_present(struct vm_area_struct *vma, in uxpte_set_present()
67 static inline void uxpte_clear_present(struct vm_area_struct *vma, in uxpte_clear_present()
Dmm.h248 struct vm_area_struct *vm_area_alloc(struct mm_struct *);
249 struct vm_area_struct *vm_area_dup(struct vm_area_struct *);
250 void vm_area_free(struct vm_area_struct *);
531 struct vm_area_struct *vma; /* Target VMA */
580 void (*open)(struct vm_area_struct * area);
581 void (*close)(struct vm_area_struct * area);
582 int (*split)(struct vm_area_struct * area, unsigned long addr);
583 int (*mremap)(struct vm_area_struct * area);
589 unsigned long (*pagesize)(struct vm_area_struct * area);
601 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 …]
Dmm_inline.h141 extern struct anon_vma_name *anon_vma_name(struct vm_area_struct *vma);
170 static inline void dup_anon_vma_name(struct vm_area_struct *orig_vma, in dup_anon_vma_name()
171 struct vm_area_struct *new_vma) in dup_anon_vma_name()
179 static inline void free_anon_vma_name(struct vm_area_struct *vma) in free_anon_vma_name()
200 static inline struct anon_vma_name *anon_vma_name(struct vm_area_struct *vma) in anon_vma_name()
212 static inline void dup_anon_vma_name(struct vm_area_struct *orig_vma, in dup_anon_vma_name()
213 struct vm_area_struct *new_vma) {} in dup_anon_vma_name()
214 static inline void free_anon_vma_name(struct vm_area_struct *vma) {} in free_anon_vma_name()
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.10/mm/
Dmmap.c84 struct vm_area_struct *vma, struct vm_area_struct *prev,
129 void vma_set_page_prot(struct vm_area_struct *vma) in vma_set_page_prot()
146 static void __remove_shared_vm_struct(struct vm_area_struct *vma, in __remove_shared_vm_struct()
163 void unlink_file_vma(struct vm_area_struct *vma) in unlink_file_vma()
178 static struct vm_area_struct *remove_vma(struct vm_area_struct *vma) in remove_vma()
180 struct vm_area_struct *next = vma->vm_next; in remove_vma()
199 struct vm_area_struct *next; in SYSCALL_DEFINE1()
293 static inline unsigned long vma_compute_gap(struct vm_area_struct *vma) in vma_compute_gap()
315 static unsigned long vma_compute_subtree_gap(struct vm_area_struct *vma) in vma_compute_subtree_gap()
320 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()
Dmadvise.c89 struct anon_vma_name *anon_vma_name(struct vm_area_struct *vma) in anon_vma_name()
100 static int replace_anon_vma_name(struct vm_area_struct *vma, in replace_anon_vma_name()
120 static int replace_anon_vma_name(struct vm_area_struct *vma, in replace_anon_vma_name()
135 static int madvise_update_vma(struct vm_area_struct *vma, in madvise_update_vma()
136 struct vm_area_struct **prev, unsigned long start, in madvise_update_vma()
195 struct vm_area_struct *vma = walk->private; in swapin_walk_pmd_entry()
230 static void force_shm_swapin_readahead(struct vm_area_struct *vma, in force_shm_swapin_readahead()
264 static long madvise_willneed(struct vm_area_struct *vma, in madvise_willneed()
265 struct vm_area_struct **prev, in madvise_willneed()
320 struct vm_area_struct *vma = walk->vma; in madvise_cold_or_pageout_pte_range()
[all …]
/kernel/linux/linux-5.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,
/kernel/linux/linux-5.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);
/kernel/linux/linux-5.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);
/kernel/linux/linux-5.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,
/kernel/linux/linux-5.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);
/kernel/linux/linux-5.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,
/kernel/linux/linux-5.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,
/kernel/linux/linux-5.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,
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()

12345678910>>...35