/illumos-gate/usr/src/lib/libfdisk/common/ |
H A D | libfdisk.c | 363 int pno; in fdisk_get_solaris_part() local 366 for (pno = 5; temp != NULL; temp = temp->next, pno++) { in fdisk_get_solaris_part() 374 *pnum = pno; in fdisk_get_solaris_part() 388 int pno; in fdisk_get_part_info() local 394 for (pno = 5; (pno < pnum) && (temp != NULL); temp = temp->next, pno++) in fdisk_get_part_info() 876 fdisk_change_logical_drive_id(ext_part_t *epp, int pno, uchar_t partid) in fdisk_change_logical_drive_id() argument 882 for (temp = epp->ld_head; i < pno; temp = temp->next, i++) in fdisk_change_logical_drive_id() 994 fdisk_delete_logical_drive(ext_part_t *epp, int pno) in fdisk_delete_logical_drive() argument 1001 for (; i < pno; i++) { in fdisk_delete_logical_drive()
|
H A D | libfdisk.h | 289 extern void fdisk_change_logical_drive_id(ext_part_t *epp, int pno, 293 extern void fdisk_delete_logical_drive(ext_part_t *epp, int pno);
|
/illumos-gate/usr/src/cmd/format/ |
H A D | menu_fdisk.c | 492 int pno, rval, ext_part_found = 0; local 535 rval = fdisk_get_solaris_part(epp, &pno, &relsec, 690 int pno, rval, ext_part_found = 0; local 765 rval = fdisk_get_solaris_part(epp, &pno, &relsec, 845 int pno, rval, ext_part_found = 0; local 890 rval = fdisk_get_solaris_part(epp, &pno, &relsec,
|
/illumos-gate/usr/src/cmd/fdisk/ |
H A D | fdisk.c | 689 static void ext_read_valid_part_num(int *pno); 5032 ext_read_valid_part_num(int *pno) argument 5055 *pno = atoi(buf); 5057 if ((*pno <= FD_NUMPART) || 5058 *pno > (fdisk_get_logical_drive_count(epp) + FD_NUMPART)) { 5132 int pno; local 5140 ext_read_valid_part_num(&pno); 5141 fdisk_delete_logical_drive(epp, pno); 5142 (void) printf("Partition %d deleted\n", pno); 5406 int pno; local [all …]
|
/illumos-gate/usr/src/lib/libgrubmgmt/common/ |
H A D | libgrub_fs.c | 156 int pno; in get_sol_prtnum() local 159 rval = fdisk_get_solaris_part(epp, &pno, &begs, &nums); in get_sol_prtnum() 164 return (pno - 1); in get_sol_prtnum()
|
/illumos-gate/usr/src/cmd/boot/installgrub/ |
H A D | installgrub.c | 729 int i, pno, rval, log_part = 0; in get_start_sector() local 754 if (find_x86_bootpar(mboot, &pno, &secnum) != BC_SUCCESS) { in get_start_sector() 759 device->partition = pno; in get_start_sector() 841 rval = fdisk_get_solaris_part(epp, &pno, &secnum, &numsec); in get_start_sector() 850 device->partition = pno - 1; in get_start_sector()
|
/illumos-gate/usr/src/cmd/boot/installboot/i386/ |
H A D | installboot.c | 1310 int fd, rval, pno; in get_start_sector() local 1382 rval = fdisk_get_solaris_part(epp, &pno, &secnum, &numsec); in get_start_sector()
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.c | 5568 int rval, pno, ext_partno = PARTNO_NOTFOUND; local 5650 rval = fdisk_get_solaris_part(epp, &pno, &secnum, &numsec); 5652 partno = pno - 1;
|