Home | History | Annotate | Download | only in linux

Lines Matching refs:vm_area_struct

58 struct vm_area_struct {
65 struct vm_area_struct *vm_next;
82 struct vm_area_struct *head;
122 struct vm_area_struct *vma;
197 void (*open)(struct vm_area_struct * area);
198 void (*close)(struct vm_area_struct * area);
199 struct page * (*nopage)(struct vm_area_struct * area, unsigned long address, int *type);
200 int (*populate)(struct vm_area_struct * area, unsigned long address, unsigned long len, pgprot_t prot, unsigned long pgoff, int nonblock);
204 int (*page_mkwrite)(struct vm_area_struct *vma, struct page *page);
206 int (*set_policy)(struct vm_area_struct *vma, struct mempolicy *new);
207 struct mempolicy *(*get_policy)(struct vm_area_struct *vma,
209 int (*migrate)(struct vm_area_struct *vma, const nodemask_t *from,
648 struct page *shmem_nopage(struct vm_area_struct *vma,
650 int shmem_set_policy(struct vm_area_struct *vma, struct mempolicy *new);
651 struct mempolicy *shmem_get_policy(struct vm_area_struct *vma,
663 static inline int shmem_set_policy(struct vm_area_struct *vma,
669 static inline struct mempolicy *shmem_get_policy(struct vm_area_struct *vma,
676 extern int shmem_mmap(struct file *file, struct vm_area_struct *vma);
678 int shmem_zero_setup(struct vm_area_struct *);
703 struct vm_area_struct *nonlinear_vma; /* Check page->index if set */
711 struct page *vm_normal_page(struct vm_area_struct *, unsigned long, pte_t);
712 unsigned long zap_page_range(struct vm_area_struct *vma, unsigned long address,
715 struct vm_area_struct *start_vma, unsigned long start_addr,
720 void free_pgtables(struct mmu_gather **tlb, struct vm_area_struct *start_vma,
723 struct vm_area_struct *vma);
724 int zeromap_page_range(struct vm_area_struct *vma, unsigned long from,
737 extern int install_page(struct mm_struct *mm, struct vm_area_struct *vma, unsigned long addr, struct page *page, pgprot_t prot);
738 extern int install_file_pte(struct mm_struct *mm, struct vm_area_struct *vma, unsigned long addr, unsigned long pgoff, pgprot_t prot);
741 extern int __handle_mm_fault(struct mm_struct *mm,struct vm_area_struct *vma,
745 struct vm_area_struct *vma, unsigned long address,
753 struct vm_area_struct *vma, unsigned long address,
764 void install_arg_page(struct vm_area_struct *, struct page *, unsigned long);
767 int len, int write, int force, struct page **pages, struct vm_area_struct **vmas);
768 void print_bad_pte(struct vm_area_struct *, pte_t, unsigned long);
896 void vma_prio_tree_add(struct vm_area_struct *, struct vm_area_struct *old);
897 void vma_prio_tree_insert(struct vm_area_struct *, struct prio_tree_root *);
898 void vma_prio_tree_remove(struct vm_area_struct *, struct prio_tree_root *);
899 struct vm_area_struct *vma_prio_tree_next(struct vm_area_struct *vma,
906 static inline void vma_nonlinear_insert(struct vm_area_struct *vma,
915 extern void vma_adjust(struct vm_area_struct *vma, unsigned long start,
916 unsigned long end, pgoff_t pgoff, struct vm_area_struct *insert);
917 extern struct vm_area_struct *vma_merge(struct mm_struct *,
918 struct vm_area_struct *prev, unsigned long addr, unsigned long end,
921 extern struct anon_vma *find_mergeable_anon_vma(struct vm_area_struct *);
923 struct vm_area_struct *, unsigned long addr, int new_below);
924 extern int insert_vm_struct(struct mm_struct *, struct vm_area_struct *);
925 extern void __vma_link_rb(struct mm_struct *, struct vm_area_struct *,
927 extern void unlink_file_vma(struct vm_area_struct *);
928 extern struct vm_area_struct *copy_vma(struct vm_area_struct **,
963 extern struct page *filemap_nopage(struct vm_area_struct *, unsigned long, int *);
964 extern int filemap_populate(struct vm_area_struct *, unsigned long,
990 extern int expand_stack(struct vm_area_struct *vma, unsigned long address);
992 extern int expand_upwards(struct vm_area_struct *vma, unsigned long address);
996 extern struct vm_area_struct * find_vma(struct mm_struct * mm, unsigned long addr);
997 extern struct vm_area_struct * find_vma_prev(struct mm_struct * mm, unsigned long addr,
998 struct vm_area_struct **pprev);
1002 static inline struct vm_area_struct * find_vma_intersection(struct mm_struct * mm, unsigned long start_addr, unsigned long end_addr)
1004 struct vm_area_struct * vma = find_vma(mm,start_addr);
1011 static inline unsigned long vma_pages(struct vm_area_struct *vma)
1016 struct vm_area_struct *find_extend_vma(struct mm_struct *, unsigned long addr);
1019 int remap_pfn_range(struct vm_area_struct *, unsigned long addr,
1021 int vm_insert_page(struct vm_area_struct *, unsigned long addr, struct page *);
1023 struct page *follow_page(struct vm_area_struct *, unsigned long address,
1049 extern struct vm_area_struct *get_gate_vma(struct task_struct *tsk);
1074 const char *arch_vma_name(struct vm_area_struct *vma);