Home
last modified time | relevance | path

Searched refs:pinfo (Results 1 – 2 of 2) sorted by relevance

/bootable/diskinstaller/editdisklbl/
Deditdisklbl.c35 struct part_info *pinfo; member
129 struct part_info *pinfo; in parse_args() local
142 if (!(pinfo = find_part(*dinfo, part_name))) { in parse_args()
148 part_file_map[x].pinfo = pinfo; in parse_args()
156 pinfo->len_kb = (uint32_t) ((tmp_stat.st_size + 1023) >> 10); in parse_args()
159 ((uint64_t)pinfo->len_kb * 1024) / (*dinfo)->sect_size; in parse_args()
160 printf("Updated %s length to be %uKB\n", pinfo->name, pinfo->len_kb); in parse_args()
190 for (cnt = 0; cnt < MAX_NUM_PARTS && part_file_map[cnt].pinfo; ++cnt) { in main()
191 loff_t offs = part_file_map[cnt].pinfo->start_lba * dinfo->sect_size; in main()
/bootable/diskinstaller/
Dinstaller.c199 struct part_info *pinfo = NULL; in process_image_node() local
223 if (!(pinfo = find_part(dinfo, tmp))) { in process_image_node()
229 if (!(dest_part = find_part_device(dinfo, pinfo->name))) { in process_image_node()
231 " processing image %s", pinfo->name, img->name); in process_image_node()
234 offset = pinfo->start_lba * dinfo->sect_size; in process_image_node()
242 if (!pinfo) { in process_image_node()
262 strncpy(vol_lbl, pinfo->name, sizeof(vol_lbl)); in process_image_node()
327 if (!pinfo && (offset == (loff_t)-1)) { in process_image_node()
332 if (!pinfo && (type != INSTALL_IMAGE_RAW)) { in process_image_node()