/fs/jfs/ |
D | jfs_debug.h | 68 #define jfs_info(fmt, arg...) do { \ argument 70 printk(KERN_INFO fmt "\n", ## arg); \ 74 #define jfs_debug(fmt, arg...) do { \ argument 76 printk(KERN_DEBUG fmt "\n", ## arg); \ 80 #define jfs_warn(fmt, arg...) do { \ argument 82 printk(KERN_WARNING fmt "\n", ## arg); \ 86 #define jfs_err(fmt, arg...) do { \ argument 88 printk(KERN_ERR fmt "\n", ## arg); \ 97 #define jfs_info(fmt, arg...) do {} while (0) argument 98 #define jfs_debug(fmt, arg...) do {} while (0) argument [all …]
|
D | ioctl.c | 55 long jfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in jfs_ioctl() argument 66 return put_user(flags, (int __user *) arg); in jfs_ioctl() 79 if (get_user(flags, (int __user *) arg)) { in jfs_ioctl() 132 long jfs_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in jfs_compat_ioctl() argument 146 return jfs_ioctl(filp, cmd, arg); in jfs_compat_ioctl()
|
/fs/nfs/ |
D | nfs3proc.c | 120 struct nfs3_sattrargs arg = { in nfs3_proc_setattr() local 126 .rpc_argp = &arg, in nfs3_proc_setattr() 147 struct nfs3_diropargs arg = { in nfs3_proc_lookup() local 159 .rpc_argp = &arg, in nfs3_proc_lookup() 182 struct nfs3_accessargs arg = { in nfs3_proc_access() local 190 .rpc_argp = &arg, in nfs3_proc_access() 200 arg.access |= NFS3_ACCESS_READ; in nfs3_proc_access() 203 arg.access |= NFS3_ACCESS_MODIFY | NFS3_ACCESS_EXTEND | NFS3_ACCESS_DELETE; in nfs3_proc_access() 205 arg.access |= NFS3_ACCESS_LOOKUP; in nfs3_proc_access() 208 arg.access |= NFS3_ACCESS_MODIFY | NFS3_ACCESS_EXTEND; in nfs3_proc_access() [all …]
|
D | proc.c | 123 struct nfs_sattrargs arg = { in nfs_proc_setattr() local 129 .rpc_argp = &arg, in nfs_proc_setattr() 152 struct nfs_diropargs arg = { in nfs_proc_lookup() local 163 .rpc_argp = &arg, in nfs_proc_lookup() 202 struct nfs_createargs arg = { in nfs_proc_create() local 214 .rpc_argp = &arg, in nfs_proc_create() 238 struct nfs_createargs arg = { in nfs_proc_mknod() local 250 .rpc_argp = &arg, in nfs_proc_mknod() 284 struct nfs_removeargs arg = { in nfs_proc_remove() local 291 .rpc_argp = &arg, in nfs_proc_remove() [all …]
|
D | nfs4proc.c | 1252 struct nfs_setattrargs arg = { in _nfs4_do_setattr() local 1264 .rpc_argp = &arg, in _nfs4_do_setattr() 1273 if (nfs4_copy_delegation_stateid(&arg.stateid, inode)) { in _nfs4_do_setattr() 1276 nfs4_copy_stateid(&arg.stateid, state, current->files); in _nfs4_do_setattr() 1278 memcpy(&arg.stateid, &zero_stateid, sizeof(arg.stateid)); in _nfs4_do_setattr() 1305 struct nfs_closeargs arg; member 1317 nfs_free_seqid(calldata->arg.seqid); in nfs4_free_closedata() 1343 if (calldata->arg.fmode == 0) in nfs4_close_done() 1360 if (nfs_wait_on_sequence(calldata->arg.seqid, task) != 0) in nfs4_close_prepare() 1385 calldata->arg.fmode = FMODE_READ; in nfs4_close_prepare() [all …]
|
/fs/cifs/ |
D | cifs_debug.h | 49 #define cifsfyi(format,arg...) if (cifsFYI & CIFS_INFO) printk(KERN_DEBUG " " __FILE__ ": " format … argument 53 #define cifswarn(format, arg...) printk(KERN_WARNING ": " format "\n" , ## arg) argument 58 #define cEVENT(format,arg...) if (cifsERROR) printk(KERN_EVENT __FILE__ ": " format "\n" , ## arg) argument 61 #define cifserror(format,arg...) if (cifsERROR) printk(KERN_ERR " CIFS VFS: " format "\n" "" , ## a… argument 71 #define cEVENT(format, arg...) argument 73 #define cifserror(format, arg...) argument
|
D | ioctl.c | 33 long cifs_ioctl(struct file *filep, unsigned int command, unsigned long arg) in cifs_ioctl() argument 50 cFYI(1, ("ioctl file %p cmd %u arg %lu", filep, command, arg)); in cifs_ioctl() 85 (int __user *)arg); in cifs_ioctl() 91 if (get_user(ExtAttrBits, (int __user *)arg)) { in cifs_ioctl()
|
/fs/ |
D | fcntl.c | 146 static int setfl(int fd, struct file * filp, unsigned long arg) in setfl() argument 155 if (((arg ^ filp->f_flags) & O_APPEND) && IS_APPEND(inode)) in setfl() 159 if ((arg & O_NOATIME) && !(filp->f_flags & O_NOATIME)) in setfl() 165 if (arg & O_NDELAY) in setfl() 166 arg |= O_NONBLOCK; in setfl() 168 if (arg & O_DIRECT) { in setfl() 175 error = filp->f_op->check_flags(arg); in setfl() 184 if ((arg ^ filp->f_flags) & FASYNC) { in setfl() 186 error = filp->f_op->fasync(fd, filp, (arg & FASYNC) != 0); in setfl() 192 filp->f_flags = (arg & SETFL_MASK) | (filp->f_flags & ~SETFL_MASK); in setfl() [all …]
|
D | compat_ioctl.c | 118 unsigned long arg, struct file *f) in do_ioctl32_pointer() argument 120 return sys_ioctl(fd, cmd, (unsigned long)compat_ptr(arg)); in do_ioctl32_pointer() 123 static int w_long(unsigned int fd, unsigned int cmd, unsigned long arg) in w_long() argument 132 if (!err && put_user(val, (u32 __user *)compat_ptr(arg))) in w_long() 137 static int rw_long(unsigned int fd, unsigned int cmd, unsigned long arg) in rw_long() argument 140 u32 __user *argptr = compat_ptr(arg); in rw_long() 163 static int do_video_get_event(unsigned int fd, unsigned int cmd, unsigned long arg) in do_video_get_event() argument 174 struct compat_video_event __user *up = compat_ptr(arg); in do_video_get_event() 194 static int do_video_stillpicture(unsigned int fd, unsigned int cmd, unsigned long arg) in do_video_stillpicture() argument 202 up = (struct compat_video_still_picture __user *) arg; in do_video_stillpicture() [all …]
|
D | ioctl.c | 37 unsigned long arg) in vfs_ioctl() argument 45 error = filp->f_op->unlocked_ioctl(filp, cmd, arg); in vfs_ioctl() 52 filp, cmd, arg); in vfs_ioctl() 184 static int ioctl_fiemap(struct file *filp, unsigned long arg) in ioctl_fiemap() argument 196 if (copy_from_user(&fiemap, (struct fiemap __user *)arg, in ioctl_fiemap() 210 fieinfo.fi_extents_start = (struct fiemap_extent *)(arg + sizeof(fiemap)); in ioctl_fiemap() 223 if (copy_to_user((char *)arg, &fiemap, sizeof(fiemap))) in ioctl_fiemap() 374 unsigned long arg) in file_ioctl() argument 377 int __user *p = (int __user *)arg; in file_ioctl() 383 return ioctl_fiemap(filp, arg); in file_ioctl() [all …]
|
D | compat.c | 434 unsigned long arg) in compat_sys_fcntl64() argument 444 ret = get_compat_flock(&f, compat_ptr(arg)); in compat_sys_fcntl64() 468 ret = put_compat_flock(&f, compat_ptr(arg)); in compat_sys_fcntl64() 475 ret = get_compat_flock64(&f, compat_ptr(arg)); in compat_sys_fcntl64() 491 ret = put_compat_flock64(&f, compat_ptr(arg)); in compat_sys_fcntl64() 496 ret = sys_fcntl(fd, cmd, arg); in compat_sys_fcntl64() 503 unsigned long arg) in compat_sys_fcntl() argument 507 return compat_sys_fcntl64(fd, cmd, arg); in compat_sys_fcntl() 1896 struct compat_nfsctl_arg __user *arg) in compat_nfs_svc_trans() argument 1898 if (!access_ok(VERIFY_READ, &arg->ca32_svc, sizeof(arg->ca32_svc)) || in compat_nfs_svc_trans() [all …]
|
/fs/xfs/linux-2.6/ |
D | xfs_ioctl.c | 382 void __user *arg) in xfs_fssetdm_by_handle() argument 391 if (copy_from_user(&dmhreq, arg, sizeof(xfs_fsop_setdm_handlereq_t))) in xfs_fssetdm_by_handle() 419 void __user *arg) in xfs_attrlist_by_handle() argument 429 if (copy_from_user(&al_hreq, arg, sizeof(xfs_fsop_attrlist_handlereq_t))) in xfs_attrlist_by_handle() 537 void __user *arg) in xfs_attrmulti_by_handle() argument 548 if (copy_from_user(&am_hreq, arg, sizeof(xfs_fsop_attrmulti_handlereq_t))) in xfs_attrmulti_by_handle() 667 void __user *arg) in xfs_ioc_bulkstat() argument 684 if (copy_from_user(&bulkreq, arg, sizeof(xfs_fsop_bulkreq_t))) in xfs_ioc_bulkstat() 726 void __user *arg) in xfs_ioc_fsgeometry_v1() argument 735 if (copy_to_user(arg, &fsgeo, sizeof(fsgeo))) in xfs_ioc_fsgeometry_v1() [all …]
|
D | xfs_ioctl32.c | 356 void __user *arg) in xfs_compat_attrlist_by_handle() argument 366 if (copy_from_user(&al_hreq, arg, in xfs_compat_attrlist_by_handle() 406 void __user *arg) in xfs_compat_attrmulti_by_handle() argument 417 if (copy_from_user(&am_hreq, arg, in xfs_compat_attrmulti_by_handle() 499 void __user *arg) in xfs_compat_fssetdm_by_handle() argument 508 if (copy_from_user(&dmhreq, arg, in xfs_compat_fssetdm_by_handle() 543 void __user *arg = (void __user *)p; in xfs_file_compat_ioctl() local 596 if (xfs_compat_flock64_copyin(&bf, arg)) in xfs_file_compat_ioctl() 602 return xfs_compat_ioc_fsgeometry_v1(mp, arg); in xfs_file_compat_ioctl() 606 if (xfs_compat_growfs_data_copyin(&in, arg)) in xfs_file_compat_ioctl() [all …]
|
/fs/gfs2/locking/dlm/ |
D | lock_dlm.h | 127 #define log_print(lev, fmt, arg...) printk(lev "lock_dlm: " fmt "\n" , ## arg) argument 128 #define log_info(fmt, arg...) log_print(KERN_INFO , fmt , ## arg) argument 129 #define log_error(fmt, arg...) log_print(KERN_ERR , fmt , ## arg) argument 131 #define log_debug(fmt, arg...) log_print(KERN_DEBUG , fmt , ## arg) argument 133 #define log_debug(fmt, arg...) argument
|
/fs/ext2/ |
D | ioctl.c | 21 long ext2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in ext2_ioctl() argument 29 ext2_debug ("cmd = %u, arg = %lu\n", cmd, arg); in ext2_ioctl() 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() 158 long ext2_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in ext2_compat_ioctl() argument 177 return ext2_ioctl(file, cmd, (unsigned long) compat_ptr(arg)); in ext2_compat_ioctl()
|
/fs/ext3/ |
D | ioctl.c | 22 unsigned long arg) in ext3_ioctl() argument 28 ext3_debug ("cmd = %u, arg = %lu\n", cmd, arg); in ext3_ioctl() 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() [all …]
|
/fs/ocfs2/ |
D | ioctl.c | 111 long ocfs2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in ocfs2_ioctl() argument 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() 170 long ocfs2_compat_ioctl(struct file *file, unsigned cmd, unsigned long arg) in ocfs2_compat_ioctl() argument 191 return ocfs2_ioctl(file, cmd, arg); in ocfs2_compat_ioctl()
|
/fs/ext4/ |
D | ioctl.c | 21 long ext4_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in ext4_ioctl() argument 27 ext4_debug("cmd = %u, arg = %lu\n", cmd, arg); in ext4_ioctl() 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() 272 long ext4_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in ext4_compat_ioctl() argument 313 return ext4_ioctl(file, cmd, (unsigned long) compat_ptr(arg)); in ext4_compat_ioctl()
|
/fs/smbfs/ |
D | ioctl.c | 27 unsigned int cmd, unsigned long arg) in smb_ioctl() argument 38 result = put_user(uid16, (uid16_t __user *) arg); in smb_ioctl() 42 result = put_user(uid32, (uid_t __user *) arg); in smb_ioctl() 47 if (!arg) { in smb_ioctl() 59 if (!copy_from_user(&opt, (void __user *)arg, sizeof(opt))) in smb_ioctl()
|
/fs/reiserfs/ |
D | ioctl.c | 24 unsigned long arg) in reiserfs_ioctl() argument 32 if (arg) in reiserfs_ioctl() 46 return put_user(flags, (int __user *)arg); in reiserfs_ioctl() 59 if (get_user(flags, (int __user *)arg)) { in reiserfs_ioctl() 96 return put_user(inode->i_generation, (int __user *)arg); in reiserfs_ioctl() 103 if (get_user(inode->i_generation, (int __user *)arg)) { in reiserfs_ioctl() 119 unsigned long arg) in reiserfs_compat_ioctl() argument 145 ret = reiserfs_ioctl(inode, file, cmd, (unsigned long) compat_ptr(arg)); in reiserfs_compat_ioctl()
|
/fs/gfs2/ |
D | util.h | 15 #define fs_printk(level, fs, fmt, arg...) \ argument 16 printk(level "GFS2: fsid=%s: " fmt , (fs)->sd_fsname , ## arg) 18 #define fs_info(fs, fmt, arg...) \ argument 19 fs_printk(KERN_INFO , fs , fmt , ## arg) 21 #define fs_warn(fs, fmt, arg...) \ argument 22 fs_printk(KERN_WARNING , fs , fmt , ## arg) 24 #define fs_err(fs, fmt, arg...) \ argument 25 fs_printk(KERN_ERR, fs , fmt , ## arg)
|
/fs/ncpfs/ |
D | ioctl.c | 38 struct ncp_fs_info __user *arg) in ncp_get_fs_info() argument 47 if (copy_from_user(&info, arg, sizeof(info))) in ncp_get_fs_info() 61 if (copy_to_user(arg, &info, sizeof(info))) in ncp_get_fs_info() 68 struct ncp_fs_info_v2 __user * arg) in ncp_get_fs_info_v2() argument 77 if (copy_from_user(&info2, arg, sizeof(info2))) in ncp_get_fs_info_v2() 91 if (copy_to_user(arg, &info2, sizeof(info2))) in ncp_get_fs_info_v2() 139 struct compat_ncp_fs_info_v2 __user * arg) in ncp_get_compat_fs_info_v2() argument 148 if (copy_from_user(&info2, arg, sizeof(info2))) in ncp_get_compat_fs_info_v2() 162 if (copy_to_user(arg, &info2, sizeof(info2))) in ncp_get_compat_fs_info_v2() 177 ncp_set_charsets(struct ncp_server* server, struct ncp_nls_ioctl __user *arg) in ncp_set_charsets() argument [all …]
|
/fs/udf/ |
D | file.c | 147 unsigned long arg) in udf_ioctl() argument 158 if (!arg) { in udf_ioctl() 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()
|
/fs/notify/dnotify/ |
D | dnotify.c | 63 int fcntl_dirnotify(int fd, struct file *filp, unsigned long arg) in fcntl_dirnotify() argument 73 if ((arg & ~DN_MULTISHOT) == 0) { in fcntl_dirnotify() 90 odn->dn_mask |= arg; in fcntl_dirnotify() 91 inode->i_dnotify_mask |= arg & ~DN_MULTISHOT; in fcntl_dirnotify() 110 dn->dn_mask = arg; in fcntl_dirnotify() 114 inode->i_dnotify_mask |= arg & ~DN_MULTISHOT; in fcntl_dirnotify()
|
/fs/ubifs/ |
D | ioctl.c | 148 long ubifs_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in ubifs_ioctl() argument 158 return put_user(flags, (int __user *) arg); in ubifs_ioctl() 167 if (get_user(flags, (int __user *) arg)) in ubifs_ioctl() 192 long ubifs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in ubifs_compat_ioctl() argument 204 return ubifs_ioctl(file, cmd, (unsigned long)compat_ptr(arg)); in ubifs_compat_ioctl()
|