1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 2 /* 3 * Copyright (C) Tino Reichardt, 2012 3 * Copyright (C) Tino Reichardt, 2012 4 */ 4 */ 5 #ifndef _H_JFS_DISCARD 5 #ifndef _H_JFS_DISCARD 6 #define _H_JFS_DISCARD 6 #define _H_JFS_DISCARD 7 7 8 struct fstrim_range; 8 struct fstrim_range; 9 9 10 extern void jfs_issue_discard(struct inode *ip 10 extern void jfs_issue_discard(struct inode *ip, u64 blkno, u64 nblocks); 11 extern int jfs_ioc_trim(struct inode *ip, stru 11 extern int jfs_ioc_trim(struct inode *ip, struct fstrim_range *range); 12 12 13 #endif /* _H_JFS_DISCARD */ 13 #endif /* _H_JFS_DISCARD */ 14 14
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.