Home
last modified time | relevance | path

Searched refs:nilfs_bmap (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/fs/nilfs2/
Dbmap.h25 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);
[all …]
Dbmap.c22 struct inode *nilfs_bmap_get_dat(const struct nilfs_bmap *bmap) in nilfs_bmap_get_dat()
29 static int nilfs_bmap_convert_error(struct nilfs_bmap *bmap, in nilfs_bmap_convert_error()
62 int nilfs_bmap_lookup_at_level(struct nilfs_bmap *bmap, __u64 key, int level, in nilfs_bmap_lookup_at_level()
86 int nilfs_bmap_lookup_contig(struct nilfs_bmap *bmap, __u64 key, __u64 *ptrp, in nilfs_bmap_lookup_contig()
98 static int nilfs_bmap_do_insert(struct nilfs_bmap *bmap, __u64 key, __u64 ptr) in nilfs_bmap_do_insert()
142 int nilfs_bmap_insert(struct nilfs_bmap *bmap, __u64 key, unsigned long rec) in nilfs_bmap_insert()
153 static int nilfs_bmap_do_delete(struct nilfs_bmap *bmap, __u64 key) in nilfs_bmap_do_delete()
197 int nilfs_bmap_seek_key(struct nilfs_bmap *bmap, __u64 start, __u64 *keyp) in nilfs_bmap_seek_key()
210 int nilfs_bmap_last_key(struct nilfs_bmap *bmap, __u64 *keyp) in nilfs_bmap_last_key()
240 int nilfs_bmap_delete(struct nilfs_bmap *bmap, __u64 key) in nilfs_bmap_delete()
[all …]
Ddirect.c17 static inline __le64 *nilfs_direct_dptrs(const struct nilfs_bmap *direct) in nilfs_direct_dptrs()
24 nilfs_direct_get_ptr(const struct nilfs_bmap *direct, __u64 key) in nilfs_direct_get_ptr()
29 static inline void nilfs_direct_set_ptr(struct nilfs_bmap *direct, in nilfs_direct_set_ptr()
35 static int nilfs_direct_lookup(const struct nilfs_bmap *direct, in nilfs_direct_lookup()
50 static int nilfs_direct_lookup_contig(const struct nilfs_bmap *direct, in nilfs_direct_lookup_contig()
93 nilfs_direct_find_target_v(const struct nilfs_bmap *direct, __u64 key) in nilfs_direct_find_target_v()
106 static int nilfs_direct_insert(struct nilfs_bmap *bmap, __u64 key, __u64 ptr) in nilfs_direct_insert()
142 static int nilfs_direct_delete(struct nilfs_bmap *bmap, __u64 key) in nilfs_direct_delete()
164 static int nilfs_direct_seek_key(const struct nilfs_bmap *direct, __u64 start, in nilfs_direct_seek_key()
179 static int nilfs_direct_last_key(const struct nilfs_bmap *direct, __u64 *keyp) in nilfs_direct_last_key()
[all …]
Dbtree.h36 void (*bp_op)(struct nilfs_bmap *, struct nilfs_btree_path *,
57 int nilfs_btree_init(struct nilfs_bmap *);
58 int nilfs_btree_convert_and_insert(struct nilfs_bmap *, __u64, __u64,
60 void nilfs_btree_init_gc(struct nilfs_bmap *);
Dbtree.c21 static void __nilfs_btree_init(struct nilfs_bmap *bmap);
58 static int nilfs_btree_get_new_block(const struct nilfs_bmap *btree, in nilfs_btree_get_new_block()
111 static int nilfs_btree_node_size(const struct nilfs_bmap *btree) in nilfs_btree_node_size()
116 static int nilfs_btree_nchildren_per_block(const struct nilfs_bmap *btree) in nilfs_btree_nchildren_per_block()
409 nilfs_btree_get_root(const struct nilfs_bmap *btree) in nilfs_btree_get_root()
426 static int nilfs_btree_height(const struct nilfs_bmap *btree) in nilfs_btree_height()
432 nilfs_btree_get_node(const struct nilfs_bmap *btree, in nilfs_btree_get_node()
448 static int nilfs_btree_bad_node(const struct nilfs_bmap *btree, in nilfs_btree_bad_node()
469 static int __nilfs_btree_get_block(const struct nilfs_bmap *btree, __u64 ptr, in __nilfs_btree_get_block()
529 static int nilfs_btree_get_block(const struct nilfs_bmap *btree, __u64 ptr, in nilfs_btree_get_block()
[all …]
Ddirect.h23 int nilfs_direct_init(struct nilfs_bmap *);
24 int nilfs_direct_delete_and_convert(struct nilfs_bmap *, __u64, __u64 *,
Dnilfs.h41 struct nilfs_bmap *i_bmap;
42 struct nilfs_bmap i_bmap_data;
73 NILFS_BMAP_I(const struct nilfs_bmap *bmap) in NILFS_BMAP_I()
Dioctl.c467 struct nilfs_bmap *bmap = NILFS_I(nilfs->ns_dat)->i_bmap; in nilfs_ioctl_do_get_bdescs()
763 struct nilfs_bmap *bmap = NILFS_I(nilfs->ns_dat)->i_bmap; in nilfs_ioctl_mark_blocks_dirty()