Home
last modified time | relevance | path

Searched refs:sc_capacity (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/format/
H A Dauto_sense.c830 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 …]
H A Dlabel.c186 if (capacity.sc_capacity < ncyl * nhead * nsect) { in do_geometry_sanity_check()
558 *capacity = cap16.sc_capacity; in get_disk_capacity()
H A Dctlr_scsi.c2548 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()
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dio.c518 cap_ptr->sc_capacity = cap_old.capacity; in g_scsi_read_capacity_1016_cmd()
/illumos-gate/usr/src/uts/common/sys/scsi/impl/
H A Dcommands.h649 uint64_t sc_capacity; member
/illumos-gate/usr/src/uts/common/io/
H A Demul64_bsd.c961 cap.sc_capacity = uint64_to_scsi_uint64(tgt->emul64_tgt_sectors); in bsd_scsi_read_capacity_16()
/illumos-gate/usr/src/cmd/luxadm/
H A Dg_adm.c6157 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()
/illumos-gate/usr/src/uts/common/io/aac/
H A Daac.c4814 cap16.sc_capacity = BE_64(dvp->size - 1); in aac_tran_start_ld()