• Home
  • Raw
  • Download

Lines Matching refs:ret

772 	unsigned long ret = -EINVAL;  in mremap_to()  local
804 ret = do_munmap(mm, new_addr, new_len, uf_unmap_early); in mremap_to()
805 if (ret) in mremap_to()
810 ret = do_munmap(mm, addr+new_len, old_len - new_len, uf_unmap); in mremap_to()
811 if (ret && old_len != new_len) in mremap_to()
818 ret = PTR_ERR(vma); in mremap_to()
825 ret = -ENOMEM; in mremap_to()
835 ret = get_unmapped_area(vma->vm_file, new_addr, new_len, vma->vm_pgoff + in mremap_to()
838 if (IS_ERR_VALUE(ret)) in mremap_to()
843 new_addr = ret; in mremap_to()
845 ret = move_vma(vma, addr, old_len, new_len, new_addr, locked, flags, uf, in mremap_to()
848 if (!(offset_in_page(ret))) in mremap_to()
855 return ret; in mremap_to()
884 unsigned long ret = -EINVAL; in SYSCALL_DEFINE5() local
905 return ret; in SYSCALL_DEFINE5()
908 return ret; in SYSCALL_DEFINE5()
916 return ret; in SYSCALL_DEFINE5()
920 return ret; in SYSCALL_DEFINE5()
931 return ret; in SYSCALL_DEFINE5()
937 ret = mremap_to(addr, old_len, new_addr, new_len, in SYSCALL_DEFINE5()
955 ret = retval; in SYSCALL_DEFINE5()
960 ret = addr; in SYSCALL_DEFINE5()
969 ret = PTR_ERR(vma); in SYSCALL_DEFINE5()
982 ret = -ENOMEM; in SYSCALL_DEFINE5()
992 ret = addr; in SYSCALL_DEFINE5()
1001 ret = -ENOMEM; in SYSCALL_DEFINE5()
1012 ret = new_addr; in SYSCALL_DEFINE5()
1016 ret = move_vma(vma, addr, old_len, new_len, new_addr, in SYSCALL_DEFINE5()
1020 if (offset_in_page(ret)) { in SYSCALL_DEFINE5()
1031 mremap_userfaultfd_complete(&uf, addr, ret, old_len); in SYSCALL_DEFINE5()
1033 return ret; in SYSCALL_DEFINE5()