Lines Matching refs:leaf
841 struct extent_buffer *leaf = path->nodes[0]; in btrfs_batch_delete_items() local
847 ASSERT(leaf != NULL); in btrfs_batch_delete_items()
850 last_slot = btrfs_header_nritems(leaf) - 1; in btrfs_batch_delete_items()
876 btrfs_item_key_to_cpu(leaf, &key, slot); in btrfs_batch_delete_items()
1007 struct extent_buffer *leaf; in __btrfs_update_delayed_inode() local
1026 leaf = path->nodes[0]; in __btrfs_update_delayed_inode()
1027 inode_item = btrfs_item_ptr(leaf, path->slots[0], in __btrfs_update_delayed_inode()
1029 write_extent_buffer(leaf, &node->inode_item, (unsigned long)inode_item, in __btrfs_update_delayed_inode()
1031 btrfs_mark_buffer_dirty(trans, leaf); in __btrfs_update_delayed_inode()
1037 if (path->slots[0] >= btrfs_header_nritems(leaf)) in __btrfs_update_delayed_inode()
1040 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in __btrfs_update_delayed_inode()
1083 leaf = path->nodes[0]; in __btrfs_update_delayed_inode()