Searched refs:ubuf (Results 1 – 8 of 8) sorted by relevance
/fs/ |
D | statfs.c | 246 SYSCALL_DEFINE2(ustat, unsigned, dev, struct ustat __user *, ubuf) in SYSCALL_DEFINE2() argument 258 return copy_to_user(ubuf, &tmp, sizeof(struct ustat)) ? -EFAULT : 0; in SYSCALL_DEFINE2() 262 static int put_compat_statfs(struct compat_statfs __user *ubuf, struct kstatfs *kbuf) in put_compat_statfs() argument 265 if (sizeof ubuf->f_blocks == 4) { in put_compat_statfs() 291 if (copy_to_user(ubuf, &buf, sizeof(struct compat_statfs))) in put_compat_statfs() 318 static int put_compat_statfs64(struct compat_statfs64 __user *ubuf, struct kstatfs *kbuf) in put_compat_statfs64() argument 338 if (copy_to_user(ubuf, &buf, sizeof(struct compat_statfs64))) in put_compat_statfs64()
|
D | io_uring.c | 159 u64 ubuf; member 1191 if (buf_addr < imu->ubuf || buf_addr + len > imu->ubuf + imu->len) in io_import_fixed() 1198 offset = buf_addr - imu->ubuf; in io_import_fixed() 3420 unsigned long off, start, end, ubuf; in io_sqe_buffer_register() local 3442 ubuf = (unsigned long) iov.iov_base; in io_sqe_buffer_register() 3443 end = (ubuf + iov.iov_len + PAGE_SIZE - 1) >> PAGE_SHIFT; in io_sqe_buffer_register() 3444 start = ubuf >> PAGE_SHIFT; in io_sqe_buffer_register() 3482 pret = get_user_pages(ubuf, nr_pages, in io_sqe_buffer_register() 3513 off = ubuf & ~PAGE_MASK; in io_sqe_buffer_register() 3526 imu->ubuf = ubuf; in io_sqe_buffer_register()
|
D | stat.c | 592 static int cp_compat_stat(struct kstat *stat, struct compat_stat __user *ubuf) in cp_compat_stat() argument 622 return copy_to_user(ubuf, &tmp, sizeof(tmp)) ? -EFAULT : 0; in cp_compat_stat()
|
/fs/xfs/ |
D | xfs_ioctl.h | 38 unsigned char __user *ubuf, 46 const unsigned char __user *ubuf,
|
D | xfs_ioctl.c | 428 unsigned char __user *ubuf, in xfs_attrmulti_attr_get() argument 445 if (copy_to_user(ubuf, kbuf, *len)) in xfs_attrmulti_attr_get() 457 const unsigned char __user *ubuf, in xfs_attrmulti_attr_set() argument 469 kbuf = memdup_user(ubuf, len); in xfs_attrmulti_attr_set()
|
/fs/orangefs/ |
D | orangefs-debugfs.c | 359 char __user *ubuf, in orangefs_debug_read() argument 377 read_ret = simple_read_from_buffer(ubuf, count, ppos, buf, sprintf_ret); in orangefs_debug_read() 390 const char __user *ubuf, in orangefs_debug_write() argument 422 if (copy_from_user(buf, ubuf, count - 1)) { in orangefs_debug_write()
|
/fs/proc/ |
D | generic.c | 761 ssize_t proc_simple_write(struct file *f, const char __user *ubuf, size_t size, in proc_simple_write() argument 772 buf = memdup_user_nul(ubuf, size); in proc_simple_write()
|
/fs/btrfs/ |
D | ioctl.c | 2034 char __user *ubuf, in copy_to_sk() argument 2095 if (copy_to_user(ubuf + *sk_offset, &sh, sizeof(sh))) { in copy_to_sk() 2103 char __user *up = ubuf + *sk_offset; in copy_to_sk() 2157 char __user *ubuf) in search_ioctl() argument 2201 ret = copy_to_sk(path, &key, sk, buf_size, ubuf, in search_ioctl()
|