Lines Matching refs:newref
227 struct prelim_ref *newref, in prelim_ref_insert() argument
243 result = prelim_ref_compare(ref, newref); in prelim_ref_insert()
257 ref->inode_list = newref->inode_list; in prelim_ref_insert()
259 eie->next = newref->inode_list; in prelim_ref_insert()
260 trace_btrfs_prelim_ref_merge(fs_info, ref, newref, in prelim_ref_insert()
268 ref->count + newref->count); in prelim_ref_insert()
269 ref->count += newref->count; in prelim_ref_insert()
270 free_pref(newref); in prelim_ref_insert()
275 update_share_count(sc, 0, newref->count); in prelim_ref_insert()
277 trace_btrfs_prelim_ref_insert(fs_info, newref, NULL, preftree->count); in prelim_ref_insert()
278 rb_link_node(&newref->rbnode, parent, p); in prelim_ref_insert()
279 rb_insert_color_cached(&newref->rbnode, root, leftmost); in prelim_ref_insert()