Lines Matching refs:start_offset
59 sector_t start_offset; member
215 first[i] = swap_le32toh(px->start4) + pe->start_offset; in check_order()
259 partitions[num_parts].start_offset = offset; in read_ebr()
305 pe->start_offset = 0; in reset_boot()
472 start_sec = swap_le32toh(p->start4) + partitions[i].start_offset; in list_partitions()
528 partitions[i].start_offset = 0; in init_members()
612 new_start = partitions[i + 1].start_offset + swap_le32toh(q->start4) - extended_offset; in delete_partition()
671 offset = pe->start_offset; in write_table()
884 if (start < pe->start_offset && limit >= pe->start_offset) limit = pe->start_offset - 1; in ask_end_sector()
932 begin_sec[i] = swap_le32toh(p->start4) + pe->start_offset; in add_partition()
945 if (dos_flag) pe->start_offset = start - (sector_t)g_sectors; in add_partition()
946 else pe->start_offset = start - 1; in add_partition()
947 if (pe->start_offset == extended_offset) pe->start_offset++; in add_partition()
951 set_levalue(p->start4, start - pe->start_offset); in add_partition()
960 set_levalue(p->start4, pe->start_offset - extended_offset); in add_partition()
962 set_hsc(p, pe->start_offset, end); in add_partition()
972 pe->start_offset = extended_offset = start; in add_partition()
986 pe->start_offset = 0; in add_logical_partition()
1096 begin_sec[i] = swap_le32toh(p->start4) + pe->start_offset; in verify_table()
1106 if ((swap_le32toh(p->start4) + pe->start_offset) < begin_sec[i]) in verify_table()
1152 start = swap_le32toh(p->start4) + pe->start_offset; in move_begning()
1164 set_levalue(p->start4, new_start - pe->start_offset); in move_begning()
1229 else first[i] = swap_le32toh(px->start4) + pe->start_offset; in fix_order()
1253 oj = partitions[j].start_offset; in fix_order()
1254 ojj = partitions[j+1].start_offset; in fix_order()
1256 partitions[j].start_offset = ojj; in fix_order()
1257 partitions[j+1].start_offset = oj; in fix_order()
1273 oj = partitions[j].start_offset; in fix_order()
1274 ojj = partitions[j+1].start_offset; in fix_order()