/titanic_41/usr/src/cmd/hal/utils/ |
H A D | fsutils.c | 122 uint_t relsect; in walk_partitions() local 140 relsect = sec + ltohi(ipart[i].relsect); in walk_partitions() 146 sec = startsec + ltohi(ipart[i].relsect); in walk_partitions() 148 relsect = startsec = sec; in walk_partitions() 153 if (valid && f(arg, ipart[i].systid, relsect, in walk_partitions() 162 find_dos_drive_cb(void *arg, int systid, uint_t relsect, uint_t numsect) in find_dos_drive_cb() argument 168 p->r_relsect = relsect; in find_dos_drive_cb() 201 get_num_dos_drives_cb(void *arg, int systid, uint_t relsect, uint_t numsect) in get_num_dos_drives_cb() argument
|
/titanic_41/usr/src/cmd/fstyp/ |
H A D | fstyp.c | 316 uint32_t relsect; in walk_partitions() local 334 relsect = sec + ltohi(ipart[i].relsect); in walk_partitions() 340 sec = startsec + ltohi(ipart[i].relsect); in walk_partitions() 342 relsect = startsec = sec; in walk_partitions() 347 if (valid && f(arg, ipart[i].systid, relsect, in walk_partitions() 356 find_dos_drive_cb(void *arg, int systid, uint32_t relsect, uint32_t numsect) in find_dos_drive_cb() argument 362 p->r_relsect = relsect; in find_dos_drive_cb()
|
/titanic_41/usr/src/lib/libfdisk/common/ |
H A D | libfdisk.c | 637 secnum = LE_32(fdp->relsect); in fdisk_read_extpart() 658 if ((LE_32(ext_fdp->relsect) == 0) && in fdisk_read_extpart() 668 LE_32(ext_fdp->relsect); in fdisk_read_extpart() 722 if (LE_32(ext_fdp->relsect) == 0) in fdisk_read_extpart() 725 secnum = LE_32(fdp->relsect) + in fdisk_read_extpart() 726 LE_32(ext_fdp->relsect); in fdisk_read_extpart() 903 part->relsect = MAX_LOGDRIVE_OFFSET; in fdisk_add_logical_drive() 911 part->relsect = LE_32(begsec - epp->ext_beg_sec); in fdisk_add_logical_drive() 914 if (LE_32(part->relsect) > MAX_LOGDRIVE_OFFSET) { in fdisk_add_logical_drive() 918 temp->logdrive_offset = LE_32(part->relsect); in fdisk_add_logical_drive() [all …]
|
/titanic_41/usr/src/cmd/fdisk/ |
H A D | fdisk.c | 1259 Table[0].relsect = LE_32(heads * sectors); in main() 1446 if ((Old_Table[old_pt].relsect == in dev_mboot_write() 1447 Table[new_pt].relsect) && in dev_mboot_write() 1481 (Old_Table[old_pt].relsect == in dev_mboot_write() 1482 Table[new_pt].relsect) && in dev_mboot_write() 1771 uint32_t begsec, endsec, relsect; in load() local 1830 Old_Table[i].relsect; in load() 2039 Table[i].relsect == LE_32(rsect) && in load() 2057 relsect = temp->abs_secnum + temp->logdrive_offset; in load() 2068 relsect == LE_32(rsect) && in load() [all …]
|
/titanic_41/usr/src/cmd/format/ |
H A D | menu_fdisk.c | 135 partp->relsect = getlong((uchar_t **)&bootptr); in fill_ipart() 550 ip.relsect = relsec; 566 (fdisk_is_linux_swap(epp, lel(ip.relsect), NULL) != 0)) || 581 xstart = lel(ip.relsect) / (nhead * nsect); 591 solaris_offset = (uint_t)lel(ip.relsect); 768 ip.relsect = relsec; 779 (fdisk_is_linux_swap(epp, lel(ip.relsect), NULL) != 0)) || 787 solaris_offset = lel(ip.relsect); 907 (fdisk_is_linux_swap(epp, lel(ip.relsect), NULL) != 0)) || 933 solaris_offset = lel(ip.relsect);
|
/titanic_41/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | pcfs_common.c | 552 found = ltohi(part[bootPart].relsect) * BPSEC; in findPartitionOffset() 557 found = ltohi(part[primaryPart].relsect) * BPSEC; in findPartitionOffset() 574 nextseek = xstartsect = ltohi(part[extendedPart].relsect); in findPartitionOffset() 630 ltohi(part[i].relsect); in findPartitionOffset() 644 ltohi(part[extndDrives[driveIndex]].relsect) + in findPartitionOffset() 673 found = ltohi(part[extraDrives[driveIndex]].relsect) * BPSEC; in findPartitionOffset()
|
/titanic_41/usr/src/lib/libdiskmgt/common/ |
H A D | partition.c | 518 (unsigned int)iparts[part_num - 1].relsect) != 0) { in get_attrs() 620 iparts[i].relsect = lel(iparts[i].relsect); in get_parts() 680 iparts[j].relsect = (tmpsect + in get_parts() 681 lel(log_drv->parts[0].relsect) + epp->ext_beg_sec); in get_parts() 683 tmpsect = lel(log_drv->parts[1].relsect); in get_parts()
|
/titanic_41/usr/src/cmd/rmformat/ |
H A D | rmf_slice.c | 1208 fdisk->part[i].relsect = lel(GET_32(&(part->relsect))); in get_fdisk() 1213 DPRINTF1("\trel sector 0x%x\n", fdisk->part[i].relsect); in get_fdisk() 1377 parts[i].relsect = lel(UNUSED); in write_default_label() 1390 parts[0].relsect = lel(nhead * nsect); in write_default_label() 1537 sol_offset = fdisk.part[i].relsect; in overwrite_metadata() 1545 sol_offset = fdisk.part[i].relsect; in overwrite_metadata() 1552 erase(handle, (diskaddr_t)fdisk.part[i].relsect, in overwrite_metadata()
|
H A D | rmformat.h | 144 uint32_t relsect; /* Beginning of partition */ member
|
/titanic_41/usr/src/uts/common/sys/dktp/ |
H A D | fdisk.h | 84 uint32_t relsect; /* first sector relative to start of disk */ member
|
/titanic_41/usr/src/cmd/boot/mbr/ |
H A D | mbr.c | 136 i + 1, part->systid, part->relsect, part->numsect); in main()
|
/titanic_41/usr/src/uts/common/fs/pcfs/ |
H A D | pc_vfsops.c | 1600 uint_t, LE_32(dosp[i].relsect), in findTheDrive() 1627 startsec = LE_32(dosp[bootPart].relsect); in findTheDrive() 1633 startsec = LE_32(dosp[primaryPart].relsect); in findTheDrive() 1650 diskblk = xstartsect = LE_32(dosp[extendedPart].relsect); in findTheDrive() 1700 uint_t, LE_32(dosp[i].relsect), in findTheDrive() 1716 LE_32(dosp[i].relsect); in findTheDrive() 1734 LE_32(dosp[extndDrives[driveIndex]].relsect) + in findTheDrive() 1769 startsec = LE_32(dosp[extraDrives[driveIndex]].relsect); in findTheDrive()
|
/titanic_41/usr/src/cmd/boot/installgrub/ |
H A D | installgrub.c | 777 if (part->relsect == 0) { in get_start_sector() 782 if (edkpi.p_start >= part->relsect && in get_start_sector() 783 edkpi.p_start < (part->relsect + part->numsect)) { in get_start_sector() 800 device->start_sector = part->relsect; in get_start_sector() 1453 *start_sect = part->relsect; in find_x86_bootpar()
|
/titanic_41/usr/src/uts/common/io/ |
H A D | cmlb.c | 2473 i, fdp->relsect, fdp->numsect, 2487 uint32_t relsect; 2507 relsect = LE_32(fdp->relsect); 2510 cl->cl_fmap[i].fmap_start = relsect; 2528 (relsect + ext_relsect), blocksize, 2549 logdrive_offset = LE_32(efdp1->relsect); 2554 abs_secnum = relsect + ext_relsect + 2589 if ((ext_relsect = LE_32(efdp2->relsect)) == 0) 2613 (cmlb_is_linux_swap(cl, relsect, 2617 solaris_offset = relsect;
|
/titanic_41/usr/src/cmd/fs.d/pcfs/mkfs/ |
H A D | mkfs.c | 711 if ((*seekto = ltohi(part[bootPart].relsect)) == 0) { in seek_partn() 733 if ((*seekto = ltohi(part[primaryPart].relsect)) == 0) { in seek_partn() 767 nextseek = xstartsect = ltohi(part[extendedPart].relsect); in seek_partn() 823 ltohi(part[i].relsect); in seek_partn() 837 ltohi(part[extndDrives[driveIndex]].relsect) + in seek_partn() 890 *seekto = ltohi(part[extraDrives[driveIndex]].relsect); in seek_partn()
|
/titanic_41/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.c | 4993 (fdisk_is_linux_swap(epp, part->relsect,
|