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()
153 std::string tasks_path = GetPath(); in EnableResourceCaching() local155 if (access(tasks_path.c_str(), W_OK) != 0) { in EnableResourceCaching()161 unique_fd fd(TEMP_FAILURE_RETRY(open(tasks_path.c_str(), O_WRONLY | O_CLOEXEC))); in EnableResourceCaching()163 PLOG(ERROR) << "Failed to cache fd '" << tasks_path << "'"; in EnableResourceCaching()273 std::string tasks_path = controller()->GetTasksFilePath(path_); in ExecuteForTask() local274 unique_fd tmp_fd(TEMP_FAILURE_RETRY(open(tasks_path.c_str(), O_WRONLY | O_CLOEXEC))); in ExecuteForTask()276 PLOG(WARNING) << "Failed to open " << tasks_path; in ExecuteForTask()