Searched refs:mode_sense_buf (Results 1 – 3 of 3) sorted by relevance
/titanic_50/usr/src/lib/fm/libdiskstatus/common/ |
H A D | ds_scsi_uscsi.c | 1201 caddr_t mode_sense_buf; in uscsi_mode_sense() local 1216 mode_sense_buf = alloca((uint_t)nbytes); in uscsi_mode_sense() 1221 (void) memset(mode_sense_buf, 0, nbytes); in uscsi_mode_sense() 1229 ucmd.uscsi_bufaddr = mode_sense_buf; in uscsi_mode_sense() 1237 ddump("RAW MODE SENSE BUFFER", mode_sense_buf, nbytes); in uscsi_mode_sense() 1245 hdr = (struct mode_header *)mode_sense_buf; in uscsi_mode_sense() 1251 ddump("Mode sense:", mode_sense_buf, nbytes); in uscsi_mode_sense() 1254 (void) memcpy((caddr_t)header, mode_sense_buf, in uscsi_mode_sense() 1256 pg = (struct mode_page *)((ulong_t)mode_sense_buf + in uscsi_mode_sense() 1282 ddump("Mode sense:", mode_sense_buf, nbytes); in uscsi_mode_sense() [all …]
|
/titanic_50/usr/src/lib/libdiskmgt/common/ |
H A D | drive.c | 1415 caddr_t mode_sense_buf; in uscsi_mode_sense() local 1432 if ((mode_sense_buf = malloc((uint_t)nbytes)) == NULL) { in uscsi_mode_sense() 1439 (void) memset(mode_sense_buf, 0, nbytes); in uscsi_mode_sense() 1448 ucmd.uscsi_bufaddr = mode_sense_buf; in uscsi_mode_sense() 1465 free(mode_sense_buf); in uscsi_mode_sense() 1476 hdr = (struct mode_header *)mode_sense_buf; in uscsi_mode_sense() 1480 free(mode_sense_buf); in uscsi_mode_sense() 1483 (void) memcpy((caddr_t)header, mode_sense_buf, in uscsi_mode_sense() 1485 pg = (struct mode_page *)((ulong_t)mode_sense_buf + in uscsi_mode_sense() 1488 free(mode_sense_buf); in uscsi_mode_sense() [all …]
|
/titanic_50/usr/src/cmd/format/ |
H A D | ctlr_scsi.c | 2214 caddr_t mode_sense_buf; local 2235 if ((mode_sense_buf = malloc((uint_t)nbytes)) == NULL) { 2243 (void) memset(mode_sense_buf, 0, nbytes); 2251 ucmd.uscsi_bufaddr = mode_sense_buf; 2260 free(mode_sense_buf); 2271 hdr = (struct mode_header *)mode_sense_buf; 2280 dump("Mode sense: ", mode_sense_buf, 2283 free(mode_sense_buf); 2286 (void) memcpy((caddr_t)header, mode_sense_buf, 2288 pg = (struct mode_page *)((ulong_t)mode_sense_buf + [all …]
|