/fs/ |
D | compat.c | 80 asmlinkage long compat_sys_utime(char __user *filename, struct compat_utimbuf __user *t) in compat_sys_utime() 94 …age long compat_sys_utimensat(unsigned int dfd, char __user *filename, struct compat_timespec __us… in compat_sys_utimensat() 116 …age long compat_sys_futimesat(unsigned int dfd, char __user *filename, struct compat_timeval __use… in compat_sys_futimesat() 135 asmlinkage long compat_sys_utimes(char __user *filename, struct compat_timeval __user *t) in compat_sys_utimes() 140 static int cp_compat_stat(struct kstat *stat, struct compat_stat __user *ubuf) in cp_compat_stat() 179 asmlinkage long compat_sys_newstat(char __user * filename, in compat_sys_newstat() 180 struct compat_stat __user *statbuf) in compat_sys_newstat() 190 asmlinkage long compat_sys_newlstat(char __user * filename, in compat_sys_newlstat() 191 struct compat_stat __user *statbuf) in compat_sys_newlstat() 202 asmlinkage long compat_sys_newfstatat(unsigned int dfd, char __user *filename, in compat_sys_newfstatat() [all …]
|
D | stat.c | 58 int vfs_stat_fd(int dfd, char __user *name, struct kstat *stat) in vfs_stat_fd() 71 int vfs_stat(char __user *name, struct kstat *stat) in vfs_stat() 78 int vfs_lstat_fd(int dfd, char __user *name, struct kstat *stat) in vfs_lstat_fd() 91 int vfs_lstat(char __user *name, struct kstat *stat) in vfs_lstat() 118 static int cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * statbuf) in cp_old_stat() 155 SYSCALL_DEFINE2(stat, char __user *, filename, struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument 166 SYSCALL_DEFINE2(lstat, char __user *, filename, struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument 177 SYSCALL_DEFINE2(fstat, unsigned int, fd, struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument 190 static int cp_new_stat(struct kstat *stat, struct stat __user *statbuf) in cp_new_stat() 240 SYSCALL_DEFINE2(newstat, char __user *, filename, struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument [all …]
|
D | xattr.c | 221 setxattr(struct dentry *d, const char __user *name, const void __user *value, in setxattr() 254 SYSCALL_DEFINE5(setxattr, const char __user *, pathname, in SYSCALL_DEFINE5() argument 255 const char __user *, name, const void __user *, value, in SYSCALL_DEFINE5() argument 273 SYSCALL_DEFINE5(lsetxattr, const char __user *, pathname, in SYSCALL_DEFINE5() argument 274 const char __user *, name, const void __user *, value, in SYSCALL_DEFINE5() argument 292 SYSCALL_DEFINE5(fsetxattr, int, fd, const char __user *, name, in SYSCALL_DEFINE5() argument 293 const void __user *,value, size_t, size, int, flags) in SYSCALL_DEFINE5() argument 317 getxattr(struct dentry *d, const char __user *name, void __user *value, in getxattr() 351 SYSCALL_DEFINE4(getxattr, const char __user *, pathname, in SYSCALL_DEFINE4() argument 352 const char __user *, name, void __user *, value, size_t, size) in SYSCALL_DEFINE4() argument [all …]
|
D | readdir.c | 57 #define NAME_OFFSET(de) ((int) ((de)->d_name - (char __user *) (de))) 69 struct old_linux_dirent __user * dirent; 77 struct old_linux_dirent __user * dirent; in fillonedir() 106 struct old_linux_dirent __user *, dirent, unsigned int, count) in SYSCALL_DEFINE3() argument 143 struct linux_dirent __user * current_dir; 144 struct linux_dirent __user * previous; 152 struct linux_dirent __user * dirent; in filldir() 179 if (__put_user(d_type, (char __user *) dirent + reclen - 1)) in filldir() 182 dirent = (void __user *)dirent + reclen; in filldir() 192 struct linux_dirent __user *, dirent, unsigned int, count) in SYSCALL_DEFINE3() argument [all …]
|
D | compat_ioctl.c | 132 if (!err && put_user(val, (u32 __user *)compat_ptr(arg))) in w_long() 140 u32 __user *argptr = compat_ptr(arg); in rw_long() 174 struct compat_video_event __user *up = compat_ptr(arg); in do_video_get_event() 196 struct compat_video_still_picture __user *up; in do_video_stillpicture() 197 struct video_still_picture __user *up_native; in do_video_stillpicture() 202 up = (struct compat_video_still_picture __user *) arg; in do_video_stillpicture() 228 struct compat_video_spu_palette __user *up; in do_video_set_spu_palette() 229 struct video_spu_palette __user *up_native; in do_video_set_spu_palette() 233 up = (struct compat_video_spu_palette __user *) arg; in do_video_set_spu_palette() 251 struct compat_timeval __user *up = compat_ptr(arg); in do_siocgstamp() [all …]
|
D | select.c | 268 static int poll_select_copy_remaining(struct timespec *end_time, void __user *p, in poll_select_copy_remaining() 485 int core_sys_select(int n, fd_set __user *inp, fd_set __user *outp, in core_sys_select() 486 fd_set __user *exp, struct timespec *end_time) in core_sys_select() 560 SYSCALL_DEFINE5(select, int, n, fd_set __user *, inp, fd_set __user *, outp, in SYSCALL_DEFINE5() argument 561 fd_set __user *, exp, struct timeval __user *, tvp) in SYSCALL_DEFINE5() argument 585 static long do_pselect(int n, fd_set __user *inp, fd_set __user *outp, in do_pselect() 586 fd_set __user *exp, struct timespec __user *tsp, in do_pselect() 587 const sigset_t __user *sigmask, size_t sigsetsize) in do_pselect() 639 SYSCALL_DEFINE6(pselect6, int, n, fd_set __user *, inp, fd_set __user *, outp, in SYSCALL_DEFINE6() argument 640 fd_set __user *, exp, struct timespec __user *, tsp, in SYSCALL_DEFINE6() argument [all …]
|
D | utimes.c | 27 SYSCALL_DEFINE2(utime, char __user *, filename, struct utimbuf __user *, times) in SYSCALL_DEFINE2() argument 129 long do_utimes(int dfd, char __user *filename, struct timespec *times, int flags) in do_utimes() 173 SYSCALL_DEFINE4(utimensat, int, dfd, char __user *, filename, in SYSCALL_DEFINE4() argument 174 struct timespec __user *, utimes, int, flags) in SYSCALL_DEFINE4() argument 191 SYSCALL_DEFINE3(futimesat, int, dfd, char __user *, filename, in SYSCALL_DEFINE3() argument 192 struct timeval __user *, utimes) in SYSCALL_DEFINE3() argument 219 SYSCALL_DEFINE2(utimes, char __user *, filename, in SYSCALL_DEFINE2() argument 220 struct timeval __user *, utimes) in SYSCALL_DEFINE2() argument
|
D | binfmt_aout.c | 125 if (!access_ok(VERIFY_READ, (void __user *)START_DATA(dump), dump.u_dsize << PAGE_SHIFT)) in aout_core_dump() 127 if (!access_ok(VERIFY_READ, (void __user *)START_STACK(dump), dump.u_ssize << PAGE_SHIFT)) in aout_core_dump() 162 static unsigned long __user *create_aout_tables(char __user *p, struct linux_binprm * bprm) in create_aout_tables() 164 char __user * __user *argv; in create_aout_tables() 165 char __user * __user *envp; in create_aout_tables() 166 unsigned long __user *sp; in create_aout_tables() 170 sp = (void __user *)((-(unsigned long)sizeof(char *)) & (unsigned long) p); in create_aout_tables() 185 envp = (char __user * __user *) sp; in create_aout_tables() 187 argv = (char __user * __user *) sp; in create_aout_tables() 301 (char __user *)text_addr, in load_aout_binary() [all …]
|
D | read_write.c | 175 unsigned long, offset_low, loff_t __user *, result, in SYSCALL_DEFINE5() argument 252 ssize_t do_sync_read(struct file *filp, char __user *buf, size_t len, loff_t *ppos) in do_sync_read() 277 ssize_t vfs_read(struct file *file, char __user *buf, size_t count, loff_t *pos) in vfs_read() 307 ssize_t do_sync_write(struct file *filp, const char __user *buf, size_t len, loff_t *ppos) in do_sync_write() 309 struct iovec iov = { .iov_base = (void __user *)buf, .iov_len = len }; in do_sync_write() 332 ssize_t vfs_write(struct file *file, const char __user *buf, size_t count, loff_t *pos) in vfs_write() 372 SYSCALL_DEFINE3(read, unsigned int, fd, char __user *, buf, size_t, count) in SYSCALL_DEFINE3() argument 389 SYSCALL_DEFINE3(write, unsigned int, fd, const char __user *, buf, in SYSCALL_DEFINE3() argument 407 SYSCALL_DEFINE(pread64)(unsigned int fd, char __user *buf, in SYSCALL_DEFINE() 430 return SYSC_pread64((unsigned int) fd, (char __user *) buf, in SyS_pread64() [all …]
|
D | open.c | 125 SYSCALL_DEFINE2(statfs, const char __user *, pathname, struct statfs __user *, buf) in SYSCALL_DEFINE2() argument 141 SYSCALL_DEFINE3(statfs64, const char __user *, pathname, size_t, sz, struct statfs64 __user *, buf) in SYSCALL_DEFINE3() argument 159 SYSCALL_DEFINE2(fstatfs, unsigned int, fd, struct statfs __user *, buf) in SYSCALL_DEFINE2() argument 177 SYSCALL_DEFINE3(fstatfs64, unsigned int, fd, size_t, sz, struct statfs64 __user *, buf) in SYSCALL_DEFINE3() argument 224 static long do_sys_truncate(const char __user *pathname, loff_t length) in do_sys_truncate() 290 SYSCALL_DEFINE2(truncate, const char __user *, path, unsigned long, length) in SYSCALL_DEFINE2() argument 352 SYSCALL_DEFINE(truncate64)(const char __user * path, loff_t length) in SYSCALL_DEFINE() 359 return SYSC_truncate64((const char __user *) path, length); in SyS_truncate64() 450 SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode) in SYSCALL_DEFINE3() argument 520 SYSCALL_DEFINE2(access, const char __user *, filename, int, mode) in SYSCALL_DEFINE2() argument [all …]
|
D | quota.c | 230 static int do_quotactl(struct super_block *sb, int type, int cmd, qid_t id, void __user *addr) in do_quotactl() 344 static inline struct super_block *quotactl_block(const char __user *special) in quotactl_block() 374 SYSCALL_DEFINE4(quotactl, unsigned int, cmd, const char __user *, special, in SYSCALL_DEFINE4() argument 375 qid_t, id, void __user *, addr) in SYSCALL_DEFINE4() argument 437 asmlinkage long sys32_quotactl(unsigned int cmd, const char __user *special, in sys32_quotactl() 438 qid_t id, void __user *addr) in sys32_quotactl() 441 struct if_dqblk __user *dqblk; in sys32_quotactl() 442 struct compat_if_dqblk __user *compat_dqblk; in sys32_quotactl() 443 struct fs_quota_stat __user *fsqstat; in sys32_quotactl() 444 struct compat_fs_quota_stat __user *compat_fsqstat; in sys32_quotactl()
|
D | ioctl.c | 60 static int ioctl_fibmap(struct file *filp, int __user *p) in ioctl_fibmap() 196 if (copy_from_user(&fiemap, (struct fiemap __user *)arg, in ioctl_fiemap() 377 int __user *p = (int __user *)arg; in file_ioctl() 393 static int ioctl_fionbio(struct file *filp, int __user *argp) in ioctl_fionbio() 415 int __user *argp) in ioctl_fioasync() 490 int __user *argp = (int __user *)arg; in do_vfs_ioctl() 521 error = copy_to_user((loff_t __user *)arg, &res, in do_vfs_ioctl()
|
D | signalfd.c | 62 static int signalfd_copyinfo(struct signalfd_siginfo __user *uinfo, in signalfd_copyinfo() 173 static ssize_t signalfd_read(struct file *file, char __user *buf, size_t count, in signalfd_read() 177 struct signalfd_siginfo __user *siginfo; in signalfd_read() 186 siginfo = (struct signalfd_siginfo __user *) buf; in signalfd_read() 208 SYSCALL_DEFINE4(signalfd4, int, ufd, sigset_t __user *, user_mask, in SYSCALL_DEFINE4() argument 262 SYSCALL_DEFINE3(signalfd, int, ufd, sigset_t __user *, user_mask, in SYSCALL_DEFINE3() argument
|
/fs/xfs/ |
D | xfs_itable.h | 28 void __user *buffer, 61 char __user *ubuffer,/* buffer with inode stats */ 69 char __user *buffer, 73 void __user *ubuffer, /* buffer to write to */ 82 void __user *buffer, 94 void __user *buffer, 108 void __user *ubuffer, /* buffer to write to */ 115 void __user *ubuffer, /* buffer to write to */ 125 void __user *buffer, /* buffer with inode info */
|
D | xfs_fs.h | 302 __u64 __user *lastip; /* last inode # pointer */ 304 void __user *ubuffer;/* user buffer for inode desc. */ 305 __s32 __user *ocount; /* output count pointer */ 333 void __user *path; /* user pathname */ 335 void __user *ihandle;/* user supplied handle */ 337 void __user *ohandle;/* user buffer for handle */ 338 __u32 __user *ohandlen;/* user buffer length */ 350 struct fsdmidata __user *data; /* DMAPI data */ 362 void __user *buffer; /* returned names */ 371 void __user *am_attrname; [all …]
|
/fs/proc/ |
D | page.c | 19 static ssize_t kpagecount_read(struct file *file, char __user *buf, in kpagecount_read() 22 u64 __user *out = (u64 __user *)buf; in kpagecount_read() 52 *ppos += (char __user *)out - buf; in kpagecount_read() 54 ret = (char __user *)out - buf; in kpagecount_read() 85 static ssize_t kpageflags_read(struct file *file, char __user *buf, in kpageflags_read() 88 u64 __user *out = (u64 __user *)buf; in kpageflags_read() 130 *ppos += (char __user *)out - buf; in kpageflags_read() 132 ret = (char __user *)out - buf; in kpageflags_read()
|
/fs/xfs/linux-2.6/ |
D | xfs_ioctl32.c | 57 compat_xfs_flock64_t __user *arg32) in xfs_compat_flock64_copyin() 73 compat_xfs_fsop_geom_v1_t __user *arg32) in xfs_compat_ioc_fsgeometry_v1() 90 compat_xfs_growfs_data_t __user *arg32) in xfs_compat_growfs_data_copyin() 101 compat_xfs_growfs_rt_t __user *arg32) in xfs_compat_growfs_rt_copyin() 111 void __user *ubuffer, in xfs_inumbers_fmt_compat() 116 compat_xfs_inogrp_t __user *p32 = ubuffer; in xfs_inumbers_fmt_compat() 136 compat_xfs_bstime_t __user *bstime32) in xfs_ioctl32_bstime_copyin() 151 compat_xfs_bstat_t __user *bstat32) in xfs_ioctl32_bstat_copyin() 181 compat_xfs_bstime_t __user *p32, in xfs_bstime_store_compat() 196 void __user *ubuffer, in xfs_bulkstat_one_fmt_compat() [all …]
|
D | xfs_ioctl.c | 88 int error = user_lpath((const char __user *)hreq->path, &path); in xfs_find_handle() 187 void __user *uhandle, in xfs_handle_to_dentry() 311 char __user *buffer, in do_readlink() 382 void __user *arg) in xfs_fssetdm_by_handle() 419 void __user *arg) in xfs_attrlist_by_handle() 468 char __user *ubuf, in xfs_attrmulti_attr_get() 497 const char __user *ubuf, in xfs_attrmulti_attr_set() 537 void __user *arg) in xfs_attrmulti_by_handle() 667 void __user *arg) in xfs_ioc_bulkstat() 726 void __user *arg) in xfs_ioc_fsgeometry_v1() [all …]
|
D | xfs_ioctl.h | 49 char __user *ubuf, 57 const char __user *ubuf, 70 void __user *uhandle,
|
/fs/ext2/ |
D | ioctl.c | 35 return put_user(flags, (int __user *) arg); in ext2_ioctl() 48 if (get_user(flags, (int __user *) arg)) { in ext2_ioctl() 91 return put_user(inode->i_generation, (int __user *) arg); in ext2_ioctl() 98 if (get_user(inode->i_generation, (int __user *) arg)) { in ext2_ioctl() 111 return put_user(rsv_window_size, (int __user *)arg); in ext2_ioctl() 122 if (get_user(rsv_window_size, (int __user *)arg)) in ext2_ioctl()
|
/fs/ext3/ |
D | ioctl.c | 34 return put_user(flags, (int __user *) arg); in ext3_ioctl() 51 if (get_user(flags, (int __user *) arg)) { in ext3_ioctl() 133 return put_user(inode->i_generation, (int __user *) arg); in ext3_ioctl() 146 if (get_user(generation, (int __user *) arg)) { in ext3_ioctl() 195 return put_user(rsv_window_size, (int __user *)arg); in ext3_ioctl() 213 if (get_user(rsv_window_size, (int __user *)arg)) { in ext3_ioctl() 250 if (get_user(n_blocks_count, (__u32 __user *)arg)) { in ext3_ioctl() 276 if (copy_from_user(&input, (struct ext3_new_group_input __user *)arg, in ext3_ioctl()
|
/fs/ocfs2/ |
D | ioctl.c | 127 return put_user(flags, (int __user *) arg); in ocfs2_ioctl() 129 if (get_user(flags, (int __user *) arg)) in ocfs2_ioctl() 143 if (copy_from_user(&sr, (int __user *) arg, sizeof(sr))) in ocfs2_ioctl() 151 if (get_user(new_clusters, (int __user *)arg)) in ocfs2_ioctl() 160 if (copy_from_user(&input, (int __user *) arg, sizeof(input))) in ocfs2_ioctl()
|
/fs/ext4/ |
D | ioctl.c | 33 return put_user(flags, (int __user *) arg); in ext4_ioctl() 44 if (get_user(flags, (int __user *) arg)) in ext4_ioctl() 133 return put_user(inode->i_generation, (int __user *) arg); in ext4_ioctl() 147 if (get_user(generation, (int __user *) arg)) { in ext4_ioctl() 200 if (get_user(n_blocks_count, (__u32 __user *)arg)) in ext4_ioctl() 225 if (copy_from_user(&input, (struct ext4_new_group_input __user *)arg, in ext4_ioctl()
|
/fs/smbfs/ |
D | ioctl.c | 38 result = put_user(uid16, (uid16_t __user *) arg); in smb_ioctl() 42 result = put_user(uid32, (uid_t __user *) arg); in smb_ioctl() 59 if (!copy_from_user(&opt, (void __user *)arg, sizeof(opt))) in smb_ioctl()
|
/fs/udf/ |
D | file.c | 165 if (copy_to_user((char __user *)arg, in udf_ioctl() 173 if (get_user(old_block, (long __user *)arg)) in udf_ioctl() 178 result = put_user(new_block, (long __user *)arg); in udf_ioctl() 181 result = put_user(UDF_I(inode)->i_lenEAttr, (int __user *)arg); in udf_ioctl() 184 result = copy_to_user((char __user *)arg, in udf_ioctl()
|