Lines Matching defs:item
77 struct btrfs_root_item *item, struct btrfs_key *key)
109 if (item)
110 read_extent_buffer(l, item, btrfs_item_ptr_offset(l, slot),
111 sizeof(*item));
120 int btrfs_set_root_node(struct btrfs_root_item *item,
123 btrfs_set_root_bytenr(item, node->start);
124 btrfs_set_root_level(item, btrfs_header_level(node));
125 btrfs_set_root_generation(item, btrfs_header_generation(node));
130 * copy the data in 'item' into the btree
134 *item)
159 write_extent_buffer(l, item, ptr, sizeof(*item));
168 *item)
171 ret = btrfs_insert_item(trans, root, key, item, sizeof(*item));
177 * the process of being deleted if we crashed. This is any root item with an
184 struct btrfs_item *item;
217 item = btrfs_item_nr(leaf, slot);
327 /* drop the root item for 'key' from 'root' */
420 * add a btrfs_root_ref item. type is either BTRFS_ROOT_REF_KEY