Lines Matching refs:nilfs_bmap
38 struct nilfs_bmap;
62 int (*bop_lookup)(const struct nilfs_bmap *, __u64, int, __u64 *);
63 int (*bop_lookup_contig)(const struct nilfs_bmap *, __u64, __u64 *,
65 int (*bop_insert)(struct nilfs_bmap *, __u64, __u64);
66 int (*bop_delete)(struct nilfs_bmap *, __u64);
67 void (*bop_clear)(struct nilfs_bmap *);
69 int (*bop_propagate)(struct nilfs_bmap *, struct buffer_head *);
70 void (*bop_lookup_dirty_buffers)(struct nilfs_bmap *,
73 int (*bop_assign)(struct nilfs_bmap *,
77 int (*bop_mark)(struct nilfs_bmap *, __u64, int);
80 int (*bop_last_key)(const struct nilfs_bmap *, __u64 *);
81 int (*bop_check_insert)(const struct nilfs_bmap *, __u64);
82 int (*bop_check_delete)(struct nilfs_bmap *, __u64);
83 int (*bop_gather_data)(struct nilfs_bmap *, __u64 *, __u64 *, int);
99 * struct nilfs_bmap - bmap structure
110 struct nilfs_bmap {
139 int nilfs_bmap_test_and_clear_dirty(struct nilfs_bmap *);
140 int nilfs_bmap_read(struct nilfs_bmap *, struct nilfs_inode *);
141 void nilfs_bmap_write(struct nilfs_bmap *, struct nilfs_inode *);
142 int nilfs_bmap_lookup_contig(struct nilfs_bmap *, __u64, __u64 *, unsigned);
143 int nilfs_bmap_insert(struct nilfs_bmap *, unsigned long, unsigned long);
144 int nilfs_bmap_delete(struct nilfs_bmap *, unsigned long);
145 int nilfs_bmap_last_key(struct nilfs_bmap *, unsigned long *);
146 int nilfs_bmap_truncate(struct nilfs_bmap *, unsigned long);
147 void nilfs_bmap_clear(struct nilfs_bmap *);
148 int nilfs_bmap_propagate(struct nilfs_bmap *, struct buffer_head *);
149 void nilfs_bmap_lookup_dirty_buffers(struct nilfs_bmap *, struct list_head *);
150 int nilfs_bmap_assign(struct nilfs_bmap *, struct buffer_head **,
152 int nilfs_bmap_lookup_at_level(struct nilfs_bmap *, __u64, int, __u64 *);
153 int nilfs_bmap_mark(struct nilfs_bmap *, __u64, int);
155 void nilfs_bmap_init_gc(struct nilfs_bmap *);
156 void nilfs_bmap_init_gcdat(struct nilfs_bmap *, struct nilfs_bmap *);
157 void nilfs_bmap_commit_gcdat(struct nilfs_bmap *, struct nilfs_bmap *);
160 static inline int nilfs_bmap_lookup(struct nilfs_bmap *bmap, __u64 key,
169 struct inode *nilfs_bmap_get_dat(const struct nilfs_bmap *);
171 static inline int nilfs_bmap_prepare_alloc_ptr(struct nilfs_bmap *bmap,
182 static inline void nilfs_bmap_commit_alloc_ptr(struct nilfs_bmap *bmap,
190 static inline void nilfs_bmap_abort_alloc_ptr(struct nilfs_bmap *bmap,
200 static inline int nilfs_bmap_prepare_end_ptr(struct nilfs_bmap *bmap,
207 static inline void nilfs_bmap_commit_end_ptr(struct nilfs_bmap *bmap,
216 static inline void nilfs_bmap_abort_end_ptr(struct nilfs_bmap *bmap,
224 static inline void nilfs_bmap_set_target_v(struct nilfs_bmap *bmap, __u64 key,
231 __u64 nilfs_bmap_data_get_key(const struct nilfs_bmap *,
234 __u64 nilfs_bmap_find_target_seq(const struct nilfs_bmap *, __u64);
235 __u64 nilfs_bmap_find_target_in_group(const struct nilfs_bmap *);
237 void nilfs_bmap_add_blocks(const struct nilfs_bmap *, int);
238 void nilfs_bmap_sub_blocks(const struct nilfs_bmap *, int);
242 static inline int nilfs_bmap_dirty(const struct nilfs_bmap *bmap)
248 static inline void nilfs_bmap_set_dirty(struct nilfs_bmap *bmap)
254 static inline void nilfs_bmap_clear_dirty(struct nilfs_bmap *bmap)