Lines Matching refs:vm_area_struct

253 	void (*open)(struct vm_area_struct * area);
254 void (*close)(struct vm_area_struct * area);
255 int (*mremap)(struct vm_area_struct * area);
256 int (*fault)(struct vm_area_struct *vma, struct vm_fault *vmf);
257 int (*pmd_fault)(struct vm_area_struct *, unsigned long address,
259 void (*map_pages)(struct vm_area_struct *vma, struct vm_fault *vmf);
263 int (*page_mkwrite)(struct vm_area_struct *vma, struct vm_fault *vmf);
266 int (*pfn_mkwrite)(struct vm_area_struct *vma, struct vm_fault *vmf);
271 int (*access)(struct vm_area_struct *vma, unsigned long addr,
277 const char *(*name)(struct vm_area_struct *vma);
287 int (*set_policy)(struct vm_area_struct *vma, struct mempolicy *new);
299 struct mempolicy *(*get_policy)(struct vm_area_struct *vma,
307 struct page *(*find_special_page)(struct vm_area_struct *vma,
572 static inline pte_t maybe_mkwrite(pte_t pte, struct vm_area_struct *vma) in maybe_mkwrite()
579 void do_set_pte(struct vm_area_struct *vma, unsigned long address,
1062 int shmem_zero_setup(struct vm_area_struct *);
1085 struct page *vm_normal_page(struct vm_area_struct *vma, unsigned long addr,
1087 struct page *vm_normal_page_pmd(struct vm_area_struct *vma, unsigned long addr,
1090 int zap_vma_ptes(struct vm_area_struct *vma, unsigned long address,
1092 void zap_page_range(struct vm_area_struct *vma, unsigned long address,
1094 void unmap_vmas(struct mmu_gather *tlb, struct vm_area_struct *start_vma,
1130 struct vm_area_struct *vma;
1136 int walk_page_vma(struct vm_area_struct *vma, struct mm_walk *walk);
1140 struct vm_area_struct *vma);
1143 int follow_pfn(struct vm_area_struct *vma, unsigned long address,
1145 int follow_phys(struct vm_area_struct *vma, unsigned long address,
1147 int generic_access_phys(struct vm_area_struct *vma, unsigned long addr,
1165 extern int handle_mm_fault(struct mm_struct *mm, struct vm_area_struct *vma,
1171 struct vm_area_struct *vma, unsigned long address, in handle_mm_fault()
1195 struct vm_area_struct **vmas, int *nonblocking);
1199 struct vm_area_struct **vmas);
1282 static inline int vma_growsdown(struct vm_area_struct *vma, unsigned long addr) in vma_growsdown()
1287 static inline bool vma_is_anonymous(struct vm_area_struct *vma) in vma_is_anonymous()
1292 static inline int stack_guard_page_start(struct vm_area_struct *vma, in stack_guard_page_start()
1301 static inline int vma_growsup(struct vm_area_struct *vma, unsigned long addr) in vma_growsup()
1306 static inline int stack_guard_page_end(struct vm_area_struct *vma, in stack_guard_page_end()
1315 struct vm_area_struct *vma, bool in_group);
1317 extern unsigned long move_page_tables(struct vm_area_struct *vma,
1318 unsigned long old_addr, struct vm_area_struct *new_vma,
1321 extern unsigned long change_protection(struct vm_area_struct *vma, unsigned long start,
1324 extern int mprotect_fixup(struct vm_area_struct *vma,
1325 struct vm_area_struct **pprev, unsigned long start,
1418 int vma_wants_writenotify(struct vm_area_struct *vma);
1481 int __pte_alloc(struct mm_struct *mm, struct vm_area_struct *vma,
1831 void vma_interval_tree_insert(struct vm_area_struct *node,
1833 void vma_interval_tree_insert_after(struct vm_area_struct *node,
1834 struct vm_area_struct *prev,
1836 void vma_interval_tree_remove(struct vm_area_struct *node,
1838 struct vm_area_struct *vma_interval_tree_iter_first(struct rb_root *root,
1840 struct vm_area_struct *vma_interval_tree_iter_next(struct vm_area_struct *node,
1865 extern int vma_adjust(struct vm_area_struct *vma, unsigned long start,
1866 unsigned long end, pgoff_t pgoff, struct vm_area_struct *insert);
1867 extern struct vm_area_struct *vma_merge(struct mm_struct *,
1868 struct vm_area_struct *prev, unsigned long addr, unsigned long end,
1871 extern struct anon_vma *find_mergeable_anon_vma(struct vm_area_struct *);
1873 struct vm_area_struct *, unsigned long addr, int new_below);
1874 extern int insert_vm_struct(struct mm_struct *, struct vm_area_struct *);
1875 extern void __vma_link_rb(struct mm_struct *, struct vm_area_struct *,
1877 extern void unlink_file_vma(struct vm_area_struct *);
1878 extern struct vm_area_struct *copy_vma(struct vm_area_struct **,
1904 extern struct vm_area_struct *_install_special_mapping(struct mm_struct *mm,
1987 extern int filemap_fault(struct vm_area_struct *, struct vm_fault *);
1988 extern void filemap_map_pages(struct vm_area_struct *vma, struct vm_fault *vmf);
1989 extern int filemap_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf);
2016 extern int expand_stack(struct vm_area_struct *vma, unsigned long address);
2019 extern int expand_downwards(struct vm_area_struct *vma,
2022 extern int expand_upwards(struct vm_area_struct *vma, unsigned long address);
2028 extern struct vm_area_struct * find_vma(struct mm_struct * mm, unsigned long addr);
2029 extern struct vm_area_struct * find_vma_prev(struct mm_struct * mm, unsigned long addr,
2030 struct vm_area_struct **pprev);
2034 static inline struct vm_area_struct * find_vma_intersection(struct mm_struct * mm, unsigned long st… in find_vma_intersection()
2036 struct vm_area_struct * vma = find_vma(mm,start_addr); in find_vma_intersection()
2043 static inline unsigned long vma_pages(struct vm_area_struct *vma) in vma_pages()
2049 static inline struct vm_area_struct *find_exact_vma(struct mm_struct *mm, in find_exact_vma()
2052 struct vm_area_struct *vma = find_vma(mm, vm_start); in find_exact_vma()
2062 void vma_set_page_prot(struct vm_area_struct *vma);
2068 static inline void vma_set_page_prot(struct vm_area_struct *vma) in vma_set_page_prot()
2075 unsigned long change_prot_numa(struct vm_area_struct *vma,
2079 struct vm_area_struct *find_extend_vma(struct mm_struct *, unsigned long addr);
2080 int remap_pfn_range(struct vm_area_struct *, unsigned long addr,
2082 int vm_insert_page(struct vm_area_struct *, unsigned long addr, struct page *);
2083 int vm_insert_pfn(struct vm_area_struct *vma, unsigned long addr,
2085 int vm_insert_mixed(struct vm_area_struct *vma, unsigned long addr,
2087 int vm_iomap_memory(struct vm_area_struct *vma, phys_addr_t start, unsigned long len);
2090 struct page *follow_page_mask(struct vm_area_struct *vma,
2094 static inline struct page *follow_page(struct vm_area_struct *vma, in follow_page()
2160 extern struct vm_area_struct *get_gate_vma(struct mm_struct *mm);
2164 static inline struct vm_area_struct *get_gate_vma(struct mm_struct *mm) in get_gate_vma()
2190 const char * arch_vma_name(struct vm_area_struct *vma);
2273 unsigned long addr, struct vm_area_struct *vma,