Lines Matching defs:sector_t

49 typedef unsigned long long sector_t;
59 sector_t start_offset;
87 static sector_t total_number_sectors, extended_offset;
96 static void set_levalue(unsigned char *cp, sector_t value )
102 static void set_hsc(struct partition *p, sector_t start, sector_t end)
162 static sector_t read_size()
175 if (sizeof(long) > sizeof(sector_t) && sectors != (sector_t)sectors)
205 sector_t first[num_parts], last_seen_val = 0;
238 sector_t offset = 0, local_start_off = 0;
411 sector_t start, end;
575 sector_t new_start;
663 sector_t offset;
725 static uint32_t ask_value(char *mesg, sector_t left, sector_t right, sector_t defalt)
797 static int validate(int start_index, sector_t* begin,sector_t* end, sector_t start
812 static sector_t ask_start_sector(int idx, sector_t* begin, sector_t* end, int ext_idx)
814 sector_t start, limit, temp = 0, start_cyl, limit_cyl, offset = 1;
820 if (disp_unit_cyl) limit = (sector_t)g_sectors * g_heads * g_cylinders - 1;
867 static sector_t ask_end_sector(int idx, sector_t* begin, sector_t* end, int ext_idx, sector_t start_sec)
869 sector_t limit, temp = 0, start_cyl, limit_cyl, start = start_sec;
873 if (disp_unit_cyl) limit = (sector_t)g_sectors * g_heads * g_cylinders - 1;
917 sector_t start, end, begin_sec[num_parts], end_sec[num_parts];
945 if (dos_flag) pe->start_offset = start - (sector_t)g_sectors;
1064 static void check(int n, unsigned h, unsigned s, unsigned c, sector_t start)
1066 sector_t total, real_s, real_c;
1085 sector_t begin_sec[num_parts], end_sec[num_parts], total = 1;
1122 sector_t e_last = swap_le32toh(pex->part->start4) +
1146 sector_t start, num, new_start, end;
1220 sector_t first[num_parts], min;
1327 sector_t value;