Lines Matching defs:vtoc
421 * reread the vtoc
433 if (cur_parts->vtoc.v_part[i].p_tag &&
434 cur_parts->vtoc.v_part[i].p_tag != V_ALTSCTR) {
435 cur_parts->vtoc.v_part[i].p_start = 0;
436 cur_parts->vtoc.v_part[i].p_size = 0;
441 cur_parts->vtoc.v_part[i].p_tag =
443 cur_parts->vtoc.v_part[i].p_flag =
457 cur_parts->vtoc.v_part[C_PARTITION].p_start =
459 cur_parts->vtoc.v_part[C_PARTITION].p_size =
462 cur_parts->vtoc.v_part[I_PARTITION].p_start =
464 cur_parts->vtoc.v_part[I_PARTITION].p_size =
621 struct vtoc vtoc;
627 status = ioctl(fd, DKIOCGVTOC, &vtoc);
631 err_print("Cannot read vtoc information.\n");
642 /* copy vtoc information */
643 cur_parts->vtoc = update_label.dkl_vtoc;