Searched refs:ubuf (Results 1 – 7 of 7) sorted by relevance
/fs/ |
D | compat.c | 140 static int cp_compat_stat(struct kstat *stat, struct compat_stat __user *ubuf) in cp_compat_stat() argument 143 typeof(ubuf->st_uid) uid = 0; in cp_compat_stat() 144 typeof(ubuf->st_gid) gid = 0; in cp_compat_stat() 157 if (clear_user(ubuf, sizeof(*ubuf))) in cp_compat_stat() 160 err = __put_user(old_encode_dev(stat->dev), &ubuf->st_dev); in cp_compat_stat() 161 err |= __put_user(ino, &ubuf->st_ino); in cp_compat_stat() 162 err |= __put_user(stat->mode, &ubuf->st_mode); in cp_compat_stat() 163 err |= __put_user(stat->nlink, &ubuf->st_nlink); in cp_compat_stat() 164 err |= __put_user(uid, &ubuf->st_uid); in cp_compat_stat() 165 err |= __put_user(gid, &ubuf->st_gid); in cp_compat_stat() [all …]
|
D | super.c | 565 SYSCALL_DEFINE2(ustat, unsigned, dev, struct ustat __user *, ubuf) in SYSCALL_DEFINE2() argument 584 err = copy_to_user(ubuf,&tmp,sizeof(struct ustat)) ? -EFAULT : 0; in SYSCALL_DEFINE2()
|
/fs/xfs/linux-2.6/ |
D | xfs_ioctl.h | 49 char __user *ubuf, 57 const char __user *ubuf,
|
D | xfs_ioctl.c | 468 char __user *ubuf, in xfs_attrmulti_attr_get() argument 485 if (copy_to_user(ubuf, kbuf, *len)) in xfs_attrmulti_attr_get() 497 const char __user *ubuf, in xfs_attrmulti_attr_set() argument 513 if (copy_from_user(kbuf, ubuf, len)) in xfs_attrmulti_attr_set()
|
/fs/smbfs/ |
D | sock.c | 38 _recvfrom(struct socket *socket, unsigned char *ubuf, int size, unsigned flags) in _recvfrom() argument 40 struct kvec iov = {ubuf, size}; in _recvfrom()
|
/fs/cifs/ |
D | cifsproto.h | 291 const char *buf, const char __user *ubuf,
|
D | cifssmb.c | 1511 const char __user *ubuf, const int long_op) in CIFSSMBWrite() argument 1569 else if (ubuf) { in CIFSSMBWrite() 1570 if (copy_from_user(pSMB->Data, ubuf, bytes_sent)) { in CIFSSMBWrite()
|