Home
last modified time | relevance | path

Searched refs:mode_hdr (Results 1 – 3 of 3) sorted by relevance

/freebsd/sbin/camcontrol/
H A Dtimestamp.c78 struct scsi_mode_header_10 *mode_hdr = NULL; in set_restore_flags() local
126 mode_hdr = (struct scsi_mode_header_10 *)&mode_buf[0]; in set_restore_flags()
127 blk_desc_length = scsi_2btoul(mode_hdr->blk_desc_len); in set_restore_flags()
/freebsd/sys/cam/scsi/
H A Dscsi_sa.c3885 struct scsi_mode_header_6 *mode_hdr; in sagetparams() local
3960 if ((mode_hdr->blk_desc_len == 0) && in sagetparams()
3975 bcopy(&mode_hdr[0], &mode_hdr[1], sizeof (sa_comp_t)); in sagetparams()
3976 bzero(&mode_hdr[0], sizeof (mode_hdr[0])); in sagetparams()
4403 struct scsi_mode_header_6 *mode_hdr; in sasetparams() local
4454 cpage = (sa_comp_t *)&mode_hdr[1]; in sasetparams()
4489 mode_hdr->data_length = 0; in sasetparams()
4490 mode_hdr->medium_type = 0; in sasetparams()
4493 mode_hdr->dev_spec = current_speed; in sasetparams()
4497 mode_hdr->dev_spec |= SMH_SA_BUF_MODE_SIBUF; in sasetparams()
[all …]
H A Dscsi_xpt.c1410 struct scsi_mode_header_6 *mode_hdr; in probedone() local
1413 mode_hdr = (struct scsi_mode_header_6 *)csio->data_ptr; in probedone()
1418 offset = ((uint8_t *)&mode_hdr[1]) in probedone()
1419 + mode_hdr->blk_desc_len; in probedone()
1431 free(mode_hdr, M_CAMXPT); in probedone()