/illumos-gate/usr/src/uts/common/sys/ |
H A D | vtoc.h | 125 ushort_t p_tag; /* ID tag of partition */ member 145 ushort_t p_tag; /* ID tag of partition */ member 182 v.v_part[i].p_tag = extv.v_part[i].p_tag; \ 205 extv.v_part[i].p_tag = v.v_part[i].p_tag; \ 219 uint16_t p_tag; /* ID tag of partition */ member 253 v.v_part[i].p_tag = (ushort_t)v32.v_part[i].p_tag; \ 278 extv.v_part[i].p_tag = (ushort_t)v32.v_part[i].p_tag; \ 303 v32.v_part[i].p_tag = (ushort_t)v.v_part[i].p_tag; \ 332 v32.v_part[i].p_tag = (ushort_t)extv.v_part[i].p_tag; \
|
H A D | dklabel.h | 113 uint16_t p_tag; /* ID tag of partition */ member 118 uint16_t p_tag; /* ID tag of partition */ member
|
H A D | efi_partition.h | 201 ushort_t p_tag; /* converted to part'n type GUID */ member
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmpmtab.c | 160 gptr->p_tag = strsave(getword(ptr, &size, 0)); in read_pmtab() 443 log("tag:\t\t%s", gptr->p_tag); in dump_pmtab() 548 ret = strcmp(sp->p_tag, tsp->p_tag); in insert_pmtab() 558 tsp->p_tag); in insert_pmtab() 571 sp->p_tag); in insert_pmtab() 618 debug("adding <%s>", sp->p_tag); in insert_pmtab() 651 debug("adding <%s>", sp->p_tag); in insert_pmtab() 688 debug("purging <%s>", sp->p_tag); in purge() 705 free(p->p_tag); in free_pmtab() 736 if ((p->p_tag == NULL) || (*(p->p_tag) == '\0')) { in check_pmtab() [all …]
|
H A D | tmstruct.h | 49 char *p_tag; /* port/service tag */ member
|
H A D | tmchild.c | 553 if ((i = doconfig(0, pmtab->p_tag, 0)) != 0) { in invoke_service() 558 i, pmtab->p_tag); in invoke_service()
|
/illumos-gate/usr/src/cmd/fmthard/ |
H A D | fmthard.c | 340 if (disk_efi->efi_parts[c].p_tag == in main() 418 i, vtoc->v_part[i].p_tag, in display() 458 i, efi->efi_parts[i].p_tag, in display64() 492 vtoc->v_part[part].p_tag = (ushort_t)tag; in insert() 523 efi->efi_parts[part].p_tag = (ushort_t)tag; in insert64() 548 vtoc->v_part[i].p_tag = 0; in load() 558 vtoc->v_part[2].p_tag = V_BACKUP; in load() 587 vtoc->v_part[part].p_tag = (ushort_t)tag; in load() 648 (*efi)->efi_parts[i].p_tag = V_UNASSIGNED; in load64() 669 (*efi)->efi_parts[part].p_tag = (ushort_t)tag; in load64() [all …]
|
/illumos-gate/usr/src/lib/libefi/common/ |
H A D | rdwr_efi.c | 60 ushort_t p_tag; member 591 vtoc->efi_parts[i].p_tag = in efi_read() 592 conversion_array[j].p_tag; in efi_read() 596 if (vtoc->efi_parts[i].p_tag == V_UNASSIGNED) in efi_read() 821 if ((vtoc->efi_parts[i].p_tag == V_UNASSIGNED) && in check_input() 831 if (vtoc->efi_parts[i].p_tag == V_UNASSIGNED) { in check_input() 835 vtoc->efi_parts[i].p_tag = 0xff; in check_input() 837 if (vtoc->efi_parts[i].p_tag == V_RESERVED) { in check_input() 941 if (p->p_tag == V_RESERVED) { in efi_use_whole_disk_get_last() 966 if (l->efi_parts[l->efi_nparts - 1].p_tag != V_RESERVED) { in efi_use_whole_disk_get_last() [all …]
|
/illumos-gate/usr/src/cmd/format/ |
H A D | partition.c | 91 if (map->efi_parts[i].p_tag == V_BACKUP) { in maxofN() 94 if (map->efi_parts[i+1].p_tag == V_BACKUP) { in maxofN() 148 deflt = cur_parts->etoc->efi_parts[num].p_tag; in change_partition() 191 cur_parts->etoc->efi_parts[num].p_tag = tag; in change_partition() 211 deflt = cur_parts->vtoc.v_part[num].p_tag; in change_partition() 347 cur_parts->vtoc.v_part[num].p_tag = (ushort_t)tag; in change_partition() 522 part->vtoc.v_part[i].p_tag = default_vtoc_map[i].p_tag; in set_vtoc_defaults()
|
H A D | label.c | 221 efi->efi_parts[0].p_tag = V_USR; in SMI_vtoc_to_EFI() 230 efi->efi_parts[i].p_tag = V_UNASSIGNED; in SMI_vtoc_to_EFI() 238 efi->efi_parts[efi->efi_nparts - 1].p_tag = V_RESERVED; in SMI_vtoc_to_EFI() 710 lmap->efi_parts[i].p_tag = vtoc->efi_parts[i].p_tag; in vtoc64_to_label() 717 if (vtoc->efi_parts[i].p_tag == V_RESERVED) { in vtoc64_to_label() 800 label->dkl_vtoc.v_part[i].p_tag = vtoc->v_part[i].p_tag; in vtoc_to_label() 901 vpart->p_tag = default_vtoc_map[i].p_tag; in label_to_vtoc() 910 vpart->p_tag = lpart->p_tag; in label_to_vtoc() 1048 label->dkl_vtoc.v_part[i].p_tag, in dump_label()
|
H A D | modify_partition.c | 555 map->efi_parts[i].p_tag = V_UNASSIGNED; 556 } else if ((i64 != 0) && (map->efi_parts[i].p_tag == 558 map->efi_parts[i].p_tag = V_USR; 571 map->efi_parts[float_part].p_tag = V_USR; 575 map->efi_parts[float_part].p_tag = V_UNASSIGNED; 580 if (map->efi_parts[i].p_tag == V_RESERVED) {
|
H A D | add_definition.c | 338 if (pv->p_tag != dv->p_tag || in add_partition() 340 s = find_string(ptag_choices, (int)pv->p_tag); in add_partition()
|
H A D | menu_partition.c | 442 ((int)vtoc64->efi_parts[i].p_tag != in print_map() 494 s = find_string(ptag_choices, (int)map->efi_parts[partnum].p_tag); in print_efi_partition() 595 s = find_string(ptag_choices, (int)pinfo->vtoc.v_part[partnum].p_tag); in print_partition()
|
H A D | menu_fdisk.c | 435 if (cur_parts->vtoc.v_part[i].p_tag && in update_cur_parts() 436 cur_parts->vtoc.v_part[i].p_tag != V_ALTSCTR) { in update_cur_parts() 443 cur_parts->vtoc.v_part[i].p_tag = in update_cur_parts() 444 default_vtoc_map[i].p_tag; in update_cur_parts()
|
H A D | startup.c | 1173 vtoc_tag = pinfo->vtoc.v_part[index].p_tag; in sup_setpart() 1267 pinfo->vtoc.v_part[index].p_tag = vtoc_tag; in sup_setpart() 1275 pinfo->vtoc.v_part[index].p_tag = 0; in sup_setpart() 2034 if (search_parts->etoc->efi_parts[i].p_tag == in add_device_to_disklist() 2303 if (label->dkl_vtoc.v_part[i].p_tag != in parts_match() 2304 pinfo->vtoc.v_part[i].p_tag) in parts_match() 2597 result |= (vp1->p_tag != vp2->p_tag); in check_pinfo_for_inconsistency()
|
H A D | menu_command.c | 477 if (cur_parts->etoc->efi_parts[nparts].p_tag == in c_type() 498 if (cur_parts->etoc->efi_parts[nparts].p_tag == in c_type() 585 cur_parts->etoc->efi_parts[i].p_tag = V_UNASSIGNED; in c_type() 590 cur_parts->etoc->efi_parts[8].p_tag = V_RESERVED; in c_type() 2253 if ((b_label.dkl_vtoc.v_part[i].p_tag != in c_verify() 2254 p_label.dkl_vtoc.v_part[i].p_tag) || in c_verify()
|
/illumos-gate/usr/src/cmd/rmformat/ |
H A D | rmf_slice.c | 654 vt->v_part[index].p_tag = vtoc_tag; in sup_setpart() 800 vt->v_part[0].p_tag = V_ROOT; in valid_slice_file() 801 vt->v_part[1].p_tag = V_SWAP; in valid_slice_file() 802 vt->v_part[2].p_tag = V_BACKUP; in valid_slice_file() 803 vt->v_part[6].p_tag = V_USR; in valid_slice_file() 820 DPRINTF1("\t tag %d", vt->v_part[i].p_tag); in valid_slice_file() 835 DPRINTF1("\t tag %d", vt->v_part[i].p_tag); in valid_slice_file() 976 if (vt->v_part[i].p_tag == V_BACKUP) { in check_vtoc_sanity() 1287 v_toc.v_part[0].p_tag = V_ROOT; in write_default_label() 1292 v_toc.v_part[2].p_tag = V_BACKUP; in write_default_label() [all …]
|
/illumos-gate/usr/src/cmd/prtvtoc/ |
H A D | prtvtoc.c | 174 if (part->p_size && part->p_tag != V_BACKUP) in findfree() 215 if (part->p_size && part->p_tag != V_BACKUP) in findfree64() 598 print_table_row(idx, p->p_tag, p->p_flag, p->p_start, in puttable() 612 if (efi->efi_parts[idx].p_tag == V_RESERVED && in puttable64() 646 print_table_row(idx, p->p_tag, p->p_flag, p->p_start, in puttable64()
|
/illumos-gate/usr/src/cmd/devinfo/ |
H A D | devinfo.c | 151 vtdata.v_part[slice].p_tag); in partinfo() 159 efi->efi_parts[slice].p_tag); in partinfo()
|
/illumos-gate/usr/src/cmd/hal/utils/ |
H A D | fsutils.c | 236 if ((p->p_tag != V_BACKUP) && ((p->p_tag != V_UNASSIGNED))) { in vtoc_one_slice_entire_disk()
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | rdwr_vtoc.c | 62 vd->v_part[i].p_tag = vs->v_part[i].p_tag; \
|
/illumos-gate/usr/src/cmd/saf/ |
H A D | pmadm.c | 72 char *p_tag; /* service tag */ member 989 if (!svctag || !strcmp(pp->p_tag, svctag)) { in list_svcs() 992 tp->t_tag, tp->t_type, pp->p_tag, in list_svcs() 1001 (void) printf("%-14s %-14s %-14s %-4s %-8s %s #%s\n", tp->t_tag, tp->t_type, pp->p_tag, in list_svcs() 1051 if (!(strcmp(pmtab.p_tag, svctag))) in find_svc() 1104 pp->p_tag = p;
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | vtoc.h | 123 uint16_t p_tag; /* ID tag of partition */ member
|
/illumos-gate/usr/src/cmd/boot/installboot/i386/ |
H A D | installboot.c | 1080 if (vtoc->efi_parts[i].p_tag == tag) { in get_slice() 1097 switch (vtoc->efi_parts[i].p_tag) { in get_slice() 1107 device->stage.tag = vtoc->efi_parts[i].p_tag; in get_slice() 1424 if (exvtoc.v_part[slice].p_tag == V_BACKUP) { in probe_vtoc() 1444 if (exvtoc.v_part[i].p_tag == V_BOOT) in probe_vtoc() 1452 if (exvtoc.v_part[i].p_tag == V_BACKUP) in probe_vtoc() 1483 device->stage.tag = exvtoc.v_part[i].p_tag; in probe_vtoc() 1488 if (exvtoc.v_part[i].p_tag == V_BACKUP) { in probe_vtoc()
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | vdsk_common.h | 397 (vtoc)->v_part[i].p_tag = (vd_vtoc)->partition[i].id_tag; \ 438 (vd_vtoc)->partition[i].id_tag = (vtoc)->v_part[i].p_tag; \
|