Home
last modified time | relevance | path

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

/drivers/usb/gadget/
Dfile_storage.c469 int cmnd_size; member
2209 static int check_command(struct fsg_dev *fsg, int cmnd_size, in check_command() argument
2227 if (fsg->cmnd_size == 12) in check_command()
2228 cmnd_size = 12; in check_command()
2232 cmnd_size = 12; in check_command()
2239 name, cmnd_size, dirletter[(int) data_dir], in check_command()
2240 fsg->data_size_from_cmnd, fsg->cmnd_size, hdlen); in check_command()
2269 if (cmnd_size != fsg->cmnd_size) { in check_command()
2283 if (cmnd_size <= fsg->cmnd_size) { in check_command()
2286 cmnd_size, fsg->cmnd_size); in check_command()
[all …]
Df_mass_storage.c366 int cmnd_size; member
1802 static int check_command(struct fsg_common *common, int cmnd_size, in check_command() argument
1817 name, cmnd_size, dirletter[(int) data_dir], in check_command()
1818 common->data_size_from_cmnd, common->cmnd_size, hdlen); in check_command()
1845 if (cmnd_size != common->cmnd_size) { in check_command()
1860 if (cmnd_size <= common->cmnd_size) { in check_command()
1863 cmnd_size, common->cmnd_size); in check_command()
1864 cmnd_size = common->cmnd_size; in check_command()
1912 for (i = 1; i < cmnd_size; ++i) { in check_command()
1932 int cmnd_size, enum data_direction data_dir, in check_command_size_in_blocks() argument
[all …]
Dstorage_common.c138 16, 1, (fsg)->cmnd, (fsg)->cmnd_size, 0) \
/drivers/scsi/
Dscsi_error.c691 unsigned char *cmnd, int cmnd_size, unsigned sense_bytes) in scsi_eh_prep_cmnd() argument
731 BUG_ON(cmnd_size > BLK_MAX_CDB); in scsi_eh_prep_cmnd()
732 memcpy(scmd->cmnd, cmnd, cmnd_size); in scsi_eh_prep_cmnd()
789 int cmnd_size, int timeout, unsigned sense_bytes) in scsi_send_eh_cmnd() argument
799 scsi_eh_prep_cmnd(scmd, &ses, cmnd, cmnd_size, sense_bytes); in scsi_send_eh_cmnd()
849 rtn = sdrv->eh_action(scmd, cmnd, cmnd_size, rtn); in scsi_send_eh_cmnd()