Lines Matching defs:int

41 long vfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
43 int error = -ENOTTY;
56 static int ioctl_fibmap(struct file *filp, int __user *p)
60 int error, ur_block;
112 int fiemap_fill_next_extent(struct fiemap_extent_info *fieinfo, u64 logical,
164 int fiemap_prep(struct inode *inode, struct fiemap_extent_info *fieinfo,
169 int ret = 0;
196 static int ioctl_fiemap(struct file *filp, struct fiemap __user *ufiemap)
201 int error;
232 int ret;
294 static int __generic_block_fiemap(struct inode *inode,
304 int ret = 0;
452 int generic_block_fiemap(struct inode *inode,
456 int ret;
473 static int ioctl_preallocate(struct file *filp, int mode, void __user *argp)
501 static int compat_ioctl_preallocate(struct file *file, int mode,
527 static int file_ioctl(struct file *filp, unsigned int cmd, int __user *p)
545 static int ioctl_fionbio(struct file *filp, int __user *argp)
547 unsigned int flag;
548 int on, error;
568 static int ioctl_fioasync(unsigned int fd, struct file *filp,
569 int __user *argp)
571 unsigned int flag;
572 int on, error;
590 static int ioctl_fsfreeze(struct file *filp)
607 static int ioctl_fsthaw(struct file *filp)
620 static int ioctl_file_dedupe_range(struct file *file,
624 int ret;
667 static int do_vfs_ioctl(struct file *filp, unsigned int fd,
668 unsigned int cmd, unsigned long arg)
712 return put_user(inode->i_sb->s_blocksize, (int __user *)argp);
728 (int __user *)argp);
739 SYSCALL_DEFINE3(ioctl, unsigned int, fd, unsigned int, cmd, unsigned long, arg)
742 int error;
784 long compat_ptr_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
793 COMPAT_SYSCALL_DEFINE3(ioctl, unsigned int, fd, unsigned int, cmd,
797 int error;
807 /* FICLONE takes an int argument, so don't use compat_ptr() */