Searched refs:sc_capacity (Results 1 – 8 of 8) sorted by relevance
830 if ((capacity.sc_capacity == 0) || in auto_sense()831 (capacity.sc_capacity == UINT_MAX64)) { in auto_sense()839 capacity.sc_capacity, capacity.sc_capacity); in auto_sense()942 tblocks = (capacity->sc_capacity + 1); in generic_disk_sense()1011 (diskaddr_t)(capacity->sc_capacity + 1), in generic_disk_sense()1242 (capacity->sc_capacity + 1 != nblocks)) { in generic_disk_sense()1245 (capacity->sc_capacity + 1 - nblocks), in generic_disk_sense()1246 capacity->sc_capacity + 1); in generic_disk_sense()1259 nblocks, capacity->sc_capacity + 1); in generic_disk_sense()1280 if (nblocks > capacity->sc_capacity + 1) { in generic_disk_sense()[all …]
186 if (capacity.sc_capacity < ncyl * nhead * nsect) { in do_geometry_sanity_check()558 *capacity = cap16.sc_capacity; in get_disk_capacity()
2548 capacity->sc_capacity = BE_64(capacity->sc_capacity); in uscsi_read_capacity_16()2642 capacity->sc_capacity = BE_64(capacity->sc_capacity); in uscsi_read_capacity()2645 capacity->sc_capacity = (uint64_t)BE_32(cap_old.capacity); in uscsi_read_capacity()
518 cap_ptr->sc_capacity = cap_old.capacity; in g_scsi_read_capacity_1016_cmd()
649 uint64_t sc_capacity; member
961 cap.sc_capacity = uint64_to_scsi_uint64(tgt->emul64_tgt_sectors); in bsd_scsi_read_capacity_16()
6157 if (cap_data.sc_capacity > 0 && cap_data.sc_lbasize > 0) { in display_lun_info()6158 lunMbytes = cap_data.sc_capacity + 1; in display_lun_info()
4814 cap16.sc_capacity = BE_64(dvp->size - 1); in aac_tran_start_ld()