Lines Matching refs:block_entry
63 struct block_entry { struct
75 static struct block_entry *insert_block_entry(struct rb_root *root, in insert_block_entry() argument
76 struct block_entry *be) in insert_block_entry()
80 struct block_entry *entry; in insert_block_entry()
84 entry = rb_entry(parent_node, struct block_entry, node); in insert_block_entry()
98 static struct block_entry *lookup_block_entry(struct rb_root *root, u64 bytenr) in lookup_block_entry()
101 struct block_entry *entry = NULL; in lookup_block_entry()
105 entry = rb_entry(n, struct block_entry, node); in lookup_block_entry()
232 static void free_block_entry(struct block_entry *be) in free_block_entry()
260 static struct block_entry *add_block_entry(struct btrfs_fs_info *fs_info, in add_block_entry()
264 struct block_entry *be = NULL, *exist; in add_block_entry()
268 be = kzalloc(sizeof(struct block_entry), GFP_KERNEL); in add_block_entry()
312 struct block_entry *be; in add_tree_block()
358 struct block_entry *be; in add_shared_data_ref()
388 struct block_entry *be; in add_extent_data_ref()
633 struct block_entry *be) in dump_block_entry()
676 struct block_entry *be = NULL; in btrfs_ref_tree_mod()
901 struct block_entry *be; in btrfs_free_ref_cache()
909 be = rb_entry(n, struct block_entry, node); in btrfs_free_ref_cache()
920 struct block_entry *be = NULL, *entry; in btrfs_free_ref_tree_range()
929 entry = rb_entry(n, struct block_entry, node); in btrfs_free_ref_tree_range()
956 be = rb_entry(n, struct block_entry, node); in btrfs_free_ref_tree_range()