Searched refs:sysfs_path (Results 1 – 6 of 6) sorted by relevance
142 const std::string sysfs_path = in ConfigureQueueDepth() local144 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()
302 entry->sysfs_path = arg; in ParseFsMgrFlags()
133 std::string sysfs_path = ::android::base::StringPrintf("/sys/dev/block/%u:%u", major, minor); in BlockDeviceToName() local136 if (!::android::base::Readlink(sysfs_path, &sysfs_bdev)) { in BlockDeviceToName()137 PLOG(ERROR) << "Failed to read link at: " << sysfs_path; in BlockDeviceToName()
69 "sysfs_path="
54 std::string sysfs_path; member
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()