Lines Matching refs:dinfo
55 parse_args(int argc, char *argv[], struct disk_info **dinfo, int *test,
111 if (!(*dinfo = load_diskconfig(layout_conf, img_file))) {
117 if ((*dinfo)->num_lba == 0) {
118 (*dinfo)->num_lba = (*dinfo)->skip_lba + EXTRA_LBAS;
142 if (!(pinfo = find_part(*dinfo, part_name))) {
158 (*dinfo)->num_lba +=
159 ((uint64_t)pinfo->len_kb * 1024) / (*dinfo)->sect_size;
169 struct disk_info *dinfo = NULL;
174 if (parse_args(argc, argv, &dinfo, &test, &verbose))
178 dump_disk_config(dinfo);
183 if (apply_disk_config(dinfo, test)) {
191 loff_t offs = part_file_map[cnt].pinfo->start_lba * dinfo->sect_size;
192 const char *dest_fn = dinfo->device;