Home
last modified time | relevance | path

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

/third_party/libusb/examples/
Dxusb.c320 uint8_t cdb_len; in send_mass_storage_command() local
333 cdb_len = cdb_length[cdb[0]]; in send_mass_storage_command()
334 if ((cdb_len == 0) || (cdb_len > sizeof(cbw.CBWCB))) { in send_mass_storage_command()
336 cdb[0], cdb_len); in send_mass_storage_command()
351 cbw.bCBWCBLength = cdb_len; in send_mass_storage_command()
352 memcpy(cbw.CBWCB, cdb, cdb_len); in send_mass_storage_command()
368 printf(" sent %d CDB bytes\n", cdb_len); in send_mass_storage_command()
/third_party/f2fs-tools/tools/sg_write_buffer/
Dsg_cmds_extra.c1724 sg_ll_ata_pt(int sg_fd, const unsigned char * cdbp, int cdb_len, in sg_ll_ata_pt() argument
1742 switch (cdb_len) { in sg_ll_ata_pt()
1781 if (cdb_len < 32) { in sg_ll_ata_pt()
1782 for (k = 0; k < cdb_len; ++k) in sg_ll_ata_pt()
1787 hex2stderr(apt_cdb, cdb_len, -1); in sg_ll_ata_pt()
1792 set_scsi_pt_cdb(ptvp, apt_cdb, cdb_len); in sg_ll_ata_pt()
2434 int k, res, sense_cat, ret, cdb_len, tmout; in sg_ll_pre_fetch_x() local
2449 cdb_len = SEEK10_CMDLEN; in sg_ll_pre_fetch_x()
2462 cdb_len = PRE_FETCH16_CMDLEN; in sg_ll_pre_fetch_x()
2471 cdb_len = PRE_FETCH10_CMDLEN; in sg_ll_pre_fetch_x()
[all …]
Dsg_pt_linux.c519 int cdb_len) in set_scsi_pt_cdb() argument
526 ptp->io_hdr.request_len = cdb_len; in set_scsi_pt_cdb()
/third_party/f2fs-tools/tools/sg_write_buffer/include/
Dsg_pt.h89 int cdb_len);
Dsg_cmds_extra.h45 int sg_ll_ata_pt(int sg_fd, const unsigned char * cdbp, int cdb_len,