Lines Matching refs:cgroup_fd
341 pid_t clone_into_cgroup(int cgroup_fd) in clone_into_cgroup() argument
349 .cgroup = cgroup_fd, in clone_into_cgroup()
418 int cgroup_fd; in clone_into_cgroup_run_nowait() local
421 cgroup_fd = dirfd_open_opath(cgroup); in clone_into_cgroup_run_nowait()
422 if (cgroup_fd < 0) in clone_into_cgroup_run_nowait()
425 pid = clone_into_cgroup(cgroup_fd); in clone_into_cgroup_run_nowait()
426 close_prot_errno(cgroup_fd); in clone_into_cgroup_run_nowait()
563 int cgroup_fd; in clone_into_cgroup_run_wait() local
566 cgroup_fd = dirfd_open_opath(cgroup); in clone_into_cgroup_run_wait()
567 if (cgroup_fd < 0) in clone_into_cgroup_run_wait()
570 pid = clone_into_cgroup(cgroup_fd); in clone_into_cgroup_run_wait()
571 close_prot_errno(cgroup_fd); in clone_into_cgroup_run_wait()