Home
last modified time | relevance | path

Searched refs:fstrim_range (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.15/fs/jfs/
H A Djfs_discard.h8 struct fstrim_range;
11 extern int jfs_ioc_trim(struct inode *ip, struct fstrim_range *range);
H A Dioctl.c113 struct fstrim_range range; in jfs_ioctl()
124 if (copy_from_user(&range, (struct fstrim_range __user *)arg, in jfs_ioctl()
135 if (copy_to_user((struct fstrim_range __user *)arg, &range, in jfs_ioctl()
H A Djfs_discard.c65 int jfs_ioc_trim(struct inode *ip, struct fstrim_range *range) in jfs_ioc_trim()
/linux-6.15/fs/xfs/
H A Dxfs_discard.h5 struct fstrim_range;
10 int xfs_ioc_trim(struct xfs_mount *mp, struct fstrim_range __user *fstrim);
H A Dxfs_discard.c834 struct fstrim_range __user *urange) in xfs_ioc_trim()
839 struct fstrim_range range; in xfs_ioc_trim()
/linux-6.15/tools/include/uapi/linux/
H A Dfs.h61 struct fstrim_range { struct
216 #define FITRIM _IOWR('X', 121, struct fstrim_range) /* Trim */
/linux-6.15/tools/perf/trace/beauty/include/uapi/linux/
H A Dfs.h70 struct fstrim_range { struct
223 #define FITRIM _IOWR('X', 121, struct fstrim_range) /* Trim */
/linux-6.15/include/uapi/linux/
H A Dfs.h70 struct fstrim_range { struct
223 #define FITRIM _IOWR('X', 121, struct fstrim_range) /* Trim */
/linux-6.15/fs/nilfs2/
H A Dsufile.h55 int nilfs_sufile_trim_fs(struct inode *sufile, struct fstrim_range *range);
H A Dioctl.c1032 struct fstrim_range range; in nilfs_ioctl_trim_fs()
H A Dsufile.c1060 int nilfs_sufile_trim_fs(struct inode *sufile, struct fstrim_range *range) in nilfs_sufile_trim_fs()
/linux-6.15/fs/fat/
H A Dfile.c129 struct fstrim_range __user *user_range; in fat_ioctl_fitrim()
130 struct fstrim_range range; in fat_ioctl_fitrim()
139 user_range = (struct fstrim_range __user *)arg; in fat_ioctl_fitrim()
H A Dfat.h397 extern int fat_trim_fs(struct inode *inode, struct fstrim_range *range);
H A Dfatent.c762 int fat_trim_fs(struct inode *inode, struct fstrim_range *range) in fat_trim_fs()
/linux-6.15/fs/exfat/
H A Dfile.c451 struct fstrim_range range; in exfat_ioctl_fitrim()
460 if (copy_from_user(&range, (struct fstrim_range __user *)arg, sizeof(range))) in exfat_ioctl_fitrim()
470 if (copy_to_user((struct fstrim_range __user *)arg, &range, sizeof(range))) in exfat_ioctl_fitrim()
H A Dballoc.c247 int exfat_trim_fs(struct inode *inode, struct fstrim_range *range) in exfat_trim_fs()
H A Dexfat_fs.h460 int exfat_trim_fs(struct inode *inode, struct fstrim_range *range);
/linux-6.15/fs/hpfs/
H A Dsuper.c209 struct fstrim_range range; in hpfs_ioctl()
214 if (copy_from_user(&range, (struct fstrim_range __user *)arg, sizeof(range))) in hpfs_ioctl()
220 if (copy_to_user((struct fstrim_range __user *)arg, &range, sizeof(range))) in hpfs_ioctl()
/linux-6.15/fs/btrfs/
H A Dextent-tree.h167 int btrfs_trim_fs(struct btrfs_fs_info *fs_info, struct fstrim_range *range);
/linux-6.15/fs/ocfs2/
H A Dalloc.h228 int ocfs2_trim_fs(struct super_block *sb, struct fstrim_range *range);
H A Dioctl.c922 struct fstrim_range range; in ocfs2_ioctl()
/linux-6.15/fs/ntfs3/
H A Dfile.c24 struct fstrim_range __user *user_range; in ntfs_ioctl_fitrim()
25 struct fstrim_range range; in ntfs_ioctl_fitrim()
36 user_range = (struct fstrim_range __user *)arg; in ntfs_ioctl_fitrim()
H A Dntfs_fs.h851 int ntfs_trim_fs(struct ntfs_sb_info *sbi, struct fstrim_range *range);
H A Dbitmap.c1402 int ntfs_trim_fs(struct ntfs_sb_info *sbi, struct fstrim_range *range) in ntfs_trim_fs()
/linux-6.15/fs/ext4/
H A Dioctl.c1477 struct fstrim_range range; in __ext4_ioctl()
1493 if (copy_from_user(&range, (struct fstrim_range __user *)arg, in __ext4_ioctl()
1501 if (copy_to_user((struct fstrim_range __user *)arg, &range, in __ext4_ioctl()

12