Home
last modified time | relevance | path

Searched refs:v3_hdr (Results 1 – 1 of 1) sorted by relevance

/external/f2fs-tools/tools/sg_write_buffer/
Dsg_pt_linux.c833 struct sg_io_hdr v3_hdr; in do_scsi_pt_v3() local
835 memset(&v3_hdr, 0, sizeof(v3_hdr)); in do_scsi_pt_v3()
837 v3_hdr.interface_id = 'S'; in do_scsi_pt_v3()
838 v3_hdr.dxfer_direction = SG_DXFER_NONE; in do_scsi_pt_v3()
839 v3_hdr.cmdp = (unsigned char *)(long)ptp->io_hdr.request; in do_scsi_pt_v3()
840 v3_hdr.cmd_len = (unsigned char)ptp->io_hdr.request_len; in do_scsi_pt_v3()
847 v3_hdr.dxferp = (void *)(long)ptp->io_hdr.din_xferp; in do_scsi_pt_v3()
848 v3_hdr.dxfer_len = (unsigned int)ptp->io_hdr.din_xfer_len; in do_scsi_pt_v3()
849 v3_hdr.dxfer_direction = SG_DXFER_FROM_DEV; in do_scsi_pt_v3()
851 v3_hdr.dxferp = (void *)(long)ptp->io_hdr.dout_xferp; in do_scsi_pt_v3()
[all …]