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