Lines Matching defs:file
16 #include <linux/file.h>
279 * immutable on an immutable file.
347 /* Is it quota file? Do not allow user to mess with it */
393 * for this file. The flush marks all the pages readonly, so any
394 * subsequent attempt to write to the file (particularly mmap pages)
467 static int ext4_ioctl_setproject(struct file *filp, __u32 projid)
495 /* Is it quota file? Do not allow user to mess with it */
553 static int ext4_ioctl_setproject(struct file *filp, __u32 projid)
700 * ext4 doesn't report file extents at all, so the only valid
701 * file offsets are the magic ones (all zeroes or all ones).
743 static long ext4_ioctl_group_add(struct file *file,
746 struct super_block *sb = file_inode(file)->i_sb;
760 err = mnt_want_write_file(file);
772 mnt_drop_write_file(file);
795 static int ext4_ioctl_get_es_cache(struct file *filp, unsigned long arg)
823 static long __ext4_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
975 if (!donor.file)
978 if (!(donor.file->f_mode & FMODE_WRITE)) {
999 err = ext4_move_extents(filp, donor.file, me.orig_start,
1031 * inode_mutex prevent write and truncate on the file.
1326 long ext4_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
1332 long ext4_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
1378 return ext4_ioctl_group_add(file, &input);
1406 return ext4_ioctl(file, cmd, (unsigned long) compat_ptr(arg));