Searched defs:sg_io (Results 1 - 1 of 1) sorted by relevance

/systemd/src/udev/cdrom_id/
H A Dcdrom_id.c140 struct sg_io_hdr sg_io; member in struct:scsi_cmd
148 cmd->sg_io.interface_id = 'S';
149 cmd->sg_io.mx_sb_len = sizeof(cmd->_sense);
150 cmd->sg_io.cmdp = cmd->cgc.cmd;
151 cmd->sg_io.sbp = cmd->_sense.u;
152 cmd->sg_io.flags = SG_FLAG_LUN_INHIBIT | SG_FLAG_DIRECT_IO;
157 cmd->sg_io.cmd_len = i + 1;
168 cmd->sg_io.dxferp = buf;
169 cmd->sg_io.dxfer_len = bufsize;
170 cmd->sg_io
[all...]

Completed in 13 milliseconds