Searched refs:userbuf (Results 1 – 4 of 4) sorted by relevance
/fs/efivarfs/ |
D | file.c | 16 const char __user *userbuf, size_t count, loff_t *ppos) in efivarfs_file_write() argument 29 if (copy_from_user(&attributes, userbuf, sizeof(attributes))) in efivarfs_file_write() 35 data = memdup_user(userbuf + sizeof(attributes), datasize); in efivarfs_file_write() 65 static ssize_t efivarfs_file_read(struct file *file, char __user *userbuf, in efivarfs_file_read() argument 102 size = simple_read_from_buffer(userbuf, count, ppos, in efivarfs_file_read()
|
/fs/proc/ |
D | vmcore.c | 108 u64 *ppos, int userbuf, in read_from_oldmem() argument 130 if (!userbuf) in read_from_oldmem() 139 userbuf); in read_from_oldmem() 142 offset, userbuf); in read_from_oldmem() 204 unsigned long offset, int userbuf) in copy_oldmem_page_encrypted() argument 206 return copy_oldmem_page(pfn, buf, csize, offset, userbuf); in copy_oldmem_page_encrypted() 212 static int copy_to(void *target, void *src, size_t size, int userbuf) in copy_to() argument 214 if (userbuf) { in copy_to() 224 static int vmcoredd_copy_dumps(void *dst, u64 start, size_t size, int userbuf) in vmcoredd_copy_dumps() argument 237 if (copy_to(dst, buf, tsz, userbuf)) { in vmcoredd_copy_dumps() [all …]
|
/fs/pstore/ |
D | inode.c | 125 static ssize_t pstore_file_read(struct file *file, char __user *userbuf, in pstore_file_read() argument 132 return seq_read(file, userbuf, count, ppos); in pstore_file_read() 133 return simple_read_from_buffer(userbuf, count, ppos, in pstore_file_read()
|
/fs/dlm/ |
D | debug_fs.c | 699 static ssize_t waiters_read(struct file *file, char __user *userbuf, in waiters_read() argument 720 rv = simple_read_from_buffer(userbuf, count, ppos, debug_buf, pos); in waiters_read()
|