Lines Matching refs:file
16 #include <linux/file.h>
34 * Superblock modification callback function for changing file system
46 * Superblock modification callback function for changing file system
519 * immutable on an immutable file.
587 /* Is it quota file? Do not allow user to mess with it */
628 * for this file. The flush marks all the pages readonly, so any
629 * subsequent attempt to write to the file (particularly mmap pages)
730 /* Is it quota file? Do not allow user to mess with it */
892 * ext4 doesn't report file extents at all, so the only valid
893 * file offsets are the magic ones (all zeroes or all ones).
934 static long ext4_ioctl_group_add(struct file *file,
937 struct super_block *sb = file_inode(file)->i_sb;
951 err = mnt_want_write_file(file);
963 mnt_drop_write_file(file);
1023 static int ext4_ioctl_get_es_cache(struct file *filp, unsigned long arg)
1051 static int ext4_ioctl_checkpoint(struct file *filp, unsigned long arg)
1096 static int ext4_ioctl_setlabel(struct file *filp, const char __user *user_label)
1185 static int ext4_ioctl_setuuid(struct file *filp,
1224 static long __ext4_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
1338 if (!donor.file)
1341 if (!(donor.file->f_mode & FMODE_WRITE)) {
1362 err = ext4_move_extents(filp, donor.file, me.orig_start,
1394 * inode_mutex prevent write and truncate on the file.
1616 long ext4_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
1622 long ext4_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
1662 return ext4_ioctl_group_add(file, &input);
1694 return ext4_ioctl(file, cmd, (unsigned long) compat_ptr(arg));