Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsd.c19399 uint64_t *capacity16_buf; local
19428 capacity16_buf = kmem_zalloc(SD_CAPACITY_16_SIZE, KM_SLEEP);
19432 ucmd_buf.uscsi_bufaddr = (caddr_t)capacity16_buf;
19462 kmem_free(capacity16_buf, SD_CAPACITY_16_SIZE);
19486 capacity = BE_64(capacity16_buf[0]);
19487 lbasize = BE_32(*(uint32_t *)&capacity16_buf[1]);
19488 lbpb_exp = (BE_64(capacity16_buf[1]) >> 16) & 0x0f;
19491 if (((uint8_t *)capacity16_buf)[14] & (1 << 7))
19493 if (((uint8_t *)capacity16_buf)[14] & (1 << 6))
19501 kmem_free(capacity16_buf, SD_CAPACITY_16_SIZE);
[all …]