Lines Matching refs:cgroup_fd
346 pid_t clone_into_cgroup(int cgroup_fd) in clone_into_cgroup() argument
354 .cgroup = cgroup_fd, in clone_into_cgroup()
423 int cgroup_fd; in clone_into_cgroup_run_nowait() local
426 cgroup_fd = dirfd_open_opath(cgroup); in clone_into_cgroup_run_nowait()
427 if (cgroup_fd < 0) in clone_into_cgroup_run_nowait()
430 pid = clone_into_cgroup(cgroup_fd); in clone_into_cgroup_run_nowait()
431 close_prot_errno(cgroup_fd); in clone_into_cgroup_run_nowait()
581 int cgroup_fd; in clone_into_cgroup_run_wait() local
584 cgroup_fd = dirfd_open_opath(cgroup); in clone_into_cgroup_run_wait()
585 if (cgroup_fd < 0) in clone_into_cgroup_run_wait()
588 pid = clone_into_cgroup(cgroup_fd); in clone_into_cgroup_run_wait()
589 close_prot_errno(cgroup_fd); in clone_into_cgroup_run_wait()