Lines Matching defs:nilfs_bmap

25 struct nilfs_bmap;
49 int (*bop_lookup)(const struct nilfs_bmap *, __u64, int, __u64 *);
50 int (*bop_lookup_contig)(const struct nilfs_bmap *, __u64, __u64 *,
52 int (*bop_insert)(struct nilfs_bmap *, __u64, __u64);
53 int (*bop_delete)(struct nilfs_bmap *, __u64);
54 void (*bop_clear)(struct nilfs_bmap *);
56 int (*bop_propagate)(struct nilfs_bmap *, struct buffer_head *);
57 void (*bop_lookup_dirty_buffers)(struct nilfs_bmap *,
60 int (*bop_assign)(struct nilfs_bmap *,
64 int (*bop_mark)(struct nilfs_bmap *, __u64, int);
66 int (*bop_seek_key)(const struct nilfs_bmap *, __u64, __u64 *);
67 int (*bop_last_key)(const struct nilfs_bmap *, __u64 *);
70 int (*bop_check_insert)(const struct nilfs_bmap *, __u64);
71 int (*bop_check_delete)(struct nilfs_bmap *, __u64);
72 int (*bop_gather_data)(struct nilfs_bmap *, __u64 *, __u64 *, int);
88 * struct nilfs_bmap - bmap structure
99 struct nilfs_bmap {
145 int nilfs_bmap_test_and_clear_dirty(struct nilfs_bmap *);
146 int nilfs_bmap_read(struct nilfs_bmap *, struct nilfs_inode *);
147 void nilfs_bmap_write(struct nilfs_bmap *, struct nilfs_inode *);
148 int nilfs_bmap_lookup_contig(struct nilfs_bmap *, __u64, __u64 *, unsigned int);
149 int nilfs_bmap_insert(struct nilfs_bmap *bmap, __u64 key, unsigned long rec);
150 int nilfs_bmap_delete(struct nilfs_bmap *bmap, __u64 key);
151 int nilfs_bmap_seek_key(struct nilfs_bmap *bmap, __u64 start, __u64 *keyp);
152 int nilfs_bmap_last_key(struct nilfs_bmap *bmap, __u64 *keyp);
153 int nilfs_bmap_truncate(struct nilfs_bmap *bmap, __u64 key);
154 void nilfs_bmap_clear(struct nilfs_bmap *);
155 int nilfs_bmap_propagate(struct nilfs_bmap *, struct buffer_head *);
156 void nilfs_bmap_lookup_dirty_buffers(struct nilfs_bmap *, struct list_head *);
157 int nilfs_bmap_assign(struct nilfs_bmap *, struct buffer_head **,
159 int nilfs_bmap_lookup_at_level(struct nilfs_bmap *, __u64, int, __u64 *);
160 int nilfs_bmap_mark(struct nilfs_bmap *, __u64, int);
162 void nilfs_bmap_init_gc(struct nilfs_bmap *);
164 void nilfs_bmap_save(const struct nilfs_bmap *, struct nilfs_bmap_store *);
165 void nilfs_bmap_restore(struct nilfs_bmap *, const struct nilfs_bmap_store *);
167 static inline int nilfs_bmap_lookup(struct nilfs_bmap *bmap, __u64 key,
176 struct inode *nilfs_bmap_get_dat(const struct nilfs_bmap *);
178 static inline int nilfs_bmap_prepare_alloc_ptr(struct nilfs_bmap *bmap,
189 static inline void nilfs_bmap_commit_alloc_ptr(struct nilfs_bmap *bmap,
197 static inline void nilfs_bmap_abort_alloc_ptr(struct nilfs_bmap *bmap,
207 static inline int nilfs_bmap_prepare_end_ptr(struct nilfs_bmap *bmap,
214 static inline void nilfs_bmap_commit_end_ptr(struct nilfs_bmap *bmap,
223 static inline void nilfs_bmap_abort_end_ptr(struct nilfs_bmap *bmap,
231 static inline void nilfs_bmap_set_target_v(struct nilfs_bmap *bmap, __u64 key,
238 __u64 nilfs_bmap_data_get_key(const struct nilfs_bmap *,
241 __u64 nilfs_bmap_find_target_seq(const struct nilfs_bmap *, __u64);
242 __u64 nilfs_bmap_find_target_in_group(const struct nilfs_bmap *);
246 static inline int nilfs_bmap_dirty(const struct nilfs_bmap *bmap)
252 static inline void nilfs_bmap_set_dirty(struct nilfs_bmap *bmap)
258 static inline void nilfs_bmap_clear_dirty(struct nilfs_bmap *bmap)