Lines Matching defs:buffer
141 unsigned char *buffer;
165 // a bounce buffer and move the data a piece at a time between the
166 // bounce buffer and the actual transfer buffer.
169 buffer = kmalloc(alloclen, GFP_NOIO);
170 if (buffer == NULL)
197 result = datafab_bulk_read(us, buffer, len);
201 // Store the data in the transfer buffer
202 usb_stor_access_xfer_buf(buffer, len, us->srb,
209 kfree(buffer);
213 kfree(buffer);
225 unsigned char *buffer;
249 // a bounce buffer and move the data a piece at a time between the
250 // bounce buffer and the actual transfer buffer.
253 buffer = kmalloc(alloclen, GFP_NOIO);
254 if (buffer == NULL)
264 // Get the data from the transfer buffer
265 usb_stor_access_xfer_buf(buffer, len, us->srb,
285 result = datafab_bulk_write(us, buffer, len);
305 kfree(buffer);
309 kfree(buffer);