Lines Matching full:capacity

203  * Queries for true maximum capacity of the drive.
300 u64 capacity, set_max; in ide_disk_hpa_get_native_capacity() local
302 capacity = drive->capacity64; in ide_disk_hpa_get_native_capacity()
310 if (set_max == capacity + 1) in ide_disk_hpa_get_native_capacity()
328 u64 capacity, set_max; in idedisk_check_hpa() local
331 capacity = drive->capacity64; in idedisk_check_hpa()
334 if (set_max <= capacity) in idedisk_check_hpa()
340 "\tcurrent capacity is %llu sectors (%llu MB)\n" in idedisk_check_hpa()
341 "\tnative capacity is %llu sectors (%llu MB)\n", in idedisk_check_hpa()
343 capacity, sectors_to_MB(capacity), in idedisk_check_hpa()
381 * then we may need to change our opinion about its capacity. in ide_disk_get_capacity()
387 /* limit drive capacity to 137GB if LBA48 cannot be used */ in ide_disk_get_capacity()
390 printk(KERN_WARNING "%s: cannot use LBA48 - full capacity " in ide_disk_get_capacity()
528 unsigned long long capacity; in update_flush() local
534 * cache if the drive capacity is too large. By this in update_flush()
535 * time we have trimmed the drive capacity if LBA48 is in update_flush()
538 capacity = ide_gd_capacity(drive); in update_flush()
542 capacity <= (1ULL << 28) || in update_flush()
659 unsigned long long capacity; in ide_disk_setup() local
693 /* calculate drive capacity, and select LBA if possible */ in ide_disk_setup()
700 capacity = ide_gd_capacity(drive); in ide_disk_setup()
710 unsigned int cap0 = capacity; /* truncate to 32 bits */ in ide_disk_setup()
713 if (cap0 != capacity) in ide_disk_setup()
726 drive->name, capacity, sectors_to_MB(capacity)); in ide_disk_setup()