Lines Matching refs:disk_number
154 int disk_number) in compute_disk_module() argument
162 d[disk_number].disk, d[disk_number].edd_version); in compute_disk_module()
171 d[disk_number].edd_params.sectors); in compute_disk_module()
172 sectors_to_size(d[disk_number].edd_params.sectors, size_iec); in compute_disk_module()
173 sectors_to_size_dec2(d[disk_number].edd_params.sectors, size_dec); in compute_disk_module()
185 if (d[disk_number].edd_version >= 0x30) { in compute_disk_module()
187 remove_spaces((char *)d[disk_number].edd_params.host_bus_type), in compute_disk_module()
188 d[disk_number].edd_params.interface_type); in compute_disk_module()
190 remove_spaces((char *)d[disk_number].edd_params.host_bus_type), in compute_disk_module()
191 d[disk_number].edd_params.interface_type); in compute_disk_module()
197 d[disk_number].legacy_max_cylinder + 1, in compute_disk_module()
198 d[disk_number].legacy_max_head + 1, in compute_disk_module()
199 (int)d[disk_number].edd_params.sectors); in compute_disk_module()
202 d[disk_number].legacy_max_cylinder + 1, in compute_disk_module()
203 d[disk_number].legacy_max_head + 1, in compute_disk_module()
204 (int)d[disk_number].edd_params.sectors); in compute_disk_module()
209 d[disk_number].legacy_sectors_per_track); in compute_disk_module()
211 d[disk_number].legacy_sectors_per_track); in compute_disk_module()
215 get_mbr_string(hardware->mbr_ids[disk_number], &mbr_name, 50); in compute_disk_module()
218 remove_spaces(mbr_name), hardware->mbr_ids[disk_number]); in compute_disk_module()
220 remove_spaces(mbr_name), hardware->mbr_ids[disk_number]); in compute_disk_module()
224 dn = disk_number; in compute_disk_module()
226 parse_partition_table(&d[disk_number], &show_partition_information); in compute_disk_module()
227 if (!parse_partition_table(&d[disk_number], &compute_partition_information)) { in compute_disk_module()