Lines Matching refs:vm_area_struct
238 struct vm_area_struct *vm_area_alloc(struct mm_struct *);
239 struct vm_area_struct *vm_area_dup(struct vm_area_struct *);
240 void vm_area_free(struct vm_area_struct *);
509 struct vm_area_struct *vma; /* Target VMA */
558 void (*open)(struct vm_area_struct * area);
559 void (*close)(struct vm_area_struct * area);
560 int (*split)(struct vm_area_struct * area, unsigned long addr);
561 int (*mremap)(struct vm_area_struct * area);
567 unsigned long (*pagesize)(struct vm_area_struct * area);
579 int (*access)(struct vm_area_struct *vma, unsigned long addr,
585 const char *(*name)(struct vm_area_struct *vma);
595 int (*set_policy)(struct vm_area_struct *vma, struct mempolicy *new);
607 struct mempolicy *(*get_policy)(struct vm_area_struct *vma,
615 struct page *(*find_special_page)(struct vm_area_struct *vma,
619 static inline void vma_init(struct vm_area_struct *vma, struct mm_struct *mm) in vma_init()
629 static inline void vma_set_anonymous(struct vm_area_struct *vma) in vma_set_anonymous()
634 static inline bool vma_is_anonymous(struct vm_area_struct *vma) in vma_is_anonymous()
639 static inline bool vma_is_temporary_stack(struct vm_area_struct *vma) in vma_is_temporary_stack()
653 static inline bool vma_is_foreign(struct vm_area_struct *vma) in vma_is_foreign()
664 static inline bool vma_is_accessible(struct vm_area_struct *vma) in vma_is_accessible()
674 bool vma_is_shmem(struct vm_area_struct *vma);
676 static inline bool vma_is_shmem(struct vm_area_struct *vma) { return false; } in vma_is_shmem()
679 int vma_is_stack_for_current(struct vm_area_struct *vma);
968 static inline pte_t maybe_mkwrite(pte_t pte, struct vm_area_struct *vma) in maybe_mkwrite()
1640 struct page *vm_normal_page(struct vm_area_struct *vma, unsigned long addr,
1642 struct page *vm_normal_page_pmd(struct vm_area_struct *vma, unsigned long addr,
1645 void zap_vma_ptes(struct vm_area_struct *vma, unsigned long address,
1647 void zap_page_range(struct vm_area_struct *vma, unsigned long address,
1649 void unmap_vmas(struct mmu_gather *tlb, struct vm_area_struct *start_vma,
1657 copy_page_range(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma);
1661 int follow_pfn(struct vm_area_struct *vma, unsigned long address,
1663 int follow_phys(struct vm_area_struct *vma, unsigned long address,
1665 int generic_access_phys(struct vm_area_struct *vma, unsigned long addr,
1677 extern vm_fault_t handle_mm_fault(struct vm_area_struct *vma,
1688 static inline vm_fault_t handle_mm_fault(struct vm_area_struct *vma, in handle_mm_fault()
1725 struct vm_area_struct **vmas, int *locked);
1729 struct vm_area_struct **vmas, int *locked);
1732 struct vm_area_struct **vmas);
1735 struct vm_area_struct **vmas);
1827 extern unsigned long move_page_tables(struct vm_area_struct *vma,
1828 unsigned long old_addr, struct vm_area_struct *new_vma,
1848 extern unsigned long change_protection(struct vm_area_struct *vma, unsigned long start,
1851 extern int mprotect_fixup(struct vm_area_struct *vma,
1852 struct vm_area_struct **pprev, unsigned long start,
1996 int vma_wants_writenotify(struct vm_area_struct *vma, pgprot_t vm_page_prot);
2472 void vma_interval_tree_insert(struct vm_area_struct *node,
2474 void vma_interval_tree_insert_after(struct vm_area_struct *node,
2475 struct vm_area_struct *prev,
2477 void vma_interval_tree_remove(struct vm_area_struct *node,
2479 struct vm_area_struct *vma_interval_tree_iter_first(struct rb_root_cached *root,
2481 struct vm_area_struct *vma_interval_tree_iter_next(struct vm_area_struct *node,
2507 extern int __vma_adjust(struct vm_area_struct *vma, unsigned long start,
2508 unsigned long end, pgoff_t pgoff, struct vm_area_struct *insert,
2509 struct vm_area_struct *expand);
2510 static inline int vma_adjust(struct vm_area_struct *vma, unsigned long start, in vma_adjust()
2511 unsigned long end, pgoff_t pgoff, struct vm_area_struct *insert) in vma_adjust()
2515 extern struct vm_area_struct *vma_merge(struct mm_struct *,
2516 struct vm_area_struct *prev, unsigned long addr, unsigned long end,
2519 extern struct anon_vma *find_mergeable_anon_vma(struct vm_area_struct *);
2520 extern int __split_vma(struct mm_struct *, struct vm_area_struct *,
2522 extern int split_vma(struct mm_struct *, struct vm_area_struct *,
2524 extern int insert_vm_struct(struct mm_struct *, struct vm_area_struct *);
2525 extern void __vma_link_rb(struct mm_struct *, struct vm_area_struct *,
2527 extern void unlink_file_vma(struct vm_area_struct *);
2528 extern struct vm_area_struct *copy_vma(struct vm_area_struct **,
2557 extern bool vma_is_special_mapping(const struct vm_area_struct *vma,
2559 extern struct vm_area_struct *_install_special_mapping(struct mm_struct *mm,
2634 extern int expand_stack(struct vm_area_struct *vma, unsigned long address);
2637 extern int expand_downwards(struct vm_area_struct *vma,
2640 extern int expand_upwards(struct vm_area_struct *vma, unsigned long address);
2646 extern struct vm_area_struct * find_vma(struct mm_struct * mm, unsigned long addr);
2647 extern struct vm_area_struct * find_vma_prev(struct mm_struct * mm, unsigned long addr,
2648 struct vm_area_struct **pprev);
2652 static inline struct vm_area_struct * find_vma_intersection(struct mm_struct * mm, unsigned long st… in find_vma_intersection()
2654 struct vm_area_struct * vma = find_vma(mm,start_addr); in find_vma_intersection()
2661 static inline unsigned long vm_start_gap(struct vm_area_struct *vma) in vm_start_gap()
2673 static inline unsigned long vm_end_gap(struct vm_area_struct *vma) in vm_end_gap()
2685 static inline unsigned long vma_pages(struct vm_area_struct *vma) in vma_pages()
2691 static inline struct vm_area_struct *find_exact_vma(struct mm_struct *mm, in find_exact_vma()
2694 struct vm_area_struct *vma = find_vma(mm, vm_start); in find_exact_vma()
2702 static inline bool range_in_vma(struct vm_area_struct *vma, in range_in_vma()
2710 void vma_set_page_prot(struct vm_area_struct *vma);
2716 static inline void vma_set_page_prot(struct vm_area_struct *vma) in vma_set_page_prot()
2723 unsigned long change_prot_numa(struct vm_area_struct *vma,
2727 struct vm_area_struct *find_extend_vma(struct mm_struct *, unsigned long addr);
2728 int remap_pfn_range(struct vm_area_struct *, unsigned long addr,
2730 int vm_insert_page(struct vm_area_struct *, unsigned long addr, struct page *);
2731 int vm_insert_pages(struct vm_area_struct *vma, unsigned long addr,
2733 int vm_map_pages(struct vm_area_struct *vma, struct page **pages,
2735 int vm_map_pages_zero(struct vm_area_struct *vma, struct page **pages,
2737 vm_fault_t vmf_insert_pfn(struct vm_area_struct *vma, unsigned long addr,
2739 vm_fault_t vmf_insert_pfn_prot(struct vm_area_struct *vma, unsigned long addr,
2741 vm_fault_t vmf_insert_mixed(struct vm_area_struct *vma, unsigned long addr,
2743 vm_fault_t vmf_insert_mixed_prot(struct vm_area_struct *vma, unsigned long addr,
2745 vm_fault_t vmf_insert_mixed_mkwrite(struct vm_area_struct *vma,
2747 int vm_iomap_memory(struct vm_area_struct *vma, phys_addr_t start, unsigned long len);
2749 static inline vm_fault_t vmf_insert_page(struct vm_area_struct *vma, in vmf_insert_page()
2763 static inline int io_remap_pfn_range(struct vm_area_struct *vma, in io_remap_pfn_range()
2778 struct page *follow_page(struct vm_area_struct *vma, unsigned long address,
2960 extern struct vm_area_struct *get_gate_vma(struct mm_struct *mm);
2964 static inline struct vm_area_struct *get_gate_vma(struct mm_struct *mm) in get_gate_vma()
2992 const char * arch_vma_name(struct vm_area_struct *vma);
3086 struct vm_area_struct *vma,
3103 static inline bool vma_is_special_huge(const struct vm_area_struct *vma) in vma_is_special_huge()