Lines Matching refs:mm
322 static inline void vma_init(struct vm_area_struct *vma, struct mm_struct *mm) in vma_init() argument
325 vma->vm_mm = mm; in vma_init()
340 if (current_pcb->mm == NULL) in vma_is_foreign()
342 if (current_pcb->mm != vma->vm_mm) in vma_is_foreign()
358 struct vm_area_struct *vm_area_alloc(struct mm_struct *mm);
381 struct vm_area_struct *vma_find(struct mm_struct *mm, uint64_t addr);
390 int vma_insert(struct mm_struct *mm, struct vm_area_struct *vma);
455 int mm_create_vma(struct mm_struct *mm, uint64_t vaddr, uint64_t length, vm_flags_t vm_flags,
478 int mm_map(struct mm_struct *mm, uint64_t vaddr, uint64_t length, uint64_t paddr);
488 int mm_unmap_vma(struct mm_struct *mm, struct vm_area_struct *vma, uint64_t *paddr);
499 int mm_unmap(struct mm_struct *mm, uint64_t vaddr, uint64_t length, bool destroy);