Searched refs:block_name (Results 1 – 2 of 2) sorted by relevance
677 std::string block_name = block_device; in SetReadAheadSize() local679 block_name = block_device.substr(kDevBlockPrefix.length()); in SetReadAheadSize()682 android::base::StringPrintf("/sys/class/block/%s/partition", block_name.c_str()); in SetReadAheadSize()686 block_name += "/.."; in SetReadAheadSize()689 block_name.c_str()); in SetReadAheadSize()
4334 std::string block_name = android::base::Basename(full_path); in DeleteDeviceIfExists() local4335 std::string sysfs_holders = "/sys/class/block/" + block_name + "/holders"; in DeleteDeviceIfExists()4348 if (android::base::Basename(entry.blk_device) == block_name) { in DeleteDeviceIfExists()4361 std::string path = fs.path().c_str() + "/"s + block_name; in DeleteDeviceIfExists()