Lines Matching refs:vma
322 static inline void vma_init(struct vm_area_struct *vma, struct mm_struct *mm) in vma_init() argument
324 memset(vma, 0, sizeof(struct vm_area_struct)); in vma_init()
325 vma->vm_mm = mm; in vma_init()
326 vma->vm_prev = vma->vm_next = NULL; in vma_init()
327 vma->vm_ops = NULL; in vma_init()
328 list_init(&vma->anon_vma_list); in vma_init()
338 static inline bool vma_is_foreign(struct vm_area_struct *vma) in vma_is_foreign() argument
342 if (current_pcb->mm != vma->vm_mm) in vma_is_foreign()
347 static inline bool vma_is_accessible(struct vm_area_struct *vma) in vma_is_accessible() argument
349 return vma->vm_flags & VM_ACCESS_FLAGS; in vma_is_accessible()
365 void vm_area_free(struct vm_area_struct *vma);
372 void vm_area_del(struct vm_area_struct *vma);
390 int vma_insert(struct mm_struct *mm, struct vm_area_struct *vma);
467 int mm_map_vma(struct vm_area_struct *vma, uint64_t paddr, uint64_t offset, uint64_t length);
488 int mm_unmap_vma(struct mm_struct *mm, struct vm_area_struct *vma, uint64_t *paddr);