Lines Matching defs:buffer
916 unsigned char *buffer;
929 * a bounce buffer and move the data a piece at a time between the
930 * bounce buffer and the actual transfer buffer.
931 * We make this buffer big enough to hold temporary redundancy data,
936 buffer = kmalloc(len, GFP_NOIO);
937 if (!buffer)
982 memset(buffer, 0, len);
987 result = alauda_read_block(us, pba, page, pages, buffer);
992 /* Store the data in the transfer buffer */
993 usb_stor_access_xfer_buf(buffer, len, us->srb,
1001 kfree(buffer);
1011 unsigned char *buffer, *blockbuffer;
1023 * we have to create a bounce buffer and move the data a piece
1024 * at a time between the bounce buffer and the actual transfer buffer.
1028 buffer = kmalloc(len, GFP_NOIO);
1029 if (!buffer)
1033 * We also need a temporary block buffer, where we read in the old data,
1038 kfree(buffer);
1064 /* Get the data from the transfer buffer */
1065 usb_stor_access_xfer_buf(buffer, len, us->srb,
1068 result = alauda_write_lba(us, lba, page, pages, buffer,
1078 kfree(buffer);