23 #ifndef _NILFS_SUFILE_H
24 #define _NILFS_SUFILE_H
32 static inline unsigned long nilfs_sufile_get_nsegments(
struct inode *sufile)
34 return ((
struct the_nilfs *)sufile->
i_sb->s_fs_info)->ns_nsegments;
43 unsigned long nblocks,
time_t modtime);
51 struct buffer_head *));
55 struct buffer_head *));
57 struct buffer_head *);
59 struct buffer_head *);
61 struct buffer_head *);
63 struct buffer_head *);
74 static inline int nilfs_sufile_scrap(
struct inode *sufile,
__u64 segnum)
84 static inline int nilfs_sufile_free(
struct inode *sufile,
__u64 segnum)
96 static inline int nilfs_sufile_freev(
struct inode *sufile,
__u64 *segnumv,
97 size_t nsegs,
size_t *ndone)
113 static inline int nilfs_sufile_cancel_freev(
struct inode *sufile,
114 __u64 *segnumv,
size_t nsegs,
138 static inline int nilfs_sufile_set_error(
struct inode *sufile,
__u64 segnum)