Home
last modified time | relevance | path

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

12345678910>>...35

/Linux-v6.1/include/linux/
Duserfaultfd_k.h60 struct vm_area_struct *dst_vma,
76 extern void uffd_wp_range(struct mm_struct *dst_mm, struct vm_area_struct *vma,
80 static inline bool is_mergeable_vm_userfaultfd_ctx(struct vm_area_struct *vma, in is_mergeable_vm_userfaultfd_ctx()
97 static inline bool uffd_disable_huge_pmd_share(struct vm_area_struct *vma) in uffd_disable_huge_pmd_share()
109 static inline bool uffd_disable_fault_around(struct vm_area_struct *vma) in uffd_disable_fault_around()
114 static inline bool userfaultfd_missing(struct vm_area_struct *vma) in userfaultfd_missing()
119 static inline bool userfaultfd_wp(struct vm_area_struct *vma) in userfaultfd_wp()
124 static inline bool userfaultfd_minor(struct vm_area_struct *vma) in userfaultfd_minor()
129 static inline bool userfaultfd_pte_wp(struct vm_area_struct *vma, in userfaultfd_pte_wp()
135 static inline bool userfaultfd_huge_pmd_wp(struct vm_area_struct *vma, in userfaultfd_huge_pmd_wp()
[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 mmu_gather *tlb, struct vm_area_struct *vma,
138 static inline bool transhuge_vma_suitable(struct vm_area_struct *vma, in transhuge_vma_suitable()
157 static inline bool file_thp_enabled(struct vm_area_struct *vma) in file_thp_enabled()
[all …]
Dhugetlb.h121 struct vm_area_struct *vma;
136 void hugetlb_dup_vma_private(struct vm_area_struct *vma);
137 void clear_vma_resv_huge_pages(struct vm_area_struct *vma);
146 int move_hugetlb_page_tables(struct vm_area_struct *vma,
147 struct vm_area_struct *new_vma,
151 struct vm_area_struct *, struct vm_area_struct *);
152 long follow_hugetlb_page(struct mm_struct *, struct vm_area_struct *,
153 struct page **, struct vm_area_struct **,
156 void unmap_hugepage_range(struct vm_area_struct *,
160 struct vm_area_struct *vma,
[all …]
Drmap.h83 struct vm_area_struct *vma;
149 int __anon_vma_prepare(struct vm_area_struct *);
150 void unlink_anon_vmas(struct vm_area_struct *);
151 int anon_vma_clone(struct vm_area_struct *, struct vm_area_struct *);
152 int anon_vma_fork(struct vm_area_struct *, struct vm_area_struct *);
154 static inline int anon_vma_prepare(struct vm_area_struct *vma) in anon_vma_prepare()
162 static inline void anon_vma_merge(struct vm_area_struct *vma, in anon_vma_merge()
163 struct vm_area_struct *next) in anon_vma_merge()
192 void page_move_anon_rmap(struct page *, struct vm_area_struct *);
193 void page_add_anon_rmap(struct page *, struct vm_area_struct *,
[all …]
Dmm.h249 struct vm_area_struct *vm_area_alloc(struct mm_struct *);
250 struct vm_area_struct *vm_area_dup(struct vm_area_struct *);
251 void vm_area_free(struct vm_area_struct *);
483 struct vm_area_struct *vma; /* Target VMA */
540 void (*open)(struct vm_area_struct * area);
545 void (*close)(struct vm_area_struct * area);
547 int (*may_split)(struct vm_area_struct *area, unsigned long addr);
548 int (*mremap)(struct vm_area_struct *area);
554 int (*mprotect)(struct vm_area_struct *vma, unsigned long start,
561 unsigned long (*pagesize)(struct vm_area_struct * area);
[all …]
Dmempolicy.h127 int vma_dup_policy(struct vm_area_struct *src, struct vm_area_struct *dst);
130 struct vm_area_struct *vma,
137 struct mempolicy *__get_vma_policy(struct vm_area_struct *vma,
139 bool vma_policy_mof(struct vm_area_struct *vma);
146 extern int huge_node(struct vm_area_struct *vma,
175 extern bool vma_migratable(struct vm_area_struct *vma);
177 extern int mpol_misplaced(struct page *, struct vm_area_struct *, unsigned long);
228 vma_dup_policy(struct vm_area_struct *src, struct vm_area_struct *dst) in vma_dup_policy()
250 static inline int huge_node(struct vm_area_struct *vma, in huge_node()
281 static inline int mpol_misplaced(struct page *page, struct vm_area_struct *vma, in mpol_misplaced()
Dpgtable.h176 extern int ptep_set_access_flags(struct vm_area_struct *vma,
183 extern int pmdp_set_access_flags(struct vm_area_struct *vma,
186 extern int pudp_set_access_flags(struct vm_area_struct *vma,
190 static inline int pmdp_set_access_flags(struct vm_area_struct *vma, in pmdp_set_access_flags()
197 static inline int pudp_set_access_flags(struct vm_area_struct *vma, in pudp_set_access_flags()
208 static inline int ptep_test_and_clear_young(struct vm_area_struct *vma, in ptep_test_and_clear_young()
224 static inline int pmdp_test_and_clear_young(struct vm_area_struct *vma, in pmdp_test_and_clear_young()
237 static inline int pmdp_test_and_clear_young(struct vm_area_struct *vma, in pmdp_test_and_clear_young()
248 int ptep_clear_flush_young(struct vm_area_struct *vma,
254 extern int pmdp_clear_flush_young(struct vm_area_struct *vma,
[all …]
/Linux-v6.1/include/xen/
Dxen-ops.h47 int xen_remap_pfn(struct vm_area_struct *vma, unsigned long addr,
51 static inline int xen_remap_pfn(struct vm_area_struct *vma, unsigned long addr, in xen_remap_pfn()
61 struct vm_area_struct;
64 int xen_xlate_remap_gfn_array(struct vm_area_struct *vma,
70 int xen_xlate_unmap_gfn_range(struct vm_area_struct *vma,
77 static inline int xen_xlate_remap_gfn_array(struct vm_area_struct *vma, in xen_xlate_remap_gfn_array()
87 static inline int xen_xlate_unmap_gfn_range(struct vm_area_struct *vma, in xen_xlate_unmap_gfn_range()
94 int xen_remap_vma_range(struct vm_area_struct *vma, unsigned long addr,
114 static inline int xen_remap_domain_gfn_array(struct vm_area_struct *vma, in xen_remap_domain_gfn_array()
150 static inline int xen_remap_domain_mfn_array(struct vm_area_struct *vma, in xen_remap_domain_mfn_array()
[all …]
/Linux-v6.1/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-v6.1/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-v6.1/mm/
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.c65 int ptep_set_access_flags(struct vm_area_struct *vma, in ptep_set_access_flags()
79 int ptep_clear_flush_young(struct vm_area_struct *vma, in ptep_clear_flush_young()
91 pte_t ptep_clear_flush(struct vm_area_struct *vma, unsigned long address, in ptep_clear_flush()
106 int pmdp_set_access_flags(struct vm_area_struct *vma, in pmdp_set_access_flags()
121 int pmdp_clear_flush_young(struct vm_area_struct *vma, in pmdp_clear_flush_young()
134 pmd_t pmdp_huge_clear_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_huge_clear_flush()
147 pud_t pudp_huge_clear_flush(struct vm_area_struct *vma, unsigned long address, in pudp_huge_clear_flush()
195 pmd_t pmdp_invalidate(struct vm_area_struct *vma, unsigned long address, in pmdp_invalidate()
205 pmd_t pmdp_invalidate_ad(struct vm_area_struct *vma, unsigned long address, in pmdp_invalidate_ad()
213 pmd_t pmdp_collapse_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_collapse_flush()
Dmmap.c79 struct vm_area_struct *vma, struct vm_area_struct *prev,
80 struct vm_area_struct *next, unsigned long start,
89 void vma_set_page_prot(struct vm_area_struct *vma) in vma_set_page_prot()
106 static void __remove_shared_vm_struct(struct vm_area_struct *vma, in __remove_shared_vm_struct()
121 void unlink_file_vma(struct vm_area_struct *vma) in unlink_file_vma()
136 static void remove_vma(struct vm_area_struct *vma) in remove_vma()
165 static int do_brk_munmap(struct ma_state *mas, struct vm_area_struct *vma,
168 static int do_brk_flags(struct ma_state *mas, struct vm_area_struct *brkvma,
174 struct vm_area_struct *brkvma, *next = NULL; in SYSCALL_DEFINE1()
291 struct vm_area_struct *vma_mt; in validate_mm_mt()
[all …]
Dmadvise.c94 struct anon_vma_name *anon_vma_name(struct vm_area_struct *vma) in anon_vma_name()
105 static int replace_anon_vma_name(struct vm_area_struct *vma, in replace_anon_vma_name()
125 static int replace_anon_vma_name(struct vm_area_struct *vma, in replace_anon_vma_name()
140 static int madvise_update_vma(struct vm_area_struct *vma, in madvise_update_vma()
141 struct vm_area_struct **prev, unsigned long start, in madvise_update_vma()
199 struct vm_area_struct *vma = walk->private; in swapin_walk_pmd_entry()
237 static void force_shm_swapin_readahead(struct vm_area_struct *vma, in force_shm_swapin_readahead()
276 static long madvise_willneed(struct vm_area_struct *vma, in madvise_willneed()
277 struct vm_area_struct **prev, in madvise_willneed()
332 struct vm_area_struct *vma = walk->vma; in madvise_cold_or_pageout_pte_range()
[all …]
/Linux-v6.1/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()
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-v6.1/arch/powerpc/include/asm/book3s/64/
Dhugetlb.h12 void radix__flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
13 void radix__local_flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
15 extern void radix__huge_ptep_modify_prot_commit(struct vm_area_struct *vma,
56 extern pte_t huge_ptep_modify_prot_start(struct vm_area_struct *vma,
60 extern void huge_ptep_modify_prot_commit(struct vm_area_struct *vma,
86 static inline void flush_hugetlb_page(struct vm_area_struct *vma, in flush_hugetlb_page()
106 void flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
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-v6.1/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-v6.1/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-v6.1/arch/powerpc/include/asm/nohash/
Dtlbflush.h26 struct vm_area_struct;
31 extern void flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
43 static inline void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr) in local_flush_tlb_page()
60 extern void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
68 extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
/Linux-v6.1/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-v6.1/drivers/gpu/drm/i915/
Di915_mm.h12 struct vm_area_struct;
17 int remap_io_mapping(struct vm_area_struct *vma,
22 int remap_io_mapping(struct vm_area_struct *vma, in remap_io_mapping()
31 int remap_io_sg(struct vm_area_struct *vma,
/Linux-v6.1/drivers/gpu/drm/
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()
89 static pgprot_t drm_dma_prot(uint32_t map_type, struct vm_area_struct *vma) in drm_dma_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()
230 static void drm_vm_shm_close(struct vm_area_struct *vma) in drm_vm_shm_close()
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()
[all …]
/Linux-v6.1/include/asm-generic/
Dcacheflush.h8 struct vm_area_struct;
35 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_page(struct vm_area_struct *vma, in flush_icache_page()
88 static inline void flush_icache_user_page(struct vm_area_struct *vma, in flush_icache_user_page()
/Linux-v6.1/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>>...35