Searched refs:top_idx (Results 1 – 1 of 1) sorted by relevance
551 int top_idx = i; in fs_mgr_mount_all() local579 bool wiped = partition_wiped(fstab->recs[top_idx].blk_device); in fs_mgr_mount_all()581 fs_mgr_is_formattable(&fstab->recs[top_idx]) && wiped) { in fs_mgr_mount_all()587 fstab->recs[top_idx].blk_device, fstab->recs[top_idx].mount_point, in fs_mgr_mount_all()588 fstab->recs[top_idx].fs_type); in fs_mgr_mount_all()589 if (fs_mgr_is_encryptable(&fstab->recs[top_idx]) && in fs_mgr_mount_all()590 strcmp(fstab->recs[top_idx].key_loc, KEY_IN_FOOTER)) { in fs_mgr_mount_all()591 int fd = open(fstab->recs[top_idx].key_loc, O_WRONLY, 0644); in fs_mgr_mount_all()593 INFO("%s(): also wipe %s\n", __func__, fstab->recs[top_idx].key_loc); in fs_mgr_mount_all()598 fstab->recs[top_idx].key_loc, strerror(errno)); in fs_mgr_mount_all()[all …]