Searched refs:mode_sense_buf (Results 1 - 2 of 2) sorted by relevance
/osnet-11/usr/src/lib/fm/libdiskstatus/common/ |
H A D | ds_scsi_uscsi.c | 1198 caddr_t mode_sense_buf; local 1214 mode_sense_buf = alloca((uint_t)nbytes); 1219 (void) memset(mode_sense_buf, 0, nbytes); 1227 ucmd.uscsi_bufaddr = mode_sense_buf; 1235 ddump("RAW MODE SENSE BUFFER", mode_sense_buf, nbytes); 1243 hdr = (struct mode_header *)mode_sense_buf; 1249 ddump("Mode sense:", mode_sense_buf, nbytes); 1252 (void) memcpy((caddr_t)header, mode_sense_buf, 1254 pg = (struct mode_page *)((ulong_t)mode_sense_buf + 1273 ddump("Mode sense:", mode_sense_buf, nbyte 1335 caddr_t mode_sense_buf; local [all...] |
/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | drive.c | 1435 caddr_t mode_sense_buf; local 1452 if ((mode_sense_buf = malloc((uint_t)nbytes)) == NULL) { 1459 (void) memset(mode_sense_buf, 0, nbytes); 1468 ucmd.uscsi_bufaddr = mode_sense_buf; 1485 free(mode_sense_buf); 1496 hdr = (struct mode_header *)mode_sense_buf; 1500 free(mode_sense_buf); 1503 (void) memcpy((caddr_t)header, mode_sense_buf, 1505 pg = (struct mode_page *)((ulong_t)mode_sense_buf + 1508 free(mode_sense_buf); [all...] |
Completed in 21 milliseconds