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

/systemd/src/udev/ata_id/
H A Data_id.c80 struct sg_io_hdr io_hdr = { local
92 ret = ioctl(fd, SG_IO, &io_hdr);
97 if (!(io_hdr.status == 0 &&
98 io_hdr.host_status == 0 &&
99 io_hdr.driver_status == 0)) {
161 struct sg_io_hdr io_hdr = { local
173 ret = ioctl(fd, SG_IO, &io_hdr);
237 struct sg_io_hdr io_hdr = { local
249 ret = ioctl(fd, SG_IO, &io_hdr);
/systemd/src/udev/scsi_id/
H A Dscsi_serial.c323 struct sg_io_hdr io_hdr; local
346 memzero(&io_hdr, sizeof(struct sg_io_hdr));
347 io_hdr.interface_id = 'S';
348 io_hdr.cmd_len = sizeof(inq_cmd);
349 io_hdr.mx_sb_len = sizeof(sense);
350 io_hdr.dxfer_direction = SG_DXFER_FROM_DEV;
351 io_hdr.dxfer_len = buflen;
352 io_hdr.dxferp = buf;
353 io_hdr.cmdp = inq_cmd;
354 io_hdr
[all...]

Completed in 13 milliseconds