Lines Matching defs:buffer
632 * This reads several pages from the card to a single memory buffer.
737 unsigned char *buffer;
752 // a bounce buffer and move the data a piece at a time between the
753 // bounce buffer and the actual transfer buffer.
756 buffer = kmalloc(len, GFP_NOIO);
757 if (!buffer)
796 memset(buffer, 0, len);
806 pages, info->pageshift, buffer, 0);
811 // Store the data in the transfer buffer
812 usb_stor_access_xfer_buf(buffer, len, us->srb,
820 kfree(buffer);
966 unsigned char *buffer;
996 * we have to create a bounce buffer and move the data a piece
997 * at a time between the bounce buffer and the actual transfer buffer.
1001 buffer = kmalloc(len, GFP_NOIO);
1002 if (!buffer) {
1026 /* Get the data from the transfer buffer */
1027 usb_stor_access_xfer_buf(buffer, len, us->srb,
1031 buffer, blockbuffer);
1040 kfree(buffer);
1202 unsigned char *buffer, *buffer_end, *ptr;
1217 * but only use a 64 KB buffer
1218 * buffer size used must be a multiple of (1 << CONTROL_SHIFT)
1224 buffer = kmalloc(alloc_len, GFP_NOIO);
1225 if (!buffer) {
1229 buffer_end = buffer + alloc_len;
1261 buffer, 0);
1266 ptr = buffer;
1395 kfree(buffer);