Lines Matching refs:buf
55 char __user *buf,
123 left = __copy_to_user(buf+copied, xip_mem+offset, nr);
125 left = __clear_user(buf + copied, nr);
147 xip_file_read(struct file *filp, char __user *buf, size_t len, loff_t *ppos)
149 if (!access_ok(VERIFY_WRITE, buf, len))
153 buf, len, ppos);
324 __xip_file_write(struct file *filp, const char __user *buf,
366 __copy_from_user_nocache(xip_mem + offset, buf, bytes);
375 buf += status;
398 xip_file_write(struct file *filp, const char __user *buf, size_t len,
409 if (!access_ok(VERIFY_READ, buf, len)) {
434 ret = __xip_file_write (filp, buf, count, pos, ppos);