Searched refs:sysfs_path (Results 1 – 8 of 8) sorted by relevance
/system/apex/apexd/ |
D | apexd_loop.cpp | 86 const std::string sysfs_path = in ConfigureScheduler() local 88 unique_fd sysfs_fd(open(sysfs_path.c_str(), O_RDWR | O_CLOEXEC)); in ConfigureScheduler() 90 return ErrnoError() << "Failed to open " << sysfs_path; in ConfigureScheduler() 100 if (!ReadFileToString(sysfs_path, &cur_sched_str)) { in ConfigureScheduler() 101 return ErrnoError() << "Failed to read " << sysfs_path; in ConfigureScheduler() 116 return ErrnoError() << "Failed to write to " << sysfs_path; in ConfigureScheduler() 216 const std::string sysfs_path = in ConfigureQueueDepth() local 219 if (!ReadFileToString(sysfs_path, &cur_nr_requests_str)) { in ConfigureQueueDepth() 220 return ErrnoError() << "Failed to read " << sysfs_path; in ConfigureQueueDepth() 228 unique_fd sysfs_fd(open(sysfs_path.c_str(), O_RDWR | O_CLOEXEC)); in ConfigureQueueDepth() [all …]
|
/system/core/fs_mgr/ |
D | blockdev.cpp | 142 const std::string sysfs_path = in ConfigureQueueDepth() local 144 unique_fd sysfs_fd(open(sysfs_path.c_str(), O_RDWR | O_CLOEXEC)); in ConfigureQueueDepth() 146 return ErrnoError() << "Failed to open " << sysfs_path; in ConfigureQueueDepth() 151 return ErrnoError() << "Failed to write to " << sysfs_path; in ConfigureQueueDepth()
|
D | fs_mgr_fstab.cpp | 302 entry->sysfs_path = arg; in ParseFsMgrFlags()
|
/system/core/fs_mgr/libfiemap/ |
D | utility.cpp | 133 std::string sysfs_path = ::android::base::StringPrintf("/sys/dev/block/%u:%u", major, minor); in BlockDeviceToName() local 136 if (!::android::base::Readlink(sysfs_path, &sysfs_bdev)) { in BlockDeviceToName() 137 PLOG(ERROR) << "Failed to read link at: " << sysfs_path; in BlockDeviceToName()
|
/system/core/fs_mgr/fuzz/ |
D | fstab.dict | 69 "sysfs_path="
|
/system/core/fs_mgr/include_fstab/fstab/ |
D | fstab.h | 54 std::string sysfs_path; member
|
/system/vold/ |
D | IdleMaint.cpp | 279 if (!entry.sysfs_path.empty()) { in getDevSysfsPath() 280 return entry.sysfs_path; in getDevSysfsPath()
|
/system/core/fs_mgr/tests/ |
D | fs_mgr_test.cpp | 513 EXPECT_EQ("", entry->sysfs_path); in TEST() 535 EXPECT_EQ("", entry->sysfs_path); in TEST() 989 EXPECT_EQ("/sys/device", entry->sysfs_path); in TEST()
|