Lines Matching refs:total_sectors
334 grub_uint64_t total_sectors = 0;
356 total_sectors = GRUB_DISK_SIZE_UNKNOWN;
378 if (drp->total_sectors)
379 total_sectors = drp->total_sectors;
384 total_sectors = drp->cylinders * drp->heads * drp->sectors;
405 if (total_sectors && (data->flags & GRUB_BIOSDISK_FLAG_LBA))
410 = grub_divmod64 (total_sectors
421 if (! total_sectors)
422 total_sectors = data->cylinders * data->heads * data->sectors;
425 disk->total_sectors = total_sectors;
482 disk->total_sectors = data->cylinders * data->heads * data->sectors;