Searched refs:blockDevice (Results 1 – 2 of 2) sorted by relevance
612 Status cp_restoreCheckpoint(const std::string& blockDevice, int restore_limit) { in cp_restoreCheckpoint() argument622 LOG(INFO) << action << " checkpoint on " << blockDevice; in cp_restoreCheckpoint()623 base::unique_fd device_fd(open(blockDevice.c_str(), O_RDWR | O_CLOEXEC)); in cp_restoreCheckpoint()624 if (device_fd < 0) return error("Cannot open " + blockDevice); in cp_restoreCheckpoint()
413 std::string blockDevice = loopbackDevice.name; in MountPackageImpl() local451 blockDevice = verityDev.GetDevPath(); in MountPackageImpl()462 readVerityDevice(blockDevice, (*verityData).desc->image_size); in MountPackageImpl()473 if (mount(blockDevice.c_str(), mountPoint.c_str(), "ext4", mountFlags, in MountPackageImpl()