Home
last modified time | relevance | path

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

/fs/
Dcompat.c140 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 …]
Dsuper.c565 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/
Dxfs_ioctl.h49 char __user *ubuf,
57 const char __user *ubuf,
Dxfs_ioctl.c468 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/
Dsock.c38 _recvfrom(struct socket *socket, unsigned char *ubuf, int size, unsigned flags) in _recvfrom() argument
40 struct kvec iov = {ubuf, size}; in _recvfrom()
/fs/cifs/
Dcifsproto.h291 const char *buf, const char __user *ubuf,
Dcifssmb.c1511 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()