Home
last modified time | relevance | path

Searched refs:block_name (Results 1 – 2 of 2) sorted by relevance

/aosp14/system/core/fs_mgr/
H A Dfs_mgr.cpp677 std::string block_name = block_device; in SetReadAheadSize() local
679 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()
/aosp14/system/core/fs_mgr/libsnapshot/
H A Dsnapshot.cpp4334 std::string block_name = android::base::Basename(full_path); in DeleteDeviceIfExists() local
4335 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()