• Home
  • Raw
  • Download

Lines Matching refs:ubuf

70 static int cp_stat64(struct stat64 __user *ubuf, struct kstat *stat)  in cp_stat64()  argument
72 typeof(ubuf->st_uid) uid = 0; in cp_stat64()
73 typeof(ubuf->st_gid) gid = 0; in cp_stat64()
76 if (!access_ok(VERIFY_WRITE, ubuf, sizeof(struct stat64)) || in cp_stat64()
77 __put_user(huge_encode_dev(stat->dev), &ubuf->st_dev) || in cp_stat64()
78 __put_user(stat->ino, &ubuf->__st_ino) || in cp_stat64()
79 __put_user(stat->ino, &ubuf->st_ino) || in cp_stat64()
80 __put_user(stat->mode, &ubuf->st_mode) || in cp_stat64()
81 __put_user(stat->nlink, &ubuf->st_nlink) || in cp_stat64()
82 __put_user(uid, &ubuf->st_uid) || in cp_stat64()
83 __put_user(gid, &ubuf->st_gid) || in cp_stat64()
84 __put_user(huge_encode_dev(stat->rdev), &ubuf->st_rdev) || in cp_stat64()
85 __put_user(stat->size, &ubuf->st_size) || in cp_stat64()
86 __put_user(stat->atime.tv_sec, &ubuf->st_atime) || in cp_stat64()
87 __put_user(stat->atime.tv_nsec, &ubuf->st_atime_nsec) || in cp_stat64()
88 __put_user(stat->mtime.tv_sec, &ubuf->st_mtime) || in cp_stat64()
89 __put_user(stat->mtime.tv_nsec, &ubuf->st_mtime_nsec) || in cp_stat64()
90 __put_user(stat->ctime.tv_sec, &ubuf->st_ctime) || in cp_stat64()
91 __put_user(stat->ctime.tv_nsec, &ubuf->st_ctime_nsec) || in cp_stat64()
92 __put_user(stat->blksize, &ubuf->st_blksize) || in cp_stat64()
93 __put_user(stat->blocks, &ubuf->st_blocks)) in cp_stat64()
176 asmlinkage long sys32_pread(unsigned int fd, char __user *ubuf, u32 count, in sys32_pread() argument
179 return sys_pread64(fd, ubuf, count, in sys32_pread()
183 asmlinkage long sys32_pwrite(unsigned int fd, const char __user *ubuf, in sys32_pwrite() argument
186 return sys_pwrite64(fd, ubuf, count, in sys32_pwrite()