Lines Matching defs:begsec
54 static int fdisk_ext_overlapping_parts(ext_part_t *epp, uint32_t begsec,
357 fdisk_get_solaris_part(ext_part_t *epp, int *pnum, uint32_t *begsec,
374 *begsec = part_start;
383 fdisk_get_part_info(ext_part_t *epp, int pnum, uchar_t *sysid, uint32_t *begsec,
401 *begsec = temp->abs_secnum + temp->logdrive_offset;
499 * sector (so that the range - "begsec to last_free_sec" is contiguous)
502 fdisk_ext_find_last_free_sec(ext_part_t *epp, uint32_t begsec)
510 if (temp->abs_secnum > begsec) {
567 fdisk_ext_overlapping_parts(ext_part_t *epp, uint32_t begsec, uint32_t endsec)
575 if ((begsec >= firstsec) &&
576 (begsec <= lastsec)) {
585 last_free_sec = fdisk_ext_find_last_free_sec(epp, begsec);
597 fdisk_validate_logical_drive(ext_part_t *epp, uint32_t begsec,
602 endsec = begsec + offset + numsec - 1;
603 if (begsec < epp->ext_beg_sec ||
604 begsec > epp->ext_end_sec ||
607 endsec < begsec ||
608 fdisk_ext_overlapping_parts(epp, begsec, endsec)) {
820 uint32_t *begsec)
834 *begsec = first_free_sec;
849 *begsec = FDISK_CYL_TO_SECT(epp, begcyl);
886 fdisk_add_logical_drive(ext_part_t *epp, uint32_t begsec, uint32_t endsec,
893 temp->abs_secnum = begsec;
895 temp->numsect = endsec - begsec + 1 - MAX_LOGDRIVE_OFFSET;
896 temp->begcyl = FDISK_SECT_TO_CYL(epp, begsec);
910 if (begsec != epp->ext_beg_sec) {
911 part->relsect = LE_32(begsec - epp->ext_beg_sec);
912 temp->numsect = endsec - begsec + 1;
1117 uint32_t begsec, numsec;
1140 if (fdisk_get_solaris_part(epp, &part, &begsec, &numsec) ==