Lines Matching refs:mount_rec
190 for (const auto& mount_rec : mounts) { in cp_commitChanges() local
191 const auto fstab_rec = GetEntryForMountPoint(&fstab_default, mount_rec.mount_point); in cp_commitChanges()
196 std::string options = mount_rec.fs_options + ",checkpoint=enable"; in cp_commitChanges()
197 if (mount(mount_rec.blk_device.c_str(), mount_rec.mount_point.c_str(), "none", in cp_commitChanges()
203 if (!setBowState(mount_rec.blk_device, "2")) in cp_commitChanges()
367 for (const auto& mount_rec : mounts) { in cp_prepareCheckpoint() local
368 const auto fstab_rec = GetEntryForMountPoint(&fstab_default, mount_rec.mount_point); in cp_prepareCheckpoint()
373 TEMP_FAILURE_RETRY(open(mount_rec.mount_point.c_str(), O_RDONLY | O_CLOEXEC))); in cp_prepareCheckpoint()
375 PLOG(ERROR) << "Failed to open mount point" << mount_rec.mount_point; in cp_prepareCheckpoint()
383 PLOG(ERROR) << "Failed to trim " << mount_rec.mount_point; in cp_prepareCheckpoint()
387 LOG(INFO) << "Trimmed " << range.len << " bytes on " << mount_rec.mount_point << " in " in cp_prepareCheckpoint()
390 setBowState(mount_rec.blk_device, "1"); in cp_prepareCheckpoint()
393 std::thread(cp_healthDaemon, std::string(mount_rec.mount_point), in cp_prepareCheckpoint()
394 std::string(mount_rec.blk_device), in cp_prepareCheckpoint()