Lines Matching defs:length
35 static void pdump(struct us_data *us, void *ibuffer, int length);
228 int length;
333 /* Find the length we desire to read. */
339 length = le16_to_cpu(fst->Count);
342 length = scsi_bufflen(srb);
346 if (length > scsi_bufflen(srb)) {
347 length = scsi_bufflen(srb);
348 usb_stor_dbg(us, "Truncating request to match buffer length: %d\n",
349 length);
359 /* catch bogus "read 0 length" case */
360 if (!length)
370 result = freecom_readdata (srb, us, ipipe, opipe, length);
393 /* catch bogus "write 0 length" case */
394 if (!length)
401 result = freecom_writedata (srb, us, ipipe, opipe, length);
490 static void pdump(struct us_data *us, void *ibuffer, int length)
499 for (i = 0; i < length; i++) {
521 from = (length - 1) % 16;
522 base = ((length - 1) / 16) * 16;