Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/usb/gadget/function/
Df_mass_storage.c283 int cmnd_size; member
1650 static int check_command(struct fsg_common *common, int cmnd_size, in check_command() argument
1665 name, cmnd_size, dirletter[(int) data_dir], in check_command()
1666 common->data_size_from_cmnd, common->cmnd_size, hdlen); in check_command()
1693 if (cmnd_size != common->cmnd_size) { in check_command()
1708 if (cmnd_size <= common->cmnd_size) { in check_command()
1711 cmnd_size, common->cmnd_size); in check_command()
1712 cmnd_size = common->cmnd_size; in check_command()
1760 for (i = 1; i < cmnd_size; ++i) { in check_command()
1780 int cmnd_size, enum data_direction data_dir, in check_command_size_in_blocks() argument
[all …]
Dstorage_common.h59 16, 1, (fsg)->cmnd, (fsg)->cmnd_size, 0) \
/Linux-v4.19/include/scsi/
Dscsi_eh.h50 int cmnd_size, unsigned sense_bytes);
/Linux-v4.19/drivers/scsi/
Dscsi_error.c956 unsigned char *cmnd, int cmnd_size, unsigned sense_bytes) in scsi_eh_prep_cmnd() argument
999 BUG_ON(cmnd_size > BLK_MAX_CDB); in scsi_eh_prep_cmnd()
1000 memcpy(scmd->cmnd, cmnd, cmnd_size); in scsi_eh_prep_cmnd()
1058 int cmnd_size, int timeout, unsigned sense_bytes) in scsi_send_eh_cmnd() argument
1069 scsi_eh_prep_cmnd(scmd, &ses, cmnd, cmnd_size, sense_bytes); in scsi_send_eh_cmnd()