Home
last modified time | relevance | path

Searched refs:ubuf (Results 1 – 7 of 7) sorted by relevance

/fs/
Dcompat.c129 static int cp_compat_stat(struct kstat *stat, struct compat_stat __user *ubuf) in cp_compat_stat() argument
159 return copy_to_user(ubuf, &tmp, sizeof(tmp)) ? -EFAULT : 0; in cp_compat_stat()
212 static int put_compat_statfs(struct compat_statfs __user *ubuf, struct kstatfs *kbuf) in put_compat_statfs() argument
215 if (sizeof ubuf->f_blocks == 4) { in put_compat_statfs()
228 if (!access_ok(VERIFY_WRITE, ubuf, sizeof(*ubuf)) || in put_compat_statfs()
229 __put_user(kbuf->f_type, &ubuf->f_type) || in put_compat_statfs()
230 __put_user(kbuf->f_bsize, &ubuf->f_bsize) || in put_compat_statfs()
231 __put_user(kbuf->f_blocks, &ubuf->f_blocks) || in put_compat_statfs()
232 __put_user(kbuf->f_bfree, &ubuf->f_bfree) || in put_compat_statfs()
233 __put_user(kbuf->f_bavail, &ubuf->f_bavail) || in put_compat_statfs()
[all …]
Dstatfs.c228 SYSCALL_DEFINE2(ustat, unsigned, dev, struct ustat __user *, ubuf) in SYSCALL_DEFINE2() argument
240 return copy_to_user(ubuf, &tmp, sizeof(struct ustat)) ? -EFAULT : 0; in SYSCALL_DEFINE2()
/fs/xfs/
Dxfs_ioctl.h53 unsigned char __user *ubuf,
61 const unsigned char __user *ubuf,
Dxfs_ioctl.c458 unsigned char __user *ubuf, in xfs_attrmulti_attr_get() argument
475 if (copy_to_user(ubuf, kbuf, *len)) in xfs_attrmulti_attr_get()
487 const unsigned char __user *ubuf, in xfs_attrmulti_attr_set() argument
499 kbuf = memdup_user(ubuf, len); in xfs_attrmulti_attr_set()
/fs/cifs/
Dcifsproto.h401 const char __user *ubuf, const int long_op);
Dcifssmb.c1812 const char __user *ubuf, const int long_op) in CIFSSMBWrite() argument
1881 else if (ubuf) { in CIFSSMBWrite()
1882 if (copy_from_user(pSMB->Data, ubuf, bytes_sent)) { in CIFSSMBWrite()
/fs/btrfs/
Dioctl.c1960 char __user *ubuf, in copy_to_sk() argument
2026 if (probe_user_write(ubuf + *sk_offset, &sh, sizeof(sh))) { in copy_to_sk()
2034 char __user *up = ubuf + *sk_offset; in copy_to_sk()
2092 char __user *ubuf) in search_ioctl() argument
2132 ret = fault_in_pages_writeable(ubuf + sk_offset, in search_ioctl()
2143 ret = copy_to_sk(root, path, &key, sk, buf_size, ubuf, in search_ioctl()