Lines Matching defs:capacity
398 di->capacity = ((buf[21] * 60) + buf[22]) * 75;
400 di->capacity = 0;
407 * returns current/maximum format capacity in bytes
410 read_format_capacity(int fd, uint64_t *capacity)
436 *capacity = (uint64_t)num_blocks * block_len;
449 * disc capacity (in bytes)
452 get_disc_capacity_for_profile(int fd, int profile, uint64_t *capacity)
462 *capacity = mi.dki_capacity * mi.dki_lbsize;
467 if (read_format_capacity(fd, capacity) && (*capacity > 0)) {
469 } else if (get_disc_info(fd, &di) && (di.capacity > 0)) {
471 *capacity = di.capacity * mi.dki_lbsize;