Lines Matching refs:mm
11 struct vm_area_struct *vm_area_alloc(struct mm_struct *mm) in vm_area_alloc() argument
15 vma_init(vma, mm); in vm_area_alloc()
50 void __vma_link_list(struct mm_struct *mm, struct vm_area_struct *vma, struct vm_area_struct *prev) in __vma_link_list() argument
61 next = mm->vmas; in __vma_link_list()
62 mm->vmas = vma; in __vma_link_list()
77 void __vma_unlink_list(struct mm_struct *mm, struct vm_area_struct *vma) in __vma_unlink_list() argument
85 mm->vmas = next; in __vma_unlink_list()
98 struct vm_area_struct *vma_find(struct mm_struct *mm, uint64_t addr) in vma_find() argument
100 struct vm_area_struct *vma = mm->vmas; in vma_find()
121 int vma_insert(struct mm_struct *mm, struct vm_area_struct *vma) in vma_insert() argument
126 prev = vma_find(mm, vma->vm_start); in vma_insert()
156 struct vm_area_struct *ptr = mm->vmas; in vma_insert()
170 __vma_link_list(mm, vma, prev); in vma_insert()