Lines Matching refs:vm_area_struct
190 struct vm_area_struct { struct
293 void (*open)(struct vm_area_struct * area); argument
298 void (*close)(struct vm_area_struct * area);
300 int (*may_split)(struct vm_area_struct *area, unsigned long addr);
301 int (*mremap)(struct vm_area_struct *area);
307 int (*mprotect)(struct vm_area_struct *vma, unsigned long start,
313 unsigned long (*pagesize)(struct vm_area_struct * area);
326 int (*access)(struct vm_area_struct *vma, unsigned long addr,
332 const char *(*name)(struct vm_area_struct *vma);
342 int (*set_policy)(struct vm_area_struct *vma, struct mempolicy *new);
354 struct mempolicy *(*get_policy)(struct vm_area_struct *vma,
362 struct page *(*find_special_page)(struct vm_area_struct *vma,
387 static inline bool vma_is_shared_maywrite(struct vm_area_struct *vma) in vma_is_shared_maywrite()
392 static inline struct vm_area_struct *vma_next(struct vma_iterator *vmi) in vma_next()
401 static inline bool vma_lock_alloc(struct vm_area_struct *vma) in vma_lock_alloc()
414 static inline void vma_assert_write_locked(struct vm_area_struct *);
415 static inline void vma_mark_detached(struct vm_area_struct *vma, bool detached) in vma_mark_detached()
425 static inline void vma_init(struct vm_area_struct *vma, struct mm_struct *mm) in vma_init()
434 static inline struct vm_area_struct *vm_area_alloc(struct mm_struct *mm) in vm_area_alloc()
436 struct vm_area_struct *vma = calloc(1, sizeof(struct vm_area_struct)); in vm_area_alloc()
450 static inline struct vm_area_struct *vm_area_dup(struct vm_area_struct *orig) in vm_area_dup()
452 struct vm_area_struct *new = calloc(1, sizeof(struct vm_area_struct)); in vm_area_dup()
511 static inline void vma_set_range(struct vm_area_struct *vma, in vma_set_range()
521 struct vm_area_struct *vma_find(struct vma_iterator *vmi, unsigned long max) in vma_find()
538 static inline struct vm_area_struct *find_vma_intersection(struct mm_struct *mm, in find_vma_intersection()
549 struct vm_area_struct *vma_lookup(struct mm_struct *mm, unsigned long addr) in vma_lookup()
554 static inline struct vm_area_struct *vma_prev(struct vma_iterator *vmi) in vma_prev()
564 static inline bool vma_is_anonymous(struct vm_area_struct *vma) in vma_is_anonymous()
573 static inline struct vm_area_struct *
575 struct vm_area_struct **pprev) in find_vma_prev()
577 struct vm_area_struct *vma; in find_vma_prev()
597 static inline struct anon_vma_name *anon_vma_name(struct vm_area_struct *vma) in anon_vma_name()
602 static inline bool is_mergeable_vm_userfaultfd_ctx(struct vm_area_struct *vma, in is_mergeable_vm_userfaultfd_ctx()
618 static inline unsigned long vma_pages(struct vm_area_struct *vma) in vma_pages()
631 static inline void vma_lock_free(struct vm_area_struct *vma) in vma_lock_free()
636 static inline void __vm_area_free(struct vm_area_struct *vma) in __vm_area_free()
642 static inline void vm_area_free(struct vm_area_struct *vma) in vm_area_free()
664 struct vm_area_struct *vma, unsigned long start_addr, in unmap_vmas()
678 struct vm_area_struct *vma, unsigned long floor, in free_pgtables()
705 static inline int vma_dup_policy(struct vm_area_struct *, struct vm_area_struct *) in vma_dup_policy() argument
710 static inline int anon_vma_clone(struct vm_area_struct *dst, struct vm_area_struct *src) in anon_vma_clone()
721 static inline void vma_start_write(struct vm_area_struct *vma) in vma_start_write()
727 static inline void vma_adjust_trans_huge(struct vm_area_struct *vma, in vma_adjust_trans_huge()
744 struct vm_area_struct *vma_iter_next_range(struct vma_iterator *vmi) in vma_iter_next_range()
753 static inline void vma_interval_tree_insert(struct vm_area_struct *, in vma_interval_tree_insert() argument
758 static inline void vma_interval_tree_remove(struct vm_area_struct *, in vma_interval_tree_remove() argument
777 static inline void uprobe_mmap(struct vm_area_struct *) in uprobe_mmap() argument
781 static inline void uprobe_munmap(struct vm_area_struct *vma, in uprobe_munmap()
797 static inline void vma_assert_write_locked(struct vm_area_struct *) in vma_assert_write_locked() argument
801 static inline void unlink_anon_vmas(struct vm_area_struct *vma) in unlink_anon_vmas()
815 static inline void anon_vma_merge(struct vm_area_struct *, in anon_vma_merge() argument
816 struct vm_area_struct *) in anon_vma_merge()
820 static inline int userfaultfd_unmap_prep(struct vm_area_struct *vma, in userfaultfd_unmap_prep()
874 static inline void khugepaged_enter_vma(struct vm_area_struct *vma, in khugepaged_enter_vma()
886 static inline bool is_vm_hugetlb_page(struct vm_area_struct *) in is_vm_hugetlb_page() argument
891 static inline bool vma_soft_dirty_enabled(struct vm_area_struct *) in vma_soft_dirty_enabled() argument
896 static inline bool userfaultfd_wp(struct vm_area_struct *) in userfaultfd_wp() argument