Lines Matching refs:begin_sec
917 sector_t start, end, begin_sec[num_parts], end_sec[num_parts]; in add_partition() local
929 begin_sec[i] = 0xffffffff; in add_partition()
932 begin_sec[i] = swap_le32toh(p->start4) + pe->start_offset; 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
1093 begin_sec[i] = 0xffffffff; in verify_table()
1096 begin_sec[i] = swap_le32toh(p->start4) + pe->start_offset; in verify_table()
1097 end_sec[i] = begin_sec[i] + swap_le32toh(p->size4) - 1; in verify_table()
1106 if ((swap_le32toh(p->start4) + pe->start_offset) < begin_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()
1114 total += begin_sec[i] >= begin_sec[j] ? begin_sec[i] : begin_sec[j]; in verify_table()
1131 } else if (begin_sec[i] < extended_offset || end_sec[i] > e_last) in verify_table()