Lines Matching refs:vm_area_struct
14 struct vm_area_struct *vma;
15 struct vm_area_struct *adj_next;
19 struct vm_area_struct *insert;
20 struct vm_area_struct *remove;
21 struct vm_area_struct *remove2;
28 struct vm_area_struct *vmas[8];
36 struct vm_area_struct *vma; /* The first vma to munmap */
37 struct vm_area_struct *prev; /* vma before the munmap area */
38 struct vm_area_struct *next; /* vma after the munmap area */
84 struct vm_area_struct *prev;
85 struct vm_area_struct *middle;
86 struct vm_area_struct *next;
88 struct vm_area_struct *target;
161 static inline pgoff_t vma_pgoff_offset(struct vm_area_struct *vma, in vma_pgoff_offset()
205 struct vm_area_struct *vma,
209 struct vm_area_struct *vma, gfp_t gfp) in vma_iter_store_gfp()
232 static inline struct vm_area_desc *vma_to_desc(struct vm_area_struct *vma, in vma_to_desc()
250 static inline void set_vma_from_desc(struct vm_area_struct *vma, in set_vma_from_desc()
273 do_vmi_align_munmap(struct vma_iterator *vmi, struct vm_area_struct *vma,
281 void remove_vma(struct vm_area_struct *vma);
283 void unmap_region(struct ma_state *mas, struct vm_area_struct *vma,
284 struct vm_area_struct *prev, struct vm_area_struct *next);
287 __must_check struct vm_area_struct
289 struct vm_area_struct *prev, struct vm_area_struct *vma,
294 __must_check struct vm_area_struct
296 struct vm_area_struct *prev,
297 struct vm_area_struct *vma,
303 __must_check struct vm_area_struct
305 struct vm_area_struct *prev,
306 struct vm_area_struct *vma,
311 __must_check struct vm_area_struct
313 struct vm_area_struct *prev,
314 struct vm_area_struct *vma,
320 __must_check struct vm_area_struct
323 __must_check struct vm_area_struct
325 struct vm_area_struct *vma,
333 struct vm_area_struct *vma);
335 void unlink_file_vma(struct vm_area_struct *vma);
337 void vma_link_file(struct vm_area_struct *vma);
339 int vma_link(struct mm_struct *mm, struct vm_area_struct *vma);
341 struct vm_area_struct *copy_vma(struct vm_area_struct **vmap,
345 struct anon_vma *find_mergeable_anon_vma(struct vm_area_struct *vma);
347 bool vma_needs_dirty_tracking(struct vm_area_struct *vma);
348 bool vma_wants_writenotify(struct vm_area_struct *vma, pgprot_t vm_page_prot);
357 int do_brk_flags(struct vma_iterator *vmi, struct vm_area_struct *brkvma,
363 static inline bool vma_wants_manual_pte_write_upgrade(struct vm_area_struct *vma) in vma_wants_manual_pte_write_upgrade()
383 static inline struct vm_area_struct *vma_prev_limit(struct vma_iterator *vmi, in vma_prev_limit()
433 struct vm_area_struct *vma_iter_prev_range_limit(struct vma_iterator *vmi, unsigned long min) in vma_iter_prev_range_limit()
439 struct vm_area_struct *vma_iter_next_range_limit(struct vma_iterator *vmi, unsigned long max) in vma_iter_next_range_limit()
460 struct vm_area_struct *vma) in vma_iter_prealloc()
470 static inline struct vm_area_struct *vma_iter_load(struct vma_iterator *vmi) in vma_iter_load()
477 struct vm_area_struct *vma) in vma_iter_store_overwrite()
505 struct vm_area_struct *vma) in vma_iter_store_new()
528 struct vm_area_struct *vma_iter_prev_range(struct vma_iterator *vmi) in vma_iter_prev_range()
538 struct vm_area_struct *vma_iter_next_rewind(struct vma_iterator *vmi, in vma_iter_next_rewind()
539 struct vm_area_struct **pprev) in vma_iter_next_rewind()
541 struct vm_area_struct *next = vma_next(vmi); in vma_iter_next_rewind()
542 struct vm_area_struct *prev = vma_prev(vmi); in vma_iter_next_rewind()
562 static inline bool vma_is_sealed(struct vm_area_struct *vma) in vma_is_sealed()
567 static inline bool vma_is_sealed(struct vm_area_struct *vma) in vma_is_sealed()
574 int expand_upwards(struct vm_area_struct *vma, unsigned long address);
577 int expand_downwards(struct vm_area_struct *vma, unsigned long address);
581 int insert_vm_struct(struct mm_struct *mm, struct vm_area_struct *vma);
585 struct vm_area_struct *vm_area_alloc(struct mm_struct *mm);
586 struct vm_area_struct *vm_area_dup(struct vm_area_struct *orig);
587 void vm_area_free(struct vm_area_struct *vma);
591 int create_init_stack_vma(struct mm_struct *mm, struct vm_area_struct **vmap,
593 int relocate_vma_down(struct vm_area_struct *vma, unsigned long shift);