Searched defs:cmnd_size (Results 1 - 3 of 3) sorted by relevance

/drivers/scsi/
H A Dscsi_error.c671 * @cmnd_size: size in bytes of @cmnd (must be <= BLK_MAX_CDB)
681 unsigned char *cmnd, int cmnd_size, unsigned sense_bytes)
721 BUG_ON(cmnd_size > BLK_MAX_CDB);
722 memcpy(scmd->cmnd, cmnd, cmnd_size);
768 * @cmnd_size: size in bytes of @cmnd
779 int cmnd_size, int timeout, unsigned sense_bytes)
789 scsi_eh_prep_cmnd(scmd, &ses, cmnd, cmnd_size, sense_bytes);
839 rtn = sdrv->eh_action(scmd, cmnd, cmnd_size, rtn);
680 scsi_eh_prep_cmnd(struct scsi_cmnd *scmd, struct scsi_eh_save *ses, unsigned char *cmnd, int cmnd_size, unsigned sense_bytes) argument
778 scsi_send_eh_cmnd(struct scsi_cmnd *scmd, unsigned char *cmnd, int cmnd_size, int timeout, unsigned sense_bytes) argument
/drivers/usb/gadget/
H A Df_mass_storage.c366 int cmnd_size; member in struct:fsg_common
1800 static int check_command(struct fsg_common *common, int cmnd_size, argument
1815 name, cmnd_size, dirletter[(int) data_dir],
1816 common->data_size_from_cmnd, common->cmnd_size, hdlen);
1843 if (cmnd_size != common->cmnd_size) {
1858 if (cmnd_size <= common->cmnd_size) {
1861 cmnd_size, common->cmnd_size);
1929 check_command_size_in_blocks(struct fsg_common *common, int cmnd_size, enum data_direction data_dir, unsigned int mask, int needs_medium, const char *name) argument
[all...]
H A Dfile_storage.c469 int cmnd_size; member in struct:fsg_dev
2209 static int check_command(struct fsg_dev *fsg, int cmnd_size, argument
2219 /* Adjust the expected cmnd_size for protocol encapsulation padding.
2227 if (fsg->cmnd_size == 12)
2228 cmnd_size = 12;
2232 cmnd_size = 12;
2239 name, cmnd_size, dirletter[(int) data_dir],
2240 fsg->data_size_from_cmnd, fsg->cmnd_size, hdlen);
2269 if (cmnd_size != fsg->cmnd_size) {
2353 check_command_size_in_blocks(struct fsg_dev *fsg, int cmnd_size, enum data_direction data_dir, unsigned int mask, int needs_medium, const char *name) argument
[all...]

Completed in 81 milliseconds