Lines Matching defs:int
44 long vfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
46 int error = -ENOTTY;
59 static int ioctl_fibmap(struct file *filp, int __user *p)
63 int error, ur_block;
112 int fiemap_fill_next_extent(struct fiemap_extent_info *fieinfo, u64 logical,
168 int fiemap_prep(struct inode *inode, struct fiemap_extent_info *fieinfo,
173 int ret = 0;
200 static int ioctl_fiemap(struct file *filp, struct fiemap __user *ufiemap)
205 int error;
236 int ret;
270 static int ioctl_preallocate(struct file *filp, int mode, void __user *argp)
298 static int compat_ioctl_preallocate(struct file *file, int mode,
324 static int file_ioctl(struct file *filp, unsigned int cmd, int __user *p)
342 static int ioctl_fionbio(struct file *filp, int __user *argp)
344 unsigned int flag;
345 int on, error;
365 static int ioctl_fioasync(unsigned int fd, struct file *filp,
366 int __user *argp)
368 unsigned int flag;
369 int on, error;
387 static int ioctl_fsfreeze(struct file *filp)
404 static int ioctl_fsthaw(struct file *filp)
417 static int ioctl_file_dedupe_range(struct file *file,
421 int ret;
526 int vfs_fileattr_get(struct dentry *dentry, struct fileattr *fa)
544 int copy_fsxattr_to_user(const struct fileattr *fa, struct fsxattr __user *ufa)
562 static int copy_fsxattr_from_user(struct fileattr *fa,
585 static int fileattr_set_prepare(struct inode *inode,
589 int err;
669 int vfs_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry,
674 int err;
705 static int ioctl_getflags(struct file *file, unsigned int __user *argp)
708 int err;
716 static int ioctl_setflags(struct file *file, unsigned int __user *argp)
721 unsigned int flags;
722 int err;
736 static int ioctl_fsgetxattr(struct file *file, void __user *argp)
739 int err;
748 static int ioctl_fssetxattr(struct file *file, void __user *argp)
753 int err;
773 static int do_vfs_ioctl(struct file *filp, unsigned int fd,
774 unsigned int cmd, unsigned long arg)
818 return put_user(inode->i_sb->s_blocksize, (int __user *)argp);
834 (int __user *)argp);
857 SYSCALL_DEFINE3(ioctl, unsigned int, fd, unsigned int, cmd, unsigned long, arg)
860 int error;
905 long compat_ptr_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
914 COMPAT_SYSCALL_DEFINE3(ioctl, unsigned int, fd, unsigned int, cmd,
918 int error;
928 /* FICLONE takes an int argument, so don't use compat_ptr() */