Searched defs:mode_select_buf (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/fm/libdiskstatus/common/
H A Dds_scsi_uscsi.c1447 caddr_t mode_select_buf; local
1460 mode_select_buf = alloca((uint_t)nbytes);
1467 (void) memset(mode_select_buf, 0, nbytes);
1484 (void) memcpy(mode_select_buf, (caddr_t)header, nbytes);
1485 (void) memcpy(mode_select_buf + nbytes, page_data, page_size);
1498 ucmd.uscsi_bufaddr = mode_select_buf;
1516 caddr_t mode_select_buf; local
1529 mode_select_buf = alloca((uint_t)nbytes);
1536 (void) memset(mode_select_buf, 0, nbytes);
1556 (void) memcpy(mode_select_buf, (caddr_
[all...]
/illumos-gate/usr/src/cmd/format/
H A Dctlr_scsi.c2351 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);

Completed in 71 milliseconds