Lines Matching refs:cgroup_fd
394 pid_t clone_into_cgroup(int cgroup_fd) in clone_into_cgroup() argument
402 .cgroup = cgroup_fd, in clone_into_cgroup()
471 int cgroup_fd; in clone_into_cgroup_run_nowait() local
474 cgroup_fd = dirfd_open_opath(cgroup); in clone_into_cgroup_run_nowait()
475 if (cgroup_fd < 0) in clone_into_cgroup_run_nowait()
478 pid = clone_into_cgroup(cgroup_fd); in clone_into_cgroup_run_nowait()
479 close_prot_errno(cgroup_fd); in clone_into_cgroup_run_nowait()
552 int cgroup_fd; in clone_into_cgroup_run_wait() local
555 cgroup_fd = dirfd_open_opath(cgroup); in clone_into_cgroup_run_wait()
556 if (cgroup_fd < 0) in clone_into_cgroup_run_wait()
559 pid = clone_into_cgroup(cgroup_fd); in clone_into_cgroup_run_wait()
560 close_prot_errno(cgroup_fd); in clone_into_cgroup_run_wait()