Lines Matching defs:ext_inq
933 struct scsi_vpd_extended_inquiry_data *ext_inq;
935 ext_inq = NULL;
937 ext_inq = malloc(sizeof(*ext_inq), M_CAMXPT,
940 if (ext_inq != NULL) {
945 (uint8_t *)ext_inq,
946 sizeof(*ext_inq),
1495 struct scsi_vpd_extended_inquiry_data *ext_inq;
1500 ext_inq = (struct scsi_vpd_extended_inquiry_data *)
1502 if (path->device->ext_inq != NULL) {
1504 free(path->device->ext_inq, M_CAMXPT);
1505 path->device->ext_inq = NULL;
1508 if (ext_inq == NULL) {
1511 length = scsi_2btoul(ext_inq->page_length) +
1514 length = min(length, sizeof(*ext_inq));
1518 path->device->ext_inq = (uint8_t *)ext_inq;
1531 if (ext_inq && length <= 0)
1532 free(ext_inq, M_CAMXPT);
2576 memcpy(cdai->buf, device->ext_inq, amt);