Home
last modified time | relevance | path

Searched refs:mode_select_buf (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/fm/libdiskstatus/common/
H A Dds_scsi_uscsi.c1466 caddr_t mode_select_buf; in uscsi_mode_select() local
1479 mode_select_buf = alloca((uint_t)nbytes); in uscsi_mode_select()
1486 (void) memset(mode_select_buf, 0, nbytes); in uscsi_mode_select()
1503 (void) memcpy(mode_select_buf, (caddr_t)header, nbytes); in uscsi_mode_select()
1504 (void) memcpy(mode_select_buf + nbytes, page_data, page_size); in uscsi_mode_select()
1517 ucmd.uscsi_bufaddr = mode_select_buf; in uscsi_mode_select()
1535 caddr_t mode_select_buf; in uscsi_mode_select_10() local
1548 mode_select_buf = alloca((uint_t)nbytes); in uscsi_mode_select_10()
1555 (void) memset(mode_select_buf, 0, nbytes); in uscsi_mode_select_10()
1575 (void) memcpy(mode_select_buf, (caddr_t)header, nbytes); in uscsi_mode_select_10()
[all …]
/illumos-gate/usr/src/cmd/format/
H A Dctlr_scsi.c2258 caddr_t mode_select_buf; in uscsi_mode_select() local
2274 if ((mode_select_buf = malloc((uint_t)nbytes)) == NULL) { in uscsi_mode_select()
2284 (void) memset(mode_select_buf, 0, nbytes); in uscsi_mode_select()
2381 (void) memcpy(mode_select_buf, (caddr_t)header, nbytes); in uscsi_mode_select()
2382 (void) memcpy(mode_select_buf + nbytes, page_data, page_size); in uscsi_mode_select()
2395 ucmd.uscsi_bufaddr = mode_select_buf; in uscsi_mode_select()
2404 free(mode_select_buf); in uscsi_mode_select()