/fs/jffs2/ |
H A D | ioctl.c | 16 long jffs2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument
|
/fs/dlm/ |
H A D | recoverd.c | 276 static int dlm_recoverd(void *arg) argument 280 ls = dlm_find_lockspace_local(arg); 282 log_print("dlm_recoverd: no lockspace %p", arg);
|
/fs/ext2/ |
H A D | ioctl.c | 20 long ext2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument 28 ext2_debug ("cmd = %u, arg = %lu\n", cmd, arg); 34 return put_user(flags, (int __user *) arg); 47 if (get_user(flags, (int __user *) arg)) { 91 return put_user(inode->i_generation, (int __user *) arg); 100 if (get_user(generation, (int __user *) arg)) { 120 return put_user(rsv_window_size, (int __user *)arg); 131 if (get_user(rsv_window_size, (int __user *)arg)) 167 long ext2_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument [all...] |
/fs/hfsplus/ |
H A D | ioctl.c | 138 long hfsplus_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 140 void __user *argp = (void __user *)arg;
|
H A D | options.c | 63 static inline int match_fourchar(substring_t *arg, u32 *result) argument 65 if (arg->to - arg->from != 4) 67 memcpy(result, arg->from, 4);
|
/fs/reiserfs/ |
H A D | ioctl.c | 18 * and prevent packing file (argument arg has t 23 long reiserfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument 34 if (arg) 51 err = put_user(flags, (int __user *)arg); 67 if (get_user(flags, (int __user *)arg)) { 104 err = put_user(inode->i_generation, (int __user *)arg); 114 if (get_user(inode->i_generation, (int __user *)arg)) { 134 unsigned long arg) 160 return reiserfs_ioctl(file, cmd, (unsigned long) compat_ptr(arg)); 133 reiserfs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
|
/fs/ubifs/ |
H A D | ioctl.c | 147 long ubifs_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 157 return put_user(flags, (int __user *) arg); 166 if (get_user(flags, (int __user *) arg)) 191 long ubifs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 203 return ubifs_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
|
/fs/cifs/ |
H A D | ioctl.c | 141 long cifs_ioctl(struct file *filep, unsigned int command, unsigned long arg) argument 154 cifs_dbg(FYI, "ioctl file %p cmd %u arg %lu\n", filep, command, arg); 173 (int __user *)arg); 183 (int __user *)arg); 192 if (get_user(ExtAttrBits, (int __user *)arg)) { 219 rc = cifs_ioctl_clone(xid, filep, arg, 0, 0, 0);
|
/fs/ext3/ |
H A D | ioctl.c | 15 long ext3_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument 22 ext3_debug ("cmd = %u, arg = %lu\n", cmd, arg); 28 return put_user(flags, (int __user *) arg); 39 if (get_user(flags, (int __user *) arg)) 113 return put_user(inode->i_generation, (int __user *) arg); 127 if (get_user(generation, (int __user *) arg)) { 157 return put_user(rsv_window_size, (int __user *)arg); 175 if (get_user(rsv_window_size, (int __user *)arg)) { 212 if (get_user(n_blocks_count, (__u32 __user *)arg)) { 284 ext3_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument [all...] |
/fs/jfs/ |
H A D | ioctl.c | 59 long jfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument 70 return put_user(flags, (int __user *) arg); 83 if (get_user(flags, (int __user *) arg)) { 146 if (copy_from_user(&range, (struct fstrim_range __user *)arg, 157 if (copy_to_user((struct fstrim_range __user *)arg, &range, 170 long jfs_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument 187 return jfs_ioctl(filp, cmd, arg);
|
/fs/ceph/ |
H A D | ioctl.c | 16 static long ceph_ioctl_get_layout(struct file *file, void __user *arg) argument 29 if (copy_to_user(arg, &l, sizeof(l))) 63 static long ceph_ioctl_set_layout(struct file *file, void __user *arg) argument 73 if (copy_from_user(&l, arg, sizeof(l))) 135 static long ceph_ioctl_set_layout_policy (struct file *file, void __user *arg) argument 144 if (copy_from_user(&l, arg, sizeof(l))) 178 static long ceph_ioctl_get_dataloc(struct file *file, void __user *arg) argument 193 if (copy_from_user(&dl, arg, sizeof(dl))) 236 if (copy_to_user(arg, &dl, sizeof(dl))) 271 long ceph_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument [all...] |
/fs/notify/dnotify/ |
H A D | dnotify.c | 194 static __u32 convert_arg(unsigned long arg) argument 198 if (arg & DN_MULTISHOT) 200 if (arg & DN_DELETE) 202 if (arg & DN_MODIFY) 204 if (arg & DN_ACCESS) 206 if (arg & DN_ATTRIB) 208 if (arg & DN_RENAME) 210 if (arg & DN_CREATE) 253 int fcntl_dirnotify(int fd, struct file *filp, unsigned long arg) argument 274 if ((arg [all...] |
/fs/ |
H A D | sync.c | 70 static void sync_inodes_one_sb(struct super_block *sb, void *arg) argument 76 static void sync_fs_one_sb(struct super_block *sb, void *arg) argument 79 sb->s_op->sync_fs(sb, *(int *)arg); 82 static void fdatawrite_one_bdev(struct block_device *bdev, void *arg) argument 87 static void fdatawait_one_bdev(struct block_device *bdev, void *arg) argument
|
H A D | timerfd.c | 319 static long timerfd_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 328 if (copy_from_user(&ticks, (u64 __user *)arg, sizeof(ticks)))
|
/fs/autofs4/ |
H A D | expire.c | 347 * If returned dentry is different from arg dentry, 604 struct autofs_sb_info *sbi, int __user *arg) 608 if (arg && get_user(do_now, arg)) 603 autofs4_expire_multi(struct super_block *sb, struct vfsmount *mnt, struct autofs_sb_info *sbi, int __user *arg) argument
|
H A D | root.c | 859 unsigned int cmd, unsigned long arg) 862 void __user *p = (void __user *)arg; 864 DPRINTK("cmd = 0x%08x, arg = 0x%08lx, sbi = %p, pgrp = %u", 865 cmd,arg,sbi,task_pgrp_nr(current)); 876 return autofs4_wait_release(sbi,(autofs_wqt_t)arg,0); 878 return autofs4_wait_release(sbi,(autofs_wqt_t)arg,-ENOENT); 909 unsigned int cmd, unsigned long arg) 912 return autofs4_root_ioctl_unlocked(inode, filp, cmd, arg); 917 unsigned int cmd, unsigned long arg) 923 ret = autofs4_root_ioctl_unlocked(inode, filp, cmd, arg); 858 autofs4_root_ioctl_unlocked(struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg) argument 908 autofs4_root_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument 916 autofs4_root_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument [all...] |
/fs/coda/ |
H A D | psdev.c | 78 static long coda_psdev_ioctl(struct file * filp, unsigned int cmd, unsigned long arg) argument 85 return put_user(data, (int __user *) arg);
|
/fs/ecryptfs/ |
H A D | file.c | 313 ecryptfs_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 319 rc = lower_file->f_op->unlocked_ioctl(lower_file, cmd, arg); 325 ecryptfs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 331 rc = lower_file->f_op->compat_ioctl(lower_file, cmd, arg);
|
/fs/ext4/ |
H A D | ioctl.c | 201 long ext4_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument 208 ext4_debug("cmd = %u, arg = %lu\n", cmd, arg); 214 return put_user(flags, (int __user *) arg); 225 if (get_user(flags, (int __user *) arg)) 323 return put_user(inode->i_generation, (int __user *) arg); 343 if (get_user(generation, (int __user *) arg)) { 376 if (get_user(n_blocks_count, (__u32 __user *)arg)) { 417 (struct move_extent __user *)arg, sizeof(me))) 446 if (copy_to_user((struct move_extent __user *)arg, 631 ext4_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument [all...] |
/fs/fat/ |
H A D | file.c | 123 long fat_generic_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument 126 u32 __user *user_attr = (u32 __user *)arg; 142 unsigned long arg) 145 return fat_generic_ioctl(filp, cmd, (unsigned long)compat_ptr(arg)); 141 fat_generic_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument
|
/fs/logfs/ |
H A D | file.c | 185 long logfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 195 return put_user(flags, (int __user *)arg); 203 err = get_user(flags, (int __user *)arg);
|
/fs/nfs/blocklayout/ |
H A D | extent_tree.c | 465 static void ext_tree_free_commitdata(struct nfs4_layoutcommit_args *arg, argument 468 if (arg->layoutupdate_pages != &arg->layoutupdate_page) { 472 put_page(arg->layoutupdate_pages[i]); 473 kfree(arg->layoutupdate_pages); 475 put_page(arg->layoutupdate_page); 513 ext_tree_prepare_commit(struct nfs4_layoutcommit_args *arg) argument 515 struct pnfs_block_layout *bl = BLK_LO2EXT(NFS_I(arg->inode)->layout); 522 arg->layoutupdate_page = alloc_page(GFP_NOFS); 523 if (!arg 570 ext_tree_mark_committed(struct nfs4_layoutcommit_args *arg, int status) argument [all...] |
/fs/proc/ |
H A D | inode.c | 244 static long proc_reg_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 252 rv = ioctl(file, cmd, arg); 259 static long proc_reg_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 267 rv = compat_ioctl(file, cmd, arg);
|
/fs/quota/ |
H A D | quota.c | 48 static void quota_sync_one(struct super_block *sb, void *arg) argument 51 sb->s_qcop->quota_sync(sb, *(int *)arg);
|
/fs/udf/ |
H A D | file.c | 170 long udf_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument 182 if (!arg) { 190 if (copy_to_user((char __user *)arg, 201 if (get_user(old_block, (long __user *)arg)) { 208 result = put_user(new_block, (long __user *)arg); 211 result = put_user(UDF_I(inode)->i_lenEAttr, (int __user *)arg); 214 result = copy_to_user((char __user *)arg,
|