Lines Matching refs:ref_entry
30 struct ref_entry { struct
51 struct ref_entry ref; argument
140 static int comp_refs(struct ref_entry *ref1, struct ref_entry *ref2) in comp_refs()
161 static struct ref_entry *insert_ref_entry(struct rb_root *root, in insert_ref_entry()
162 struct ref_entry *ref) in insert_ref_entry()
166 struct ref_entry *entry; in insert_ref_entry()
171 entry = rb_entry(parent_node, struct ref_entry, node); in insert_ref_entry()
235 struct ref_entry *ref; in free_block_entry()
246 ref = rb_entry(n, struct ref_entry, node); in free_block_entry()
312 struct ref_entry *ref = NULL, *exist; in add_tree_block()
314 ref = kmalloc(sizeof(struct ref_entry), GFP_KERNEL); in add_tree_block()
357 struct ref_entry *ref; in add_shared_data_ref()
359 ref = kzalloc(sizeof(struct ref_entry), GFP_KERNEL); in add_shared_data_ref()
387 struct ref_entry *ref; in add_extent_data_ref()
394 ref = kzalloc(sizeof(struct ref_entry), GFP_KERNEL); in add_extent_data_ref()
633 struct ref_entry *ref; in dump_block_entry()
644 ref = rb_entry(n, struct ref_entry, node); in dump_block_entry()
672 struct ref_entry *ref = NULL, *exist; in btrfs_ref_tree_mod()
700 ref = kzalloc(sizeof(struct ref_entry), GFP_NOFS); in btrfs_ref_tree_mod()
718 memcpy(&ra->ref, ref, sizeof(struct ref_entry)); in btrfs_ref_tree_mod()