Lines Matching refs:headers
150 void *buf, uint_t buflen, scsi_ms_hdrs_t *headers, uint_t *skp,
160 assert(headers->ms_length == sip->si_cdblen);
173 headers->ms_hdr.g0.ms_header.length = 0;
174 headers->ms_hdr.g0.ms_header.device_specific = 0;
179 &headers->ms_hdr.g0, &sense, &senselen);
183 &headers->ms_hdr.g0, &sense, &senselen);
186 headers->ms_hdr.g1.ms_header.length = 0;
187 headers->ms_hdr.g1.ms_header.device_specific = 0;
192 &headers->ms_hdr.g1, &sense, &senselen);
196 &headers->ms_hdr.g1, &sense, &senselen);
207 void *buf, uint_t buflen, scsi_ms_hdrs_t *headers, uint_t *skp,
219 bzero(headers, sizeof (scsi_ms_hdrs_t));
220 headers->ms_length = sip->si_cdblen;
225 page_code, pc, buf, buflen, &headers->ms_hdr.g0,
229 pc, buf, buflen, &headers->ms_hdr.g0, &sense,
234 page_code, pc, buf, buflen, &headers->ms_hdr.g1,
238 page_code, pc, buf, buflen, &headers->ms_hdr.g1,
338 scsi_ms_hdrs_t headers;
342 scsi_ms_header_t *smh = &headers.ms_hdr.g0;
343 scsi_ms_header_g1_t *smh_g1 = &headers.ms_hdr.g1;
350 bzero(&headers, sizeof (headers));
360 * UCHAR_MAX - the size of the headers/block descriptors.
365 &headers, &skey, &asc, &ascq)) == 0) {
397 &headers, &skey, &asc, &ascq);