Lines Matching refs:nilfs_bmap
25 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);
79 int (*bop_seek_key)(const struct nilfs_bmap *, __u64, __u64 *);
80 int (*bop_last_key)(const struct nilfs_bmap *, __u64 *);
83 int (*bop_check_insert)(const struct nilfs_bmap *, __u64);
84 int (*bop_check_delete)(struct nilfs_bmap *, __u64);
85 int (*bop_gather_data)(struct nilfs_bmap *, __u64 *, __u64 *, int);
111 struct nilfs_bmap { struct
157 int nilfs_bmap_test_and_clear_dirty(struct nilfs_bmap *);
158 int nilfs_bmap_read(struct nilfs_bmap *, struct nilfs_inode *);
159 void nilfs_bmap_write(struct nilfs_bmap *, struct nilfs_inode *);
160 int nilfs_bmap_lookup_contig(struct nilfs_bmap *, __u64, __u64 *, unsigned int);
161 int nilfs_bmap_insert(struct nilfs_bmap *bmap, __u64 key, unsigned long rec);
162 int nilfs_bmap_delete(struct nilfs_bmap *bmap, __u64 key);
163 int nilfs_bmap_seek_key(struct nilfs_bmap *bmap, __u64 start, __u64 *keyp);
164 int nilfs_bmap_last_key(struct nilfs_bmap *bmap, __u64 *keyp);
165 int nilfs_bmap_truncate(struct nilfs_bmap *bmap, __u64 key);
166 void nilfs_bmap_clear(struct nilfs_bmap *);
167 int nilfs_bmap_propagate(struct nilfs_bmap *, struct buffer_head *);
168 void nilfs_bmap_lookup_dirty_buffers(struct nilfs_bmap *, struct list_head *);
169 int nilfs_bmap_assign(struct nilfs_bmap *, struct buffer_head **,
171 int nilfs_bmap_lookup_at_level(struct nilfs_bmap *, __u64, int, __u64 *);
172 int nilfs_bmap_mark(struct nilfs_bmap *, __u64, int);
174 void nilfs_bmap_init_gc(struct nilfs_bmap *);
176 void nilfs_bmap_save(const struct nilfs_bmap *, struct nilfs_bmap_store *);
177 void nilfs_bmap_restore(struct nilfs_bmap *, const struct nilfs_bmap_store *);
179 static inline int nilfs_bmap_lookup(struct nilfs_bmap *bmap, __u64 key, in nilfs_bmap_lookup()
188 struct inode *nilfs_bmap_get_dat(const struct nilfs_bmap *);
190 static inline int nilfs_bmap_prepare_alloc_ptr(struct nilfs_bmap *bmap, in nilfs_bmap_prepare_alloc_ptr()
201 static inline void nilfs_bmap_commit_alloc_ptr(struct nilfs_bmap *bmap, in nilfs_bmap_commit_alloc_ptr()
209 static inline void nilfs_bmap_abort_alloc_ptr(struct nilfs_bmap *bmap, in nilfs_bmap_abort_alloc_ptr()
219 static inline int nilfs_bmap_prepare_end_ptr(struct nilfs_bmap *bmap, in nilfs_bmap_prepare_end_ptr()
226 static inline void nilfs_bmap_commit_end_ptr(struct nilfs_bmap *bmap, in nilfs_bmap_commit_end_ptr()
235 static inline void nilfs_bmap_abort_end_ptr(struct nilfs_bmap *bmap, in nilfs_bmap_abort_end_ptr()
243 static inline void nilfs_bmap_set_target_v(struct nilfs_bmap *bmap, __u64 key, in nilfs_bmap_set_target_v()
250 __u64 nilfs_bmap_data_get_key(const struct nilfs_bmap *,
253 __u64 nilfs_bmap_find_target_seq(const struct nilfs_bmap *, __u64);
254 __u64 nilfs_bmap_find_target_in_group(const struct nilfs_bmap *);
258 static inline int nilfs_bmap_dirty(const struct nilfs_bmap *bmap) in nilfs_bmap_dirty()
264 static inline void nilfs_bmap_set_dirty(struct nilfs_bmap *bmap) in nilfs_bmap_set_dirty()
270 static inline void nilfs_bmap_clear_dirty(struct nilfs_bmap *bmap) in nilfs_bmap_clear_dirty()