Lines Matching defs:buffer
737 void* buffer,
759 result = usbat_bulk_read(us, buffer, len, use_sg);
779 void* buffer,
801 result = usbat_bulk_write(us, buffer, len, use_sg);
1122 unsigned char *buffer;
1147 * a bounce buffer and move the data a piece at a time between the
1148 * bounce buffer and the actual transfer buffer.
1152 buffer = kmalloc(alloclen, GFP_NOIO);
1153 if (buffer == NULL)
1173 result = usbat_read_blocks(us, buffer, len, 0);
1179 /* Store the data in the transfer buffer */
1180 usb_stor_access_xfer_buf(buffer, len, us->srb,
1187 kfree(buffer);
1191 kfree(buffer);
1213 unsigned char *buffer;
1238 * a bounce buffer and move the data a piece at a time between the
1239 * bounce buffer and the actual transfer buffer.
1243 buffer = kmalloc(alloclen, GFP_NOIO);
1244 if (buffer == NULL)
1255 /* Get the data from the transfer buffer */
1256 usb_stor_access_xfer_buf(buffer, len, us->srb,
1268 result = usbat_write_blocks(us, buffer, len, 0);
1276 kfree(buffer);
1280 kfree(buffer);
1294 unsigned char *buffer;
1339 * a bounce buffer and move the data a piece at a time between the
1340 * bounce buffer and the actual transfer buffer.
1346 buffer = kmalloc(len, GFP_NOIO);
1347 if (buffer == NULL) /* bloody hell! */
1378 buffer,
1384 /* Store the data in the transfer buffer */
1385 usb_stor_access_xfer_buf(buffer, len, srb,
1395 kfree(buffer);