/Linux-v5.4/include/linux/ |
D | rmap.h | 78 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 …]
|
D | huge_mm.h | 13 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 int mincore_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd, 44 extern bool move_huge_pmd(struct vm_area_struct *vma, unsigned long old_addr, 47 extern int change_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd, 90 extern bool is_vma_temporary_stack(struct vm_area_struct *vma); [all …]
|
D | userfaultfd_k.h | 44 static inline bool is_mergeable_vm_userfaultfd_ctx(struct vm_area_struct *vma, in is_mergeable_vm_userfaultfd_ctx() 50 static inline bool userfaultfd_missing(struct vm_area_struct *vma) in userfaultfd_missing() 55 static inline bool userfaultfd_armed(struct vm_area_struct *vma) in userfaultfd_armed() 60 extern int dup_userfaultfd(struct vm_area_struct *, struct list_head *); 63 extern void mremap_userfaultfd_prep(struct vm_area_struct *, 69 extern bool userfaultfd_remove(struct vm_area_struct *vma, 73 extern int userfaultfd_unmap_prep(struct vm_area_struct *vma, 88 static inline bool is_mergeable_vm_userfaultfd_ctx(struct vm_area_struct *vma, in is_mergeable_vm_userfaultfd_ctx() 94 static inline bool userfaultfd_missing(struct vm_area_struct *vma) in userfaultfd_missing() 99 static inline bool userfaultfd_armed(struct vm_area_struct *vma) in userfaultfd_armed() [all …]
|
D | hugetlb.h | 62 void reset_vma_resv_huge_pages(struct vm_area_struct *vma); 72 int copy_hugetlb_page_range(struct mm_struct *, struct mm_struct *, struct vm_area_struct *); 73 long follow_hugetlb_page(struct mm_struct *, struct vm_area_struct *, 74 struct page **, struct vm_area_struct **, 77 void unmap_hugepage_range(struct vm_area_struct *, 80 struct vm_area_struct *vma, 83 void __unmap_hugepage_range(struct mmu_gather *tlb, struct vm_area_struct *vma, 90 vm_fault_t hugetlb_fault(struct mm_struct *mm, struct vm_area_struct *vma, 93 struct vm_area_struct *dst_vma, 98 struct vm_area_struct *vma, [all …]
|
D | mm.h | 232 struct vm_area_struct *vm_area_alloc(struct mm_struct *); 233 struct vm_area_struct *vm_area_dup(struct vm_area_struct *); 234 void vm_area_free(struct vm_area_struct *); 418 struct vm_area_struct *vma; /* Target VMA */ 468 void (*open)(struct vm_area_struct * area); 469 void (*close)(struct vm_area_struct * area); 470 int (*split)(struct vm_area_struct * area, unsigned long addr); 471 int (*mremap)(struct vm_area_struct * area); 477 unsigned long (*pagesize)(struct vm_area_struct * area); 489 int (*access)(struct vm_area_struct *vma, unsigned long addr, [all …]
|
D | mempolicy.h | 130 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, 176 static inline bool vma_migratable(struct vm_area_struct *vma) in vma_migratable() 205 extern int mpol_misplaced(struct page *, struct vm_area_struct *, unsigned long); 249 vma_dup_policy(struct vm_area_struct *src, struct vm_area_struct *dst) in vma_dup_policy() 271 static inline int huge_node(struct vm_area_struct *vma, in huge_node() 302 static inline int mpol_misplaced(struct page *page, struct vm_area_struct *vma, in mpol_misplaced()
|
D | ksm.h | 22 int ksm_madvise(struct vm_area_struct *vma, unsigned long start, 52 struct vm_area_struct *vma, unsigned long address); 57 struct vm_area_struct *vma, unsigned long address); 71 static inline int ksm_madvise(struct vm_area_struct *vma, unsigned long start, in ksm_madvise() 78 struct vm_area_struct *vma, unsigned long address) in ksm_might_need_to_copy() 92 struct vm_area_struct *vma, unsigned long address) in reuse_ksm_page()
|
/Linux-v5.4/mm/ |
D | mmap.c | 77 struct vm_area_struct *vma, struct vm_area_struct *prev, 128 void vma_set_page_prot(struct vm_area_struct *vma) in vma_set_page_prot() 145 static void __remove_shared_vm_struct(struct vm_area_struct *vma, in __remove_shared_vm_struct() 162 void unlink_file_vma(struct vm_area_struct *vma) in unlink_file_vma() 177 static struct vm_area_struct *remove_vma(struct vm_area_struct *vma) in remove_vma() 179 struct vm_area_struct *next = vma->vm_next; in remove_vma() 198 struct vm_area_struct *next; in SYSCALL_DEFINE1() 294 static inline unsigned long vma_compute_gap(struct vm_area_struct *vma) in vma_compute_gap() 316 static unsigned long vma_compute_subtree_gap(struct vm_area_struct *vma) in vma_compute_subtree_gap() 321 struct vm_area_struct, vm_rb)->rb_subtree_gap; in vma_compute_subtree_gap() [all …]
|
D | interval_tree.c | 13 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()
|
D | pgtable-generic.c | 55 int ptep_set_access_flags(struct vm_area_struct *vma, in ptep_set_access_flags() 69 int ptep_clear_flush_young(struct vm_area_struct *vma, in ptep_clear_flush_young() 81 pte_t ptep_clear_flush(struct vm_area_struct *vma, unsigned long address, in ptep_clear_flush() 96 int pmdp_set_access_flags(struct vm_area_struct *vma, in pmdp_set_access_flags() 111 int pmdp_clear_flush_young(struct vm_area_struct *vma, in pmdp_clear_flush_young() 124 pmd_t pmdp_huge_clear_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_huge_clear_flush() 137 pud_t pudp_huge_clear_flush(struct vm_area_struct *vma, unsigned long address, in pudp_huge_clear_flush() 185 pmd_t pmdp_invalidate(struct vm_area_struct *vma, unsigned long address, in pmdp_invalidate() 195 pmd_t pmdp_collapse_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_collapse_flush()
|
/Linux-v5.4/include/xen/ |
D | xen-ops.h | 65 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.4/include/asm-generic/ |
D | pgtable.h | 30 extern int ptep_set_access_flags(struct vm_area_struct *vma, 37 extern int pmdp_set_access_flags(struct vm_area_struct *vma, 40 extern int pudp_set_access_flags(struct vm_area_struct *vma, 44 static inline int pmdp_set_access_flags(struct vm_area_struct *vma, in pmdp_set_access_flags() 51 static inline int pudp_set_access_flags(struct vm_area_struct *vma, in pudp_set_access_flags() 62 static inline int ptep_test_and_clear_young(struct vm_area_struct *vma, in ptep_test_and_clear_young() 78 static inline int pmdp_test_and_clear_young(struct vm_area_struct *vma, in pmdp_test_and_clear_young() 91 static inline int pmdp_test_and_clear_young(struct vm_area_struct *vma, in pmdp_test_and_clear_young() 102 int ptep_clear_flush_young(struct vm_area_struct *vma, 108 extern int pmdp_clear_flush_young(struct vm_area_struct *vma, [all …]
|
/Linux-v5.4/arch/nds32/include/asm/ |
D | cacheflush.h | 12 void flush_icache_page(struct vm_area_struct *vma, struct page *page); 16 void flush_cache_range(struct vm_area_struct *vma, 18 void flush_cache_page(struct vm_area_struct *vma, 26 void copy_to_user_page(struct vm_area_struct *vma, struct page *page, 28 void copy_from_user_page(struct vm_area_struct *vma, struct page *page, 32 void flush_anon_page(struct vm_area_struct *vma, 47 void flush_icache_user_range(struct vm_area_struct *vma, struct page *page,
|
/Linux-v5.4/arch/sparc/include/asm/ |
D | cachetlb_32.h | 6 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.4/arch/arc/include/asm/ |
D | tlbflush.h | 13 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.4/arch/sh/include/asm/ |
D | cacheflush.h | 42 extern void flush_cache_page(struct vm_area_struct *vma, 44 extern void flush_cache_range(struct vm_area_struct *vma, 49 extern void flush_icache_page(struct vm_area_struct *vma, 54 struct vm_area_struct *vma; 61 static inline void flush_anon_page(struct vm_area_struct *vma, in flush_anon_page() 82 extern void copy_to_user_page(struct vm_area_struct *vma, 86 extern void copy_from_user_page(struct vm_area_struct *vma,
|
/Linux-v5.4/arch/powerpc/include/asm/book3s/64/ |
D | hugetlb.h | 9 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);
|
D | tlbflush-radix.h | 5 struct vm_area_struct; 44 extern void radix__flush_hugetlb_tlb_range(struct vm_area_struct *vma, 48 extern void radix__flush_pmd_tlb_range(struct vm_area_struct *vma, 50 extern void radix__flush_tlb_range(struct vm_area_struct *vma, unsigned long start, 56 extern void radix__local_flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr); 63 extern void radix__flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
|
D | tlbflush.h | 50 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.4/arch/alpha/include/asm/ |
D | tlbflush.h | 40 struct vm_area_struct *vma, in ev4_flush_tlb_current_page() 53 struct vm_area_struct *vma, in ev5_flush_tlb_current_page() 118 flush_tlb_page(struct vm_area_struct *vma, unsigned long addr) in flush_tlb_page() 131 flush_tlb_range(struct vm_area_struct *vma, unsigned long start, in flush_tlb_range() 141 extern void flush_tlb_page(struct vm_area_struct *, unsigned long); 142 extern void flush_tlb_range(struct vm_area_struct *, unsigned long,
|
/Linux-v5.4/arch/nios2/include/asm/ |
D | cacheflush.h | 26 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.4/arch/mips/include/asm/ |
D | cacheflush.h | 50 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.4/arch/powerpc/include/asm/book3s/32/ |
D | tlbflush.h | 10 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.4/arch/xtensa/include/asm/ |
D | cacheflush.h | 99 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, 163 extern void copy_to_user_page(struct vm_area_struct*, struct page*, 165 extern void copy_from_user_page(struct vm_area_struct*, struct page*,
|
/Linux-v5.4/arch/openrisc/include/asm/ |
D | tlbflush.h | 34 extern void local_flush_tlb_page(struct vm_area_struct *vma, 36 extern void local_flush_tlb_range(struct vm_area_struct *vma, 48 extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long addr); 49 extern void flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
|