Home
last modified time | relevance | path

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

/system/core/fs_mgr/
Dfs_mgr_overlayfs.cpp990 bool fs_mgr_overlayfs_make_scratch(const std::string& scratch_device, const std::string& mnt_type) { in fs_mgr_overlayfs_make_scratch() argument
1003 command += " " + scratch_device + " >/dev/null 2>/dev/null </dev/null"; in fs_mgr_overlayfs_make_scratch()
1004 fs_mgr_set_blk_ro(scratch_device, false); in fs_mgr_overlayfs_make_scratch()
1007 LERROR << "make " << mnt_type << " filesystem on " << scratch_device << " return=" << ret; in fs_mgr_overlayfs_make_scratch()
1032 static bool CreateDynamicScratch(std::string* scratch_device, bool* partition_exists, in CreateDynamicScratch() argument
1118 if (!CreateLogicalPartition(params, scratch_device)) { in CreateDynamicScratch()
1123 } else if (scratch_device->empty()) { in CreateDynamicScratch()
1124 *scratch_device = GetBootScratchDevice(); in CreateDynamicScratch()
1146 static bool CreateScratchOnData(std::string* scratch_device, bool* partition_exists, bool* change) { in CreateScratchOnData() argument
1156 if (images->GetMappedImageDevice(partition_name, scratch_device)) { in CreateScratchOnData()
[all …]