Lines Matching refs:nodes
93 return btrfs_find_name_in_ext_backref(path->nodes[0], path->slots[0], in btrfs_lookup_inode_extref()
133 extref = btrfs_find_name_in_ext_backref(path->nodes[0], path->slots[0], in btrfs_del_inode_extref()
141 leaf = path->nodes[0]; in btrfs_del_inode_extref()
203 ref = btrfs_find_name_in_backref(path->nodes[0], path->slots[0], name, in btrfs_del_inode_ref()
210 leaf = path->nodes[0]; in btrfs_del_inode_ref()
272 if (btrfs_find_name_in_ext_backref(path->nodes[0], in btrfs_insert_inode_extref()
284 leaf = path->nodes[0]; in btrfs_insert_inode_extref()
290 btrfs_set_inode_extref_name_len(path->nodes[0], extref, name_len); in btrfs_insert_inode_extref()
291 btrfs_set_inode_extref_index(path->nodes[0], extref, index); in btrfs_insert_inode_extref()
292 btrfs_set_inode_extref_parent(path->nodes[0], extref, ref_objectid); in btrfs_insert_inode_extref()
295 write_extent_buffer(path->nodes[0], name, ptr, name_len); in btrfs_insert_inode_extref()
296 btrfs_mark_buffer_dirty(path->nodes[0]); in btrfs_insert_inode_extref()
330 ref = btrfs_find_name_in_backref(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref()
335 old_size = btrfs_item_size_nr(path->nodes[0], path->slots[0]); in btrfs_insert_inode_ref()
337 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref()
340 btrfs_set_inode_ref_name_len(path->nodes[0], ref, name_len); in btrfs_insert_inode_ref()
341 btrfs_set_inode_ref_index(path->nodes[0], ref, index); in btrfs_insert_inode_ref()
346 if (btrfs_find_name_in_backref(path->nodes[0], in btrfs_insert_inode_ref()
355 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref()
357 btrfs_set_inode_ref_name_len(path->nodes[0], ref, name_len); in btrfs_insert_inode_ref()
358 btrfs_set_inode_ref_index(path->nodes[0], ref, index); in btrfs_insert_inode_ref()
361 write_extent_buffer(path->nodes[0], name, ptr, name_len); in btrfs_insert_inode_ref()
362 btrfs_mark_buffer_dirty(path->nodes[0]); in btrfs_insert_inode_ref()
412 leaf = path->nodes[0]; in btrfs_lookup_inode()