Lines Matching refs:cgroup_fd
348 pid_t clone_into_cgroup(int cgroup_fd) in clone_into_cgroup() argument
356 .cgroup = cgroup_fd, in clone_into_cgroup()
425 int cgroup_fd; in clone_into_cgroup_run_nowait() local
428 cgroup_fd = dirfd_open_opath(cgroup); in clone_into_cgroup_run_nowait()
429 if (cgroup_fd < 0) in clone_into_cgroup_run_nowait()
432 pid = clone_into_cgroup(cgroup_fd); in clone_into_cgroup_run_nowait()
433 close_prot_errno(cgroup_fd); in clone_into_cgroup_run_nowait()
584 int cgroup_fd; in clone_into_cgroup_run_wait() local
587 cgroup_fd = dirfd_open_opath(cgroup); in clone_into_cgroup_run_wait()
588 if (cgroup_fd < 0) in clone_into_cgroup_run_wait()
591 pid = clone_into_cgroup(cgroup_fd); in clone_into_cgroup_run_wait()
592 close_prot_errno(cgroup_fd); in clone_into_cgroup_run_wait()