/external/strace/tests-m32/ |
D | ioctl_sg_io_v3.c | 97 sg_io->dxfer_len, in main() 140 sg_io->dxfer_len, in main() 169 sg_io->dxfer_len = iov[0].iov_len + iov[1].iov_len - 1; in main() 199 sg_io->dxfer_len, in main() 220 sg_io->resid = sg_io->dxfer_len + 1; in main() 249 sg_io->dxfer_len, in main() 271 sg_io->dxfer_len = 5; in main() 273 sg_io->dxferp = (void *) efault - (sg_io->dxfer_len - sg_io->resid); in main() 301 sg_io->dxfer_len, in main() 319 sg_io->dxfer_len = 3; in main() [all …]
|
/external/strace/tests-mx32/ |
D | ioctl_sg_io_v3.c | 97 sg_io->dxfer_len, in main() 140 sg_io->dxfer_len, in main() 169 sg_io->dxfer_len = iov[0].iov_len + iov[1].iov_len - 1; in main() 199 sg_io->dxfer_len, in main() 220 sg_io->resid = sg_io->dxfer_len + 1; in main() 249 sg_io->dxfer_len, in main() 271 sg_io->dxfer_len = 5; in main() 273 sg_io->dxferp = (void *) efault - (sg_io->dxfer_len - sg_io->resid); in main() 301 sg_io->dxfer_len, in main() 319 sg_io->dxfer_len = 3; in main() [all …]
|
/external/strace/tests/ |
D | ioctl_sg_io_v3.c | 97 sg_io->dxfer_len, in main() 140 sg_io->dxfer_len, in main() 169 sg_io->dxfer_len = iov[0].iov_len + iov[1].iov_len - 1; in main() 199 sg_io->dxfer_len, in main() 220 sg_io->resid = sg_io->dxfer_len + 1; in main() 249 sg_io->dxfer_len, in main() 271 sg_io->dxfer_len = 5; in main() 273 sg_io->dxferp = (void *) efault - (sg_io->dxfer_len - sg_io->resid); in main() 301 sg_io->dxfer_len, in main() 319 sg_io->dxfer_len = 3; in main() [all …]
|
/external/sg3_utils/lib/ |
D | sg_pt_solaris.c | 208 int dxfer_len) in set_scsi_pt_data_in() argument 214 if (dxfer_len > 0) { in set_scsi_pt_data_in() 216 ptp->uscsi.uscsi_buflen = dxfer_len; in set_scsi_pt_data_in() 225 int dxfer_len) in set_scsi_pt_data_out() argument 231 if (dxfer_len > 0) { in set_scsi_pt_data_out() 233 ptp->uscsi.uscsi_buflen = dxfer_len; in set_scsi_pt_data_out() 378 int dxfer_len = ptp->uscsi.uscsi_buflen; in get_pt_req_lengths() local 382 if ((dxfer_len > 0) && (USCSI_READ & flags)) in get_pt_req_lengths() 383 *req_dinp = dxfer_len; in get_pt_req_lengths() 388 if ((dxfer_len > 0) && (USCSI_WRITE & flags)) in get_pt_req_lengths() [all …]
|
D | sg_pt_osf1.c | 60 int dxfer_len; member 234 ptp->dxfer_len = 0; in partial_clear_scsi_pt_obj() 280 int dxfer_len) in set_scsi_pt_data_in() argument 286 if (dxfer_len > 0) { in set_scsi_pt_data_in() 288 ptp->dxfer_len = dxfer_len; in set_scsi_pt_data_in() 296 int dxfer_len) in set_scsi_pt_data_out() argument 302 if (dxfer_len > 0) { in set_scsi_pt_data_out() 304 ptp->dxfer_len = dxfer_len; in set_scsi_pt_data_out() 443 uagt.uagt_buflen = ccb.cam_dxfer_len = ptp->dxfer_len; in do_scsi_pt() 514 if (ptp->dxfer_len > 0) in get_pt_req_lengths() [all …]
|
D | sg_pt_win32.c | 169 uint32_t dxfer_len; member 959 int dxfer_len) in set_scsi_pt_data_in() argument 965 if (dxfer_len > 0) { in set_scsi_pt_data_in() 967 psp->dxfer_len = (uint32_t)dxfer_len; in set_scsi_pt_data_in() 979 int dxfer_len) in set_scsi_pt_data_out() argument 985 if (dxfer_len > 0) { in set_scsi_pt_data_out() 987 psp->dxfer_len = (uint32_t)dxfer_len; in set_scsi_pt_data_out() 1072 psp->swb_d.spt.DataTransferLength = psp->dxfer_len; in scsi_pt_direct() 1119 if ((psp->dxfer_len > 0) && (psp->swb_d.spt.DataTransferLength > 0)) in scsi_pt_direct() 1120 psp->resid = psp->dxfer_len - psp->swb_d.spt.DataTransferLength; in scsi_pt_direct() [all …]
|
D | sg_pt_haiku.c | 170 int dxfer_len) in set_scsi_pt_data_in() argument 176 if (dxfer_len > 0) { in set_scsi_pt_data_in() 178 ptp->raw_command.data_length = dxfer_len; in set_scsi_pt_data_in() 179 ptp->data_len = dxfer_len; in set_scsi_pt_data_in() 187 int dxfer_len) in set_scsi_pt_data_out() argument 193 if (dxfer_len > 0) { in set_scsi_pt_data_out() 195 ptp->raw_command.data_length = dxfer_len; in set_scsi_pt_data_out() 196 ptp->data_len = dxfer_len; in set_scsi_pt_data_out()
|
D | sg_pt_dummy.c | 201 int dxfer_len) in set_scsi_pt_data_in() argument 205 if (dxfer_len) {} in set_scsi_pt_data_in() 211 int dxfer_len) in set_scsi_pt_data_out() argument 215 if (dxfer_len) {} in set_scsi_pt_data_out()
|
D | sg_pt_freebsd.c | 95 int dxfer_len; member 723 int dxfer_len) in set_scsi_pt_data_in() argument 730 ptp->dxfer_ilen = dxfer_len; in set_scsi_pt_data_in() 731 if (dxfer_len > 0) { in set_scsi_pt_data_in() 733 ptp->dxfer_len = dxfer_len; in set_scsi_pt_data_in() 744 int dxfer_len) in set_scsi_pt_data_out() argument 751 ptp->dxfer_olen = dxfer_len; in set_scsi_pt_data_out() 752 if (dxfer_len > 0) { in set_scsi_pt_data_out() 754 ptp->dxfer_len = dxfer_len; in set_scsi_pt_data_out() 906 /* datalen */ ptp->dxfer_len, in do_scsi_pt() [all …]
|
D | sg_pt_linux.c | 712 uint32_t dxfer_len, bool out_true) in set_pt_metadata_xfer() argument 716 if (dxfer_len > 0) { in set_pt_metadata_xfer() 718 ptp->mdxfer_len = dxfer_len; in set_pt_metadata_xfer() 1054 v3_hdr.dxfer_len = (unsigned int)ptp->io_hdr.din_xfer_len; in do_scsi_pt_v3() 1058 v3_hdr.dxfer_len = (unsigned int)ptp->io_hdr.dout_xfer_len; in do_scsi_pt_v3()
|
/external/sg3_utils/testing/ |
D | sg_iovec_tst.cpp | 153 int dxfer_len = bs * num_blocks; in sg_read() local 159 for (k = 0, pos = 0, rem = dxfer_len; k < IOVEC_ELEMS; ++k) { in sg_read() 169 "(would need %d)\n", dxfer_len, IOVEC_ELEMS, in sg_read() 170 dxfer_len / elem_size); in sg_read() 180 io_hdr.dxfer_len = dxfer_len; in sg_read() 257 int dxfer_len = bs * num_blocks; in sg_read_v4() local 263 for (k = 0, pos = 0, rem = dxfer_len; k < IOVEC_ELEMS; ++k) { in sg_read_v4() 273 "(would need %d)\n", dxfer_len, IOVEC_ELEMS, in sg_read_v4() 274 dxfer_len / elem_size); in sg_read_v4() 283 io_hdr.din_xfer_len = dxfer_len; in sg_read_v4() [all …]
|
D | sg_tst_excl.cpp | 236 pt.dxfer_len = READ16_REPLY_LEN; in do_rd_inc_wr_twice_v3() 374 pt.dxfer_len = WRITE16_REPLY_LEN; in do_rd_inc_wr_twice_v3() 729 pt.dxfer_len = INQ_REPLY_LEN; in do_inquiry_prod_id()
|
/external/strace/ |
D | sg_io_v3.c | 90 PRINT_FIELD_U(", ", sg_io, dxfer_len); in decode_request() 96 PRINT_FIELD_SG_IO_BUFFER(", ", sg_io, dxferp, sg_io.dxfer_len, sg_io.iovec_count, tcp); in decode_request() 130 uint32_t din_len = sg_io.dxfer_len; in decode_response()
|
/external/kernel-headers/original/scsi/ |
D | sg.h | 47 unsigned int dxfer_len; /* [i] byte count of data transfer */ member 76 compat_uint_t dxfer_len; /* [i] byte count of data transfer */ member
|
/external/sg3_utils/src/ |
D | sginfo.c | 374 size_t dxfer_len; /* bytes to be transferred to/from dxferp */ member 410 io_hdr.dxfer_len = sio->dxfer_len; in do_scsi_io() 422 dump(sio->dxferp, sio->dxfer_len); in do_scsi_io() 826 sci.dxfer_len = initial_len; in get_mode_page6() 855 sci.dxfer_len = mpi->resp_len; in get_mode_page6() 901 sci.dxfer_len = initial_len; in get_mode_page10() 932 sci.dxfer_len = mpi->resp_len; in get_mode_page10() 1017 sci.dxfer_len = resplen; in put_mode_page6() 1076 sci.dxfer_len = resplen; in put_mode_page10() 1547 sci.dxfer_len = 4; in read_defect_list() [all …]
|
D | sg_test_rwbuf.c | 108 io_hdr.dxfer_len = RB_DESC_LEN; in find_out_about_buffer() 253 io_hdr.dxfer_len = bufSize; in read_buffer() 319 io_hdr.dxfer_len = bufSize; in write_buffer()
|
/external/sg3_utils/examples/ |
D | sg_simple16.c | 85 io_hdr.dxfer_len = READ16_REPLY_LEN; in main()
|
D | sg_sat_smart_rd_data.c | 139 io_hdr.dxfer_len = SMART_READ_DATA_RESPONSE_LEN; in main()
|
D | sg__sat_identify.c | 161 io_hdr.dxfer_len = ID_RESPONSE_LEN; in main()
|
D | sg_simple1.c | 106 io_hdr.dxfer_len = INQ_REPLY_LEN; in main()
|
D | sg_excl.c | 113 io_hdr.dxfer_len = INQ_REPLY_LEN; in main()
|
D | sg_simple3.c | 109 io_hdr.dxfer_len = INQ_REPLY_BASE_LEN + INQ_REPLY_VID_LEN + in main()
|
/external/ltp/testcases/kernel/syscalls/ioctl/ |
D | ioctl_sg01.c | 90 query.dxfer_len = BUF_SIZE; in setup()
|
/external/musl/include/scsi/ |
D | sg.h | 70 unsigned dxfer_len; member
|
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/ |
D | scsimain.c | 841 io_hdr.dxfer_len = INQ_REPLY_LEN; in sg3_inq() 905 io_hdr.dxfer_len = mx_resp_len; in do_logs() 1578 io_hdr.dxfer_len = mx_resp_len; in do_inquiry() 1873 io_hdr.dxfer_len = sizeof(rcBuff); in read_capacity() 1912 io_hdr.dxfer_len = 0; in sync_cache() 2047 io_hdr.dxfer_len = bs * blocks; in sg_read() 2113 io_hdr.dxfer_len = bs * blocks; in sg_write() 2696 io_hdr.dxfer_len = mx_resp_len; in do_scsi_inq() 3383 io_hdr.dxfer_len = mx_resp_len; in do_simple_inq() 3438 io_hdr.dxfer_len = mx_resp_len; in do_modes() [all …]
|