Lines Matching refs:ext_idx
812 static sector_t ask_start_sector(int idx, sector_t* begin, sector_t* end, int ext_idx) in ask_start_sector() argument
828 if (!begin[ext_idx] && extended_offset) begin[ext_idx] = extended_offset; in ask_start_sector()
829 start = begin[ext_idx] + offset; in ask_start_sector()
830 limit = end[ext_idx]; in ask_start_sector()
867 static sector_t ask_end_sector(int idx, sector_t* begin, sector_t* end, int ext_idx, sector_t start… in ask_end_sector() argument
880 if (idx >= 4) limit = end[ext_idx]; in ask_end_sector()
916 int i, ext_idx = -1; in add_partition() local
935 if (IS_EXTENDED(p->sys_ind)) ext_idx = i; 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()
1084 int i, j, ext_idx = -1; in verify_table() local
1099 if (IS_EXTENDED(p->sys_ind)) ext_idx = i; in verify_table()
1121 struct part_entry *pex = &partitions[ext_idx]; in verify_table()
1132 xprintf("Logical partition %u not entirely in partition %u\n", i + 1, ext_idx + 1); in verify_table()