Lines Matching refs:buffer
119 * some arbitrary status buffer size;
120 * need a status buffer that is allocated via kmalloc(), not on stack
742 static ssize_t usblp_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos)
771 buffer + writecount, transfer_length)) {
841 static ssize_t usblp_read(struct file *file, char __user *buffer, size_t len, loff_t *ppos)
870 copy_to_user(buffer, usblp->readbuf + usblp->readcount, count)) {
893 * Our write path has a peculiar property: it does not buffer like a tty,
897 * select(2) or poll(2) to wait for the buffer to drain before closing.
1065 * buffer. For example if you make sure you never request the device ID
1150 /* Malloc device ID string buffer to the largest expected length,
1159 * Allocate read buffer. We somewhat wastefully
1168 /* Allocate buffer for printer status */
1378 * the user's buffer. */