Searched refs:cmnd_size (Results 1 – 3 of 3) sorted by relevance
/drivers/usb/gadget/function/ |
D | f_mass_storage.c | 279 int cmnd_size; member 1688 static int check_command(struct fsg_common *common, int cmnd_size, in check_command() argument 1703 name, cmnd_size, dirletter[(int) data_dir], in check_command() 1704 common->data_size_from_cmnd, common->cmnd_size, hdlen); in check_command() 1731 if (cmnd_size != common->cmnd_size) { in check_command() 1746 if (cmnd_size <= common->cmnd_size) { in check_command() 1749 cmnd_size, common->cmnd_size); in check_command() 1750 cmnd_size = common->cmnd_size; in check_command() 1798 for (i = 1; i < cmnd_size; ++i) { in check_command() 1818 int cmnd_size, enum data_direction data_dir, in check_command_size_in_blocks() argument [all …]
|
D | storage_common.h | 58 16, 1, (fsg)->cmnd, (fsg)->cmnd_size, 0) \
|
/drivers/scsi/ |
D | scsi_error.c | 904 unsigned char *cmnd, int cmnd_size, unsigned sense_bytes) in scsi_eh_prep_cmnd() argument 946 BUG_ON(cmnd_size > BLK_MAX_CDB); in scsi_eh_prep_cmnd() 947 memcpy(scmd->cmnd, cmnd, cmnd_size); in scsi_eh_prep_cmnd() 1004 int cmnd_size, int timeout, unsigned sense_bytes) in scsi_send_eh_cmnd() argument 1015 scsi_eh_prep_cmnd(scmd, &ses, cmnd, cmnd_size, sense_bytes); in scsi_send_eh_cmnd()
|