Lines Matching refs:cgroup_fd
372 pid_t clone_into_cgroup(int cgroup_fd) in clone_into_cgroup() argument
380 .cgroup = cgroup_fd, in clone_into_cgroup()
449 int cgroup_fd; in clone_into_cgroup_run_nowait() local
452 cgroup_fd = dirfd_open_opath(cgroup); in clone_into_cgroup_run_nowait()
453 if (cgroup_fd < 0) in clone_into_cgroup_run_nowait()
456 pid = clone_into_cgroup(cgroup_fd); in clone_into_cgroup_run_nowait()
457 close_prot_errno(cgroup_fd); in clone_into_cgroup_run_nowait()
608 int cgroup_fd; in clone_into_cgroup_run_wait() local
611 cgroup_fd = dirfd_open_opath(cgroup); in clone_into_cgroup_run_wait()
612 if (cgroup_fd < 0) in clone_into_cgroup_run_wait()
615 pid = clone_into_cgroup(cgroup_fd); in clone_into_cgroup_run_wait()
616 close_prot_errno(cgroup_fd); in clone_into_cgroup_run_wait()