• Home
  • Raw
  • Download

Lines Matching refs:retval

659 	int retval;  in dup_mmap()  local
666 retval = -EINTR; in dup_mmap()
684 retval = ksm_fork(mm, oldmm); in dup_mmap()
685 if (retval) in dup_mmap()
690 retval = __mt_dup(&oldmm->mm_mt, &mm->mm_mt, GFP_KERNEL); in dup_mmap()
691 if (unlikely(retval)) in dup_mmap()
703 retval = -ENOMEM; in dup_mmap()
715 retval = -EINTR; in dup_mmap()
728 retval = vma_dup_policy(mpnt, tmp); in dup_mmap()
729 if (retval) in dup_mmap()
732 retval = dup_userfaultfd(tmp, &uf); in dup_mmap()
733 if (retval) in dup_mmap()
777 retval = copy_page_range(tmp, mpnt); in dup_mmap()
782 if (retval) { in dup_mmap()
788 retval = arch_dup_mmap(oldmm, mm); in dup_mmap()
791 if (!retval) { in dup_mmap()
811 return retval; in dup_mmap()
818 retval = -ENOMEM; in dup_mmap()
2109 int pidfd = -1, retval; in copy_process() local
2194 retval = -ERESTARTNOINTR; in copy_process()
2198 retval = -ENOMEM; in copy_process()
2230 retval = copy_creds(p, clone_flags); in copy_process()
2231 if (retval < 0) in copy_process()
2234 retval = -EAGAIN; in copy_process()
2247 retval = -EAGAIN; in copy_process()
2303 retval = PTR_ERR(p->mempolicy); in copy_process()
2340 retval = sched_fork(clone_flags, p); in copy_process()
2341 if (retval) in copy_process()
2344 retval = perf_event_init_task(p, clone_flags); in copy_process()
2345 if (retval) in copy_process()
2347 retval = audit_alloc(p); in copy_process()
2348 if (retval) in copy_process()
2352 retval = security_task_alloc(p, clone_flags); in copy_process()
2353 if (retval) in copy_process()
2355 retval = copy_semundo(clone_flags, p); in copy_process()
2356 if (retval) in copy_process()
2358 retval = copy_files(clone_flags, p); in copy_process()
2359 if (retval) in copy_process()
2361 retval = copy_fs(clone_flags, p); in copy_process()
2362 if (retval) in copy_process()
2364 retval = copy_sighand(clone_flags, p); in copy_process()
2365 if (retval) in copy_process()
2367 retval = copy_signal(clone_flags, p); in copy_process()
2368 if (retval) in copy_process()
2370 retval = copy_mm(clone_flags, p); in copy_process()
2371 if (retval) in copy_process()
2373 retval = copy_namespaces(clone_flags, p); in copy_process()
2374 if (retval) in copy_process()
2376 retval = copy_io(clone_flags, p); in copy_process()
2377 if (retval) in copy_process()
2379 retval = copy_thread(p, args); in copy_process()
2380 if (retval) in copy_process()
2389 retval = PTR_ERR(pid); in copy_process()
2400 retval = get_unused_fd_flags(O_RDWR | O_CLOEXEC); in copy_process()
2401 if (retval < 0) in copy_process()
2404 pidfd = retval; in copy_process()
2410 retval = PTR_ERR(pidfile); in copy_process()
2415 retval = put_user(pidfd, args->pidfd); in copy_process()
2416 if (retval) in copy_process()
2474 retval = cgroup_can_fork(p, args); in copy_process()
2475 if (retval) in copy_process()
2532 retval = -ENOMEM; in copy_process()
2538 retval = -EINTR; in copy_process()
2676 return ERR_PTR(retval); in copy_process()