Searched refs:mode_select_buf (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/lib/fm/libdiskstatus/common/ |
H A D | ds_scsi_uscsi.c | 1447 caddr_t mode_select_buf; in uscsi_mode_select() local 1460 mode_select_buf = alloca((uint_t)nbytes); in uscsi_mode_select() 1467 (void) memset(mode_select_buf, 0, nbytes); in uscsi_mode_select() 1484 (void) memcpy(mode_select_buf, (caddr_t)header, nbytes); in uscsi_mode_select() 1485 (void) memcpy(mode_select_buf + nbytes, page_data, page_size); in uscsi_mode_select() 1498 ucmd.uscsi_bufaddr = mode_select_buf; in uscsi_mode_select() 1516 caddr_t mode_select_buf; in uscsi_mode_select_10() local 1529 mode_select_buf = alloca((uint_t)nbytes); in uscsi_mode_select_10() 1536 (void) memset(mode_select_buf, 0, nbytes); in uscsi_mode_select_10() 1556 (void) memcpy(mode_select_buf, (caddr_t)header, nbytes); in uscsi_mode_select_10() [all …]
|
/titanic_41/usr/src/cmd/format/ |
H A D | ctlr_scsi.c | 2351 caddr_t mode_select_buf; local 2367 if ((mode_select_buf = malloc((uint_t)nbytes)) == NULL) { 2377 (void) memset(mode_select_buf, 0, nbytes); 2473 (void) memcpy(mode_select_buf, (caddr_t)header, nbytes); 2474 (void) memcpy(mode_select_buf + nbytes, page_data, page_size); 2487 ucmd.uscsi_bufaddr = mode_select_buf; 2496 free(mode_select_buf);
|