Lines Matching defs:buffer
159 unsigned char *buffer;
177 // a bounce buffer and move the data a piece at a time between the
178 // bounce buffer and the actual transfer buffer.
181 buffer = kmalloc(alloclen, GFP_NOIO);
182 if (buffer == NULL)
207 result = jumpshot_bulk_read(us, buffer, len);
213 // Store the data in the transfer buffer
214 usb_stor_access_xfer_buf(buffer, len, us->srb,
221 kfree(buffer);
225 kfree(buffer);
236 unsigned char *buffer;
254 // a bounce buffer and move the data a piece at a time between the
255 // bounce buffer and the actual transfer buffer.
258 buffer = kmalloc(alloclen, GFP_NOIO);
259 if (buffer == NULL)
269 // Get the data from the transfer buffer
270 usb_stor_access_xfer_buf(buffer, len, us->srb,
289 result = jumpshot_bulk_write(us, buffer, len);
313 kfree(buffer);
317 kfree(buffer);