Home
last modified time | relevance | path

Searched refs:userbuf (Results 1 – 4 of 4) sorted by relevance

/fs/efivarfs/
Dfile.c18 const char __user *userbuf, size_t count, loff_t *ppos) in efivarfs_file_write() argument
31 if (copy_from_user(&attributes, userbuf, sizeof(attributes))) in efivarfs_file_write()
37 data = memdup_user(userbuf + sizeof(attributes), datasize); in efivarfs_file_write()
67 static ssize_t efivarfs_file_read(struct file *file, char __user *userbuf, in efivarfs_file_read() argument
99 size = simple_read_from_buffer(userbuf, count, ppos, in efivarfs_file_read()
/fs/proc/
Dvmcore.c89 u64 *ppos, int userbuf) in read_from_oldmem() argument
112 offset, userbuf); in read_from_oldmem()
170 static int copy_to(void *target, void *src, size_t size, int userbuf) in copy_to() argument
172 if (userbuf) { in copy_to()
185 int userbuf) in __read_vmcore() argument
202 if (copy_to(buffer, elfcorebuf + *fpos, tsz, userbuf)) in __read_vmcore()
220 if (copy_to(buffer, kaddr, tsz, userbuf)) in __read_vmcore()
238 tmp = read_from_oldmem(buffer, tsz, &start, userbuf); in __read_vmcore()
/fs/pstore/
Dinode.c136 static ssize_t pstore_file_read(struct file *file, char __user *userbuf, in pstore_file_read() argument
143 return seq_read(file, userbuf, count, ppos); in pstore_file_read()
144 return simple_read_from_buffer(userbuf, count, ppos, ps->data, ps->size); in pstore_file_read()
/fs/dlm/
Ddebug_fs.c701 static ssize_t waiters_read(struct file *file, char __user *userbuf, in waiters_read() argument
722 rv = simple_read_from_buffer(userbuf, count, ppos, debug_buf, pos); in waiters_read()