Home
last modified time | relevance | path

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

12345678910>>...35

/linux-6.6.21/include/linux/
Duserfaultfd_k.h73 struct vm_area_struct *dst_vma,
93 extern long uffd_wp_range(struct vm_area_struct *vma,
97 static inline bool is_mergeable_vm_userfaultfd_ctx(struct vm_area_struct *vma, in is_mergeable_vm_userfaultfd_ctx()
114 static inline bool uffd_disable_huge_pmd_share(struct vm_area_struct *vma) in uffd_disable_huge_pmd_share()
126 static inline bool uffd_disable_fault_around(struct vm_area_struct *vma) in uffd_disable_fault_around()
131 static inline bool userfaultfd_missing(struct vm_area_struct *vma) in userfaultfd_missing()
136 static inline bool userfaultfd_wp(struct vm_area_struct *vma) in userfaultfd_wp()
141 static inline bool userfaultfd_minor(struct vm_area_struct *vma) in userfaultfd_minor()
146 static inline bool userfaultfd_pte_wp(struct vm_area_struct *vma, in userfaultfd_pte_wp()
152 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 bool madvise_free_huge_pmd(struct mmu_gather *tlb, struct vm_area_struct *vma,
30 int zap_huge_pmd(struct mmu_gather *tlb, struct vm_area_struct *vma, pmd_t *pmd,
32 int zap_huge_pud(struct mmu_gather *tlb, struct vm_area_struct *vma, pud_t *pud,
34 bool move_huge_pmd(struct vm_area_struct *vma, unsigned long old_addr,
36 int change_huge_pmd(struct mmu_gather *tlb, struct vm_area_struct *vma,
100 static inline bool transhuge_vma_suitable(struct vm_area_struct *vma, in transhuge_vma_suitable()
119 static inline bool file_thp_enabled(struct vm_area_struct *vma) in file_thp_enabled()
133 bool hugepage_vma_check(struct vm_area_struct *vma, unsigned long vm_flags,
[all …]
Dhugetlb.h113 struct vm_area_struct *vma;
128 void hugetlb_dup_vma_private(struct vm_area_struct *vma);
129 void clear_vma_resv_huge_pages(struct vm_area_struct *vma);
130 int move_hugetlb_page_tables(struct vm_area_struct *vma,
131 struct vm_area_struct *new_vma,
135 struct vm_area_struct *, struct vm_area_struct *);
136 struct page *hugetlb_follow_page_mask(struct vm_area_struct *vma,
139 void unmap_hugepage_range(struct vm_area_struct *,
143 struct vm_area_struct *vma,
150 vm_fault_t hugetlb_fault(struct mm_struct *mm, 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.h247 struct vm_area_struct *vm_area_alloc(struct mm_struct *);
248 struct vm_area_struct *vm_area_dup(struct vm_area_struct *);
249 void vm_area_free(struct vm_area_struct *);
251 void __vm_area_free(struct vm_area_struct *vma);
510 struct vm_area_struct *vma; /* Target VMA */
560 void (*open)(struct vm_area_struct * area);
565 void (*close)(struct vm_area_struct * area);
567 int (*may_split)(struct vm_area_struct *area, unsigned long addr);
568 int (*mremap)(struct vm_area_struct *area);
574 int (*mprotect)(struct vm_area_struct *vma, unsigned long start,
[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.h250 extern int ptep_set_access_flags(struct vm_area_struct *vma,
257 extern int pmdp_set_access_flags(struct vm_area_struct *vma,
260 extern int pudp_set_access_flags(struct vm_area_struct *vma,
264 static inline int pmdp_set_access_flags(struct vm_area_struct *vma, in pmdp_set_access_flags()
271 static inline int pudp_set_access_flags(struct vm_area_struct *vma, in pudp_set_access_flags()
296 static inline int ptep_test_and_clear_young(struct vm_area_struct *vma, in ptep_test_and_clear_young()
312 static inline int pmdp_test_and_clear_young(struct vm_area_struct *vma, in pmdp_test_and_clear_young()
325 static inline int pmdp_test_and_clear_young(struct vm_area_struct *vma, in pmdp_test_and_clear_young()
336 int ptep_clear_flush_young(struct vm_area_struct *vma,
342 extern int pmdp_clear_flush_young(struct vm_area_struct *vma,
[all …]
Dksm.h19 int ksm_madvise(struct vm_area_struct *vma, unsigned long start,
22 void ksm_add_vma(struct vm_area_struct *vma);
80 struct vm_area_struct *vma, unsigned long address);
96 static inline void ksm_add_vma(struct vm_area_struct *vma) in ksm_add_vma()
126 static inline int ksm_madvise(struct vm_area_struct *vma, unsigned long start, in ksm_madvise()
133 struct vm_area_struct *vma, unsigned long address) in ksm_might_need_to_copy()
/linux-6.6.21/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-6.6.21/arch/arm/include/asm/
Dpage.h108 struct vm_area_struct;
113 unsigned long vaddr, struct vm_area_struct *vma);
117 unsigned long vaddr, struct vm_area_struct *vma);
120 unsigned long vaddr, struct vm_area_struct *vma);
123 unsigned long vaddr, struct vm_area_struct *vma);
126 unsigned long vaddr, struct vm_area_struct *vma);
129 unsigned long vaddr, struct vm_area_struct *vma);
132 unsigned long vaddr, struct vm_area_struct *vma);
135 unsigned long vaddr, struct vm_area_struct *vma);
151 unsigned long vaddr, struct vm_area_struct *vma);
/linux-6.6.21/mm/
Dmmap.c80 struct vm_area_struct *vma, struct vm_area_struct *prev,
81 struct vm_area_struct *next, unsigned long start,
90 void vma_set_page_prot(struct vm_area_struct *vma) in vma_set_page_prot()
107 static void __remove_shared_vm_struct(struct vm_area_struct *vma, in __remove_shared_vm_struct()
122 void unlink_file_vma(struct vm_area_struct *vma) in unlink_file_vma()
137 static void remove_vma(struct vm_area_struct *vma, bool unreachable) in remove_vma()
151 static inline struct vm_area_struct *vma_prev_limit(struct vma_iterator *vmi, in vma_prev_limit()
176 static int do_brk_flags(struct vma_iterator *vmi, struct vm_area_struct *brkvma,
182 struct vm_area_struct *brkvma, *next = NULL; in SYSCALL_DEFINE1()
285 struct vm_area_struct *vma; in validate_mm()
[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()
Dmadvise.c94 struct anon_vma_name *anon_vma_name(struct vm_area_struct *vma) in anon_vma_name()
102 static int replace_anon_vma_name(struct vm_area_struct *vma, in replace_anon_vma_name()
122 static int replace_anon_vma_name(struct vm_area_struct *vma, in replace_anon_vma_name()
137 static int madvise_update_vma(struct vm_area_struct *vma, in madvise_update_vma()
138 struct vm_area_struct **prev, unsigned long start, in madvise_update_vma()
192 struct vm_area_struct *vma = walk->private; in swapin_walk_pmd_entry()
238 static void shmem_swapin_range(struct vm_area_struct *vma, in shmem_swapin_range()
279 static long madvise_willneed(struct vm_area_struct *vma, in madvise_willneed()
280 struct vm_area_struct **prev, in madvise_willneed()
327 static inline bool can_do_file_pageout(struct vm_area_struct *vma) in can_do_file_pageout()
[all …]
Dinternal.h113 struct vm_area_struct *start_vma, unsigned long floor,
119 struct vm_area_struct *vma,
582 extern long populate_vma_page_range(struct vm_area_struct *vma,
584 extern long faultin_vma_page_range(struct vm_area_struct *vma,
604 struct vm_area_struct *vma, bool compound) in mlock_vma_folio()
621 struct vm_area_struct *vma, bool compound) in munlock_vma_folio()
633 extern pmd_t maybe_pmd_mkwrite(pmd_t pmd, struct vm_area_struct *vma);
641 struct vm_area_struct *vma) in vma_pgoff_address()
666 vma_address(struct page *page, struct vm_area_struct *vma) in vma_address()
678 struct vm_area_struct *vma = pvmw->vma; in vma_address_end()
[all …]
/linux-6.6.21/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-6.6.21/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-6.6.21/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,
54 void flush_icache_pages(struct vm_area_struct *vma, struct page *page,
60 struct vm_area_struct *vma;
67 static inline void flush_anon_page(struct vm_area_struct *vma, in flush_anon_page()
84 extern void copy_to_user_page(struct vm_area_struct *vma,
88 extern void copy_from_user_page(struct vm_area_struct *vma,
/linux-6.6.21/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_pud_tlb_range(struct vm_area_struct *vma,
73 extern void radix__flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
79 extern void radix__local_flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
86 extern void radix__flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
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()
132 static inline void flush_tlb_fix_spurious_fault(struct vm_area_struct *vma, in flush_tlb_fix_spurious_fault()
/linux-6.6.21/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-6.6.21/arch/parisc/include/asm/
Dcacheflush.h62 void flush_icache_pages(struct vm_area_struct *vma, struct page *page,
71 void copy_to_user_page(struct vm_area_struct *vma, struct page *page,
73 void copy_from_user_page(struct vm_area_struct *vma, struct page *page,
75 void flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr,
77 void flush_cache_range(struct vm_area_struct *vma,
84 void flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vmaddr);
/linux-6.6.21/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()
66 extern void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
75 extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
/linux-6.6.21/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-6.6.21/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,
36 void flush_icache_pages(struct vm_area_struct *vma, struct page *page,
44 extern void copy_to_user_page(struct vm_area_struct *vma, struct page *page,
47 extern void copy_from_user_page(struct vm_area_struct *vma, struct page *page,

12345678910>>...35