Lines Matching refs:end_sec
454 uint32_t start_cyl, end_cyl, start_sec, end_sec, blocks, secs; in list_partitions() local
475 if ((start_sec + secs) == 0) end_sec = 0; in list_partitions()
476 else end_sec = start_sec + secs -1; in list_partitions()
478 end_cyl = end_sec/(g_heads * g_sectors) + 1; in list_partitions()
491 disp_unit_cyl == 0? end_sec: end_cyl, in list_partitions()
917 sector_t start, end, begin_sec[num_parts], end_sec[num_parts]; in add_partition() local
930 end_sec[i] = 0; in add_partition()
933 end_sec[i] = begin_sec[i] + swap_le32toh(p->size4) - 1; in add_partition()
937 start = ask_start_sector(idx, begin_sec, end_sec, ext_idx); in add_partition()
938 end = ask_end_sector(idx, begin_sec, end_sec, ext_idx, start); in add_partition()
1085 sector_t begin_sec[num_parts], end_sec[num_parts], total = 1; in verify_table() local
1094 end_sec[i] = 0; in verify_table()
1097 end_sec[i] = begin_sec[i] + swap_le32toh(p->size4) - 1; in verify_table()
1108 check(i + 1, p->end_head, p->end_sector, p->end_cyl, end_sec[i]); in verify_table()
1109 total += end_sec[i] + 1 - begin_sec[i]; in verify_table()
1111 if ((begin_sec[i] >= begin_sec[j] && begin_sec[i] <= end_sec[j]) in verify_table()
1112 || ((end_sec[i] <= end_sec[j] && end_sec[i] >= begin_sec[j]))) { in verify_table()
1115 total -= end_sec[i] <= end_sec[j] ? end_sec[i] : end_sec[j]; in verify_table()
1131 } else if (begin_sec[i] < extended_offset || end_sec[i] > e_last) in verify_table()