/illumos-gate/usr/src/cmd/hal/utils/ |
H A D | fsutils.c | 122 uint_t relsect; local 140 relsect = sec + ltohi(ipart[i].relsect); 146 sec = startsec + ltohi(ipart[i].relsect); 148 relsect = startsec = sec; 153 if (valid && f(arg, ipart[i].systid, relsect, 162 find_dos_drive_cb(void *arg, int systid, uint_t relsect, uint_t numsect) argument 168 p->r_relsect = relsect; 201 get_num_dos_drives_cb(void *arg, int systid, uint_t relsect, uint_t numsect) argument
|
/illumos-gate/usr/src/cmd/fstyp/ |
H A D | fstyp.c | 316 uint32_t relsect; local 334 relsect = sec + ltohi(ipart[i].relsect); 340 sec = startsec + ltohi(ipart[i].relsect); 342 relsect = startsec = sec; 347 if (valid && f(arg, ipart[i].systid, relsect, 356 find_dos_drive_cb(void *arg, int systid, uint32_t relsect, uint32_t numsect) argument 362 p->r_relsect = relsect;
|
/illumos-gate/usr/src/lib/libfdisk/common/ |
H A D | libfdisk.c | 637 secnum = LE_32(fdp->relsect); 658 if ((LE_32(ext_fdp->relsect) == 0) && 668 LE_32(ext_fdp->relsect); 722 if (LE_32(ext_fdp->relsect) == 0) 725 secnum = LE_32(fdp->relsect) + 726 LE_32(ext_fdp->relsect); 903 part->relsect = MAX_LOGDRIVE_OFFSET; 911 part->relsect = LE_32(begsec - epp->ext_beg_sec); 914 if (LE_32(part->relsect) > MAX_LOGDRIVE_OFFSET) { 918 temp->logdrive_offset = LE_32(part->relsect); [all...] |
/illumos-gate/usr/src/uts/common/sys/dktp/ |
H A D | fdisk.h | 84 uint32_t relsect; /* first sector relative to start of disk */ member in struct:ipart
|
/illumos-gate/usr/src/cmd/format/ |
H A D | menu_fdisk.c | 136 partp->relsect = getlong((uchar_t **)&bootptr); 551 ip.relsect = relsec; 567 (fdisk_is_linux_swap(epp, lel(ip.relsect), NULL) != 0)) || 582 xstart = lel(ip.relsect) / (nhead * nsect); 592 solaris_offset = (uint_t)lel(ip.relsect); 779 ip.relsect = relsec; 790 (fdisk_is_linux_swap(epp, lel(ip.relsect), NULL) != 0)) || 798 solaris_offset = lel(ip.relsect); 918 (fdisk_is_linux_swap(epp, lel(ip.relsect), NULL) != 0)) || 944 solaris_offset = lel(ip.relsect); [all...] |
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | pcfs_common.c | 552 found = ltohi(part[bootPart].relsect) * BPSEC; 557 found = ltohi(part[primaryPart].relsect) * BPSEC; 574 nextseek = xstartsect = ltohi(part[extendedPart].relsect); 630 ltohi(part[i].relsect); 644 ltohi(part[extndDrives[driveIndex]].relsect) + 673 found = ltohi(part[extraDrives[driveIndex]].relsect) * BPSEC;
|
/illumos-gate/usr/src/cmd/fdisk/ |
H A D | fdisk.c | 1259 Table[0].relsect = LE_32(heads * sectors); 1446 if ((Old_Table[old_pt].relsect == 1447 Table[new_pt].relsect) && 1474 /* look to see if a EFI partition changed in relsect/numsect */ 1481 (Old_Table[old_pt].relsect == 1482 Table[new_pt].relsect) && 1771 uint32_t begsec, endsec, relsect; local 1830 Old_Table[i].relsect; 2039 Table[i].relsect == LE_32(rsect) && 2057 relsect [all...] |
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | partition.c | 518 (unsigned int)iparts[part_num - 1].relsect) != 0) { 620 iparts[i].relsect = lel(iparts[i].relsect); 680 iparts[j].relsect = (tmpsect + 681 lel(log_drv->parts[0].relsect) + epp->ext_beg_sec); 683 tmpsect = lel(log_drv->parts[1].relsect);
|
/illumos-gate/usr/src/cmd/rmformat/ |
H A D | rmformat.h | 144 uint32_t relsect; /* Beginning of partition */ member in struct:fdisk_part
|
H A D | rmf_slice.c | 1208 fdisk->part[i].relsect = lel(GET_32(&(part->relsect))); 1213 DPRINTF1("\trel sector 0x%x\n", fdisk->part[i].relsect); 1377 parts[i].relsect = lel(UNUSED); 1390 parts[0].relsect = lel(nhead * nsect); 1537 sol_offset = fdisk.part[i].relsect; 1545 sol_offset = fdisk.part[i].relsect; 1552 erase(handle, (diskaddr_t)fdisk.part[i].relsect,
|
/illumos-gate/usr/src/cmd/boot/mbr/ |
H A D | mbr.c | 137 i + 1, part->systid, part->relsect, part->numsect);
|
/illumos-gate/usr/src/cmd/boot/installboot/i386/ |
H A D | installboot.c | 661 if (part->relsect == 0) { 667 device->target.start = part->relsect; 706 if (part->relsect == 0) { 712 if (edkpi.p_start >= part->relsect && 713 edkpi.p_start < (part->relsect + part->numsect)) { 731 device->stage.start = part->relsect; 880 device->stage.size = part[0].relsect; 904 device->stage.start = part[i].relsect;
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_vfsops.c | 1600 uint_t, LE_32(dosp[i].relsect), 1627 startsec = LE_32(dosp[bootPart].relsect); 1633 startsec = LE_32(dosp[primaryPart].relsect); 1650 diskblk = xstartsect = LE_32(dosp[extendedPart].relsect); 1700 uint_t, LE_32(dosp[i].relsect), 1716 LE_32(dosp[i].relsect); 1734 LE_32(dosp[extndDrives[driveIndex]].relsect) + 1769 startsec = LE_32(dosp[extraDrives[driveIndex]].relsect);
|
/illumos-gate/usr/src/cmd/boot/installgrub/ |
H A D | installgrub.c | 782 if (part->relsect == 0) { 787 if (edkpi.p_start >= part->relsect && 788 edkpi.p_start < (part->relsect + part->numsect)) { 805 device->start_sector = part->relsect; 1468 *start_sect = part->relsect;
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | cmlb.c | 2501 cmlb_dbg(CMLB_INFO, cl, " relsect " 2506 i, fdp->relsect, fdp->numsect, 2520 uint32_t relsect; 2540 relsect = LE_32(fdp->relsect); 2543 cl->cl_fmap[i].fmap_start = relsect; 2561 (relsect + ext_relsect), blocksize, 2582 logdrive_offset = LE_32(efdp1->relsect); 2587 abs_secnum = relsect + ext_relsect + 2622 if ((ext_relsect = LE_32(efdp2->relsect)) [all...] |
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/ |
H A D | mkfs.c | 711 if ((*seekto = ltohi(part[bootPart].relsect)) == 0) { 733 if ((*seekto = ltohi(part[primaryPart].relsect)) == 0) { 767 nextseek = xstartsect = ltohi(part[extendedPart].relsect); 823 ltohi(part[i].relsect); 837 ltohi(part[extndDrives[driveIndex]].relsect) + 890 *seekto = ltohi(part[extraDrives[driveIndex]].relsect);
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.c | 5480 (fdisk_is_linux_swap(epp, part->relsect,
|