Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/fm/libdiskstatus/common/
H A Dds_scsi_uscsi.c1200 caddr_t mode_sense_buf; in uscsi_mode_sense() local
1215 mode_sense_buf = alloca((uint_t)nbytes); in uscsi_mode_sense()
1220 (void) memset(mode_sense_buf, 0, nbytes); in uscsi_mode_sense()
1228 ucmd.uscsi_bufaddr = mode_sense_buf; in uscsi_mode_sense()
1236 ddump("RAW MODE SENSE BUFFER", mode_sense_buf, nbytes); in uscsi_mode_sense()
1244 hdr = (struct mode_header *)mode_sense_buf; in uscsi_mode_sense()
1255 ddump("Mode sense:", mode_sense_buf, nbytes); in uscsi_mode_sense()
1263 ddump("Mode sense:", mode_sense_buf, nbytes); in uscsi_mode_sense()
1266 (void) memcpy((caddr_t)header, mode_sense_buf, in uscsi_mode_sense()
1268 pg = (struct mode_page *)((ulong_t)mode_sense_buf + in uscsi_mode_sense()
[all …]
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Ddrive.c1439 caddr_t mode_sense_buf; in uscsi_mode_sense() local
1456 if ((mode_sense_buf = malloc((uint_t)nbytes)) == NULL) { in uscsi_mode_sense()
1463 (void) memset(mode_sense_buf, 0, nbytes); in uscsi_mode_sense()
1472 ucmd.uscsi_bufaddr = mode_sense_buf; in uscsi_mode_sense()
1489 free(mode_sense_buf); in uscsi_mode_sense()
1500 hdr = (struct mode_header *)mode_sense_buf; in uscsi_mode_sense()
1504 free(mode_sense_buf); in uscsi_mode_sense()
1507 (void) memcpy((caddr_t)header, mode_sense_buf, in uscsi_mode_sense()
1509 pg = (struct mode_page *)((ulong_t)mode_sense_buf + in uscsi_mode_sense()
1512 free(mode_sense_buf); in uscsi_mode_sense()
[all …]
/illumos-gate/usr/src/cmd/format/
H A Dctlr_scsi.c2126 caddr_t mode_sense_buf; in uscsi_mode_sense() local
2147 if ((mode_sense_buf = malloc((uint_t)nbytes)) == NULL) { in uscsi_mode_sense()
2155 (void) memset(mode_sense_buf, 0, nbytes); in uscsi_mode_sense()
2163 ucmd.uscsi_bufaddr = mode_sense_buf; in uscsi_mode_sense()
2172 free(mode_sense_buf); in uscsi_mode_sense()
2183 hdr = (struct mode_header *)mode_sense_buf; in uscsi_mode_sense()
2192 dump("Mode sense: ", mode_sense_buf, in uscsi_mode_sense()
2195 free(mode_sense_buf); in uscsi_mode_sense()
2198 (void) memcpy((caddr_t)header, mode_sense_buf, in uscsi_mode_sense()
2200 pg = (struct mode_page *)((ulong_t)mode_sense_buf + in uscsi_mode_sense()
[all …]