Searched refs:tasks_path (Results 1 – 2 of 2) sorted by relevance
86 std::string tasks_path = path(); in GetTasksFilePath() local89 tasks_path += "/" + rel_path; in GetTasksFilePath()91 return (version() == 1) ? tasks_path + CGROUP_TASKS_FILE : tasks_path + CGROUP_TASKS_FILE_V2; in GetTasksFilePath()
170 std::string tasks_path = controller_.GetTasksFilePath(path_); in EnableResourceCaching() local172 if (access(tasks_path.c_str(), W_OK) != 0) { in EnableResourceCaching()178 unique_fd fd(TEMP_FAILURE_RETRY(open(tasks_path.c_str(), O_WRONLY | O_CLOEXEC))); in EnableResourceCaching()180 PLOG(ERROR) << "Failed to cache fd '" << tasks_path << "'"; in EnableResourceCaching()253 std::string tasks_path = controller()->GetTasksFilePath(path_); in ExecuteForTask() local254 unique_fd tmp_fd(TEMP_FAILURE_RETRY(open(tasks_path.c_str(), O_WRONLY | O_CLOEXEC))); in ExecuteForTask()256 PLOG(WARNING) << "Failed to open " << tasks_path << ": " << strerror(errno); in ExecuteForTask()