Lines Matching refs:retval
322 int retval = 0; in mm_create_vma() local
335 retval = vma_insert(mm, vma); in mm_create_vma()
336 if (retval == -EEXIST || retval == __VMA_MERGED) // 之前已经存在了相同的vma,直接返回 in mm_create_vma()
340 if (retval == -EEXIST) in mm_create_vma()
362 int retval = 0; in mm_map_vma() local
412 …retval = mm_map_proc_page_table((uint64_t)vma->vm_mm->pgd, true, vma->vm_start + offset, paddr, le… in mm_map_vma()
413 if (unlikely(retval != 0)) in mm_map_vma()
431 …retval = mm_map_proc_page_table((uint64_t)vma->vm_mm->pgd, true, vma->vm_start + offset + mapped, … in mm_map_vma()
433 if (unlikely(retval != 0)) in mm_map_vma()
447 …retval = mm_map_proc_page_table((uint64_t)vma->vm_mm->pgd, true, vma->vm_start + offset + mapped, … in mm_map_vma()
449 if (unlikely(retval != 0)) in mm_map_vma()
461 return retval; in mm_map_vma()
475 int retval = 0; in mm_map() local
496 retval = mm_map_vma(vma, paddr + mapped, offset, m_len); in mm_map()
497 if (unlikely(retval != 0)) in mm_map()
505 return retval; in mm_map()
552 int retval = 0; in mm_unmap() local
581 return retval; in mm_unmap()