Lines Matching defs:buffer
45 ssize_t bchlib_write(void *handle, const char *buffer, loff_t offset, size_t len)
77 /* Read the full sector into the sector buffer */
85 /* Copy the tail end of the sector from the user buffer */
96 ret = LOS_CopyToKernel(&bch->buffer[sectoffset], nbytes, buffer, nbytes);
114 buffer += nbytes;
119 * directly from the user buffer.
141 ret = los_disk_write(bch->disk->disk_id, (const void *)buffer,
160 buffer += nbytes;
168 /* Read the sector into the sector buffer */
176 /* Copy the head end of the sector from the user buffer */
178 ret = LOS_CopyToKernel(bch->buffer, len, buffer, len);