Lines Matching refs:io_hdr
328 struct sg_io_hdr io_hdr; in scsi_inquiry() local
351 memzero(&io_hdr, sizeof(struct sg_io_hdr)); in scsi_inquiry()
352 io_hdr.interface_id = 'S'; in scsi_inquiry()
353 io_hdr.cmd_len = sizeof(inq_cmd); in scsi_inquiry()
354 io_hdr.mx_sb_len = sizeof(sense); in scsi_inquiry()
355 io_hdr.dxfer_direction = SG_DXFER_FROM_DEV; in scsi_inquiry()
356 io_hdr.dxfer_len = buflen; in scsi_inquiry()
357 io_hdr.dxferp = buf; in scsi_inquiry()
358 io_hdr.cmdp = inq_cmd; in scsi_inquiry()
359 io_hdr.sbp = sense; in scsi_inquiry()
360 io_hdr.timeout = DEF_TIMEOUT; in scsi_inquiry()
361 io_buf = (void *)&io_hdr; in scsi_inquiry()