Searched refs:lendesc (Results 1 – 1 of 1) sorted by relevance
2027 int len, lendata, lendesc; in ctl_populate_token() local2067 lendesc = scsi_2btoul(data->range_descriptor_length); in ctl_populate_token()2068 if (lendesc < sizeof(struct scsi_range_desc) || in ctl_populate_token()2069 len < sizeof(struct scsi_populate_token_data) + lendesc || in ctl_populate_token()2070 lendata < sizeof(struct scsi_populate_token_data) - 2 + lendesc) { in ctl_populate_token()2190 int len, lendata, lendesc; in ctl_write_using_token() local2230 lendesc = scsi_2btoul(data->range_descriptor_length); in ctl_write_using_token()2231 if (lendesc < sizeof(struct scsi_range_desc) || in ctl_write_using_token()2232 len < sizeof(struct scsi_write_using_token_data) + lendesc || in ctl_write_using_token()2233 lendata < sizeof(struct scsi_write_using_token_data) - 2 + lendesc) { in ctl_write_using_token()