Lines Matching defs:item

39 #include "file-item.h"
172 "unexpected extent item size, has %u expect >= %zu",
771 * points to the extent item, and -EAGAIN is returned.
857 "extent item not found for insert, bytenr %llu num_bytes %llu parent %llu root_objectid %llu owner %llu offset %llu",
869 "unexpected extent item size, has %llu expect >= %zu",
962 * there is no corresponding back ref item.
964 * ref if there is any kind of item for this block
1471 struct btrfs_extent_item *item;
1499 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_extent_item);
1500 refs = btrfs_extent_refs(leaf, item);
1501 btrfs_set_extent_refs(leaf, item, refs + refs_to_add);
1503 __run_delayed_extent_op(extent_op, leaf, item);
1669 "missing extent item for extent %llu num_bytes %llu level %d",
1681 "unexpected extent item size, has %u expect >= %zu",
1793 * the extent item from the extent tree, when there still are references
1794 * to add, which would fail because they would not find the extent item.
2369 * item with such offset, but this is out of the valid range.
2403 /* If extent item has more than 1 inline ref then it's shared */
2678 struct btrfs_file_extent_item *item;
2691 item = btrfs_item_ptr(eb, i, struct btrfs_file_extent_item);
2692 found_type = btrfs_file_extent_type(eb, item);
2695 if (btrfs_file_extent_disk_bytenr(eb, item) == 0)
2697 key.objectid = btrfs_file_extent_disk_bytenr(eb, item);
2698 key.offset = btrfs_file_extent_disk_num_bytes(eb, item);
2912 * Parse an extent item's inline extents looking for a simple quotas owner ref.
2915 * @leaf: a leaf in the extent tree containing the extent item
2916 * @slot: the slot in the leaf where the extent item is found
2918 * Returns the objectid of the root that originally allocated the extent item
2921 * If an extent item has an owner ref item, it will be the first inline ref
2922 * item. Therefore the logic is to check whether there are any inline ref
3012 * It's either inline in EXTENT/METADATA_ITEM or in keyed SHARED_* item.
3021 * item 0 key (13631488 EXTENT_ITEM 1048576) itemoff 16201 itemsize 82
3037 * item 0 key (13631488 EXTENT_ITEM 1048576) itemoff 16201 itemsize 82
3045 * item 0 key (13631488 EXTENT_ITEM 1048576) itemoff 3971 itemsize 24
3048 * item 2 key (13631488 EXTENT_DATA_REF <HASH>) itemoff 3915 itemsize 28
3062 * item 0 key (13631488 EXTENT_ITEM 1048576) itemoff 3971 itemsize 24
3157 /* Must be SHARED_* item, remove the backref first */
3180 * Couldn't find our skinny metadata item,
3181 * see if we have ye olde extent item.
3231 "unexpected extent item size, has %u expect >= %zu",
3244 "invalid extent item size for key (%llu, %u, %llu) slot %u owner %llu, has %u expect >= %zu",
3315 "invalid iref, extent item key (%llu %u %llu) slot %u doesn't have wanted iref",
3323 * No inline ref, we must be at SHARED_* item,
3330 "invalid SHARED_* item slot %u, previous item is not EXTENT/METADATA_ITEM",
3341 * to try to get it from the owning ref item.
6035 /* if we fail to delete the orphan item this time