Home
last modified time | relevance | path

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

/drivers/usb/gadget/
Dfile_storage.c694 int cmnd_size; member
772 16, 1, fsg->cmnd, fsg->cmnd_size, 0); in dump_cdb()
2695 static int check_command(struct fsg_dev *fsg, int cmnd_size, in check_command() argument
2713 if (fsg->cmnd_size == 12) in check_command()
2714 cmnd_size = 12; in check_command()
2718 cmnd_size = 12; in check_command()
2725 name, cmnd_size, dirletter[(int) data_dir], in check_command()
2726 fsg->data_size_from_cmnd, fsg->cmnd_size, hdlen); in check_command()
2755 if (cmnd_size != fsg->cmnd_size) { in check_command()
2769 if (cmnd_size <= fsg->cmnd_size) { in check_command()
[all …]
Df_mass_storage.c346 int cmnd_size; member
427 16, 1, fsg->cmnd, fsg->cmnd_size, 0); in dump_cdb()
1682 static int check_command(struct fsg_dev *fsg, int cmnd_size, in check_command() argument
1697 name, cmnd_size, dirletter[(int) data_dir], in check_command()
1698 fsg->data_size_from_cmnd, fsg->cmnd_size, hdlen); in check_command()
1729 if (cmnd_size != fsg->cmnd_size) { in check_command()
1733 if (fsg->cmnd[0] == SC_REQUEST_SENSE && fsg->cmnd_size == 12) in check_command()
1734 cmnd_size = fsg->cmnd_size; in check_command()
1780 for (i = 1; i < cmnd_size; ++i) { in check_command()
1992 if ((reply = check_command(fsg, fsg->cmnd_size, in do_scsi_command()
[all …]
/drivers/scsi/
Dscsi_error.c581 unsigned char *cmnd, int cmnd_size, unsigned sense_bytes) in scsi_eh_prep_cmnd() argument
621 BUG_ON(cmnd_size > BLK_MAX_CDB); in scsi_eh_prep_cmnd()
622 memcpy(scmd->cmnd, cmnd, cmnd_size); in scsi_eh_prep_cmnd()
679 int cmnd_size, int timeout, unsigned sense_bytes) in scsi_send_eh_cmnd() argument
689 scsi_eh_prep_cmnd(scmd, &ses, cmnd, cmnd_size, sense_bytes); in scsi_send_eh_cmnd()