Searched refs:extent_item (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/fs/btrfs/
H A Dextent-tree.c7259 struct btrfs_extent_item *extent_item; alloc_reserved_file_extent() local
7271 size = sizeof(*extent_item) + btrfs_extent_inline_ref_size(type); alloc_reserved_file_extent()
7286 extent_item = btrfs_item_ptr(leaf, path->slots[0], alloc_reserved_file_extent()
7288 btrfs_set_extent_refs(leaf, extent_item, ref_mod); alloc_reserved_file_extent()
7289 btrfs_set_extent_generation(leaf, extent_item, trans->transid); alloc_reserved_file_extent()
7290 btrfs_set_extent_flags(leaf, extent_item, alloc_reserved_file_extent()
7293 iref = (struct btrfs_extent_inline_ref *)(extent_item + 1); alloc_reserved_file_extent()
7338 struct btrfs_extent_item *extent_item; alloc_reserved_tree_block() local
7343 u32 size = sizeof(*extent_item) + sizeof(*iref); alloc_reserved_tree_block()
7369 extent_item = btrfs_item_ptr(leaf, path->slots[0], alloc_reserved_tree_block()
7371 btrfs_set_extent_refs(leaf, extent_item, 1); alloc_reserved_tree_block()
7372 btrfs_set_extent_generation(leaf, extent_item, trans->transid); alloc_reserved_tree_block()
7373 btrfs_set_extent_flags(leaf, extent_item, alloc_reserved_tree_block()
7377 iref = (struct btrfs_extent_inline_ref *)(extent_item + 1); alloc_reserved_tree_block()
7380 block_info = (struct btrfs_tree_block_info *)(extent_item + 1); alloc_reserved_tree_block()

Completed in 134 milliseconds