Lines Matching refs:sysfs_path
88 const std::string sysfs_path = in ConfigureScheduler() local
90 unique_fd sysfs_fd(open(sysfs_path.c_str(), O_RDWR | O_CLOEXEC)); in ConfigureScheduler()
92 return ErrnoError() << "Failed to open " << sysfs_path; in ConfigureScheduler()
102 if (!ReadFileToString(sysfs_path, &cur_sched_str)) { in ConfigureScheduler()
103 return ErrnoError() << "Failed to read " << sysfs_path; in ConfigureScheduler()
118 return ErrnoError() << "Failed to write to " << sysfs_path; in ConfigureScheduler()
247 const std::string sysfs_path = in ConfigureQueueDepth() local
250 if (!ReadFileToString(sysfs_path, &cur_nr_requests_str)) { in ConfigureQueueDepth()
251 return ErrnoError() << "Failed to read " << sysfs_path; in ConfigureQueueDepth()
259 unique_fd sysfs_fd(open(sysfs_path.c_str(), O_RDWR | O_CLOEXEC)); in ConfigureQueueDepth()
261 return ErrnoErrorf("Failed to open {}", sysfs_path); in ConfigureQueueDepth()
276 return ErrnoErrorf("Failed to write {} to {}", *qd, sysfs_path); in ConfigureQueueDepth()