Lines Matching refs:item_size
596 u32 item_size; in find_inline_backref() local
600 item_size = btrfs_item_size_nr(leaf, slot); in find_inline_backref()
601 if (item_size < sizeof(*ei)) { in find_inline_backref()
611 item_size <= sizeof(*ei) + sizeof(*bi)) { in find_inline_backref()
612 WARN_ON(item_size < sizeof(*ei) + sizeof(*bi)); in find_inline_backref()
616 item_size <= sizeof(*ei)) { in find_inline_backref()
617 WARN_ON(item_size < sizeof(*ei)); in find_inline_backref()
627 *end = (unsigned long)ei + item_size; in find_inline_backref()
3325 u32 item_size; in add_tree_block() local
3330 item_size = btrfs_item_size_nr(eb, path->slots[0]); in add_tree_block()
3333 item_size >= sizeof(*ei) + sizeof(*bi)) { in add_tree_block()
3343 } else if (unlikely(item_size == sizeof(struct btrfs_extent_item_v0))) { in add_tree_block()
3950 u32 item_size; in relocate_block_group() local
3999 item_size = btrfs_item_size_nr(path->nodes[0], path->slots[0]); in relocate_block_group()
4000 if (item_size >= sizeof(*ei)) { in relocate_block_group()
4004 } else if (unlikely(item_size == sizeof(struct btrfs_extent_item_v0))) { in relocate_block_group()