Searched refs:cg_fd (Results 1 – 4 of 4) sorted by relevance
176 int attachProgram(bpf_attach_type type, uint32_t prog_fd, uint32_t cg_fd) { in attachProgram() argument179 attr.target_fd = cg_fd; in attachProgram()186 int detachProgram(bpf_attach_type type, uint32_t cg_fd) { in detachProgram() argument189 attr.target_fd = cg_fd; in detachProgram()
144 int attachProgram(bpf_attach_type type, uint32_t prog_fd, uint32_t cg_fd);145 int detachProgram(bpf_attach_type type, uint32_t cg_fd);
247 unique_fd cg_fd(open(CGROUP_ROOT_PATH, O_DIRECTORY | O_RDONLY | O_CLOEXEC)); in loadAndAttachProgram() local248 if (cg_fd < 0) { in loadAndAttachProgram()251 ret = attachProgram(type, fd, cg_fd); in loadAndAttachProgram()
202 base::unique_fd& cg_fd);