Lines Matching refs:slot
28 int slot; in btrfs_uuid_tree_lookup() local
54 slot = path->slots[0]; in btrfs_uuid_tree_lookup()
55 item_size = btrfs_item_size_nr(eb, slot); in btrfs_uuid_tree_lookup()
56 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_lookup()
91 int slot; in btrfs_uuid_tree_add() local
117 slot = path->slots[0]; in btrfs_uuid_tree_add()
118 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_add()
126 slot = path->slots[0]; in btrfs_uuid_tree_add()
127 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_add()
128 offset += btrfs_item_size_nr(eb, slot) - sizeof(subid_le); in btrfs_uuid_tree_add()
156 int slot; in btrfs_uuid_tree_remove() local
188 slot = path->slots[0]; in btrfs_uuid_tree_remove()
189 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_remove()
190 item_size = btrfs_item_size_nr(eb, slot); in btrfs_uuid_tree_remove()
212 item_size = btrfs_item_size_nr(eb, slot); in btrfs_uuid_tree_remove()
220 move_len = item_size - (move_src - btrfs_item_ptr_offset(eb, slot)); in btrfs_uuid_tree_remove()
298 int slot; in btrfs_uuid_tree_iterate() local
327 slot = path->slots[0]; in btrfs_uuid_tree_iterate()
328 btrfs_item_key_to_cpu(leaf, &key, slot); in btrfs_uuid_tree_iterate()
334 offset = btrfs_item_ptr_offset(leaf, slot); in btrfs_uuid_tree_iterate()
335 item_size = btrfs_item_size_nr(leaf, slot); in btrfs_uuid_tree_iterate()