Lines Matching refs:eb
23 static void print_chunk(struct extent_buffer *eb, struct btrfs_chunk *chunk) in print_chunk() argument
25 int num_stripes = btrfs_chunk_num_stripes(eb, chunk); in print_chunk()
29 btrfs_chunk_length(eb, chunk), btrfs_chunk_owner(eb, chunk), in print_chunk()
30 btrfs_chunk_type(eb, chunk), num_stripes); in print_chunk()
33 btrfs_stripe_devid_nr(eb, chunk, i), in print_chunk()
34 btrfs_stripe_offset_nr(eb, chunk, i)); in print_chunk()
37 static void print_dev_item(struct extent_buffer *eb, in print_dev_item() argument
42 btrfs_device_id(eb, dev_item), in print_dev_item()
43 btrfs_device_total_bytes(eb, dev_item), in print_dev_item()
44 btrfs_device_bytes_used(eb, dev_item)); in print_dev_item()
46 static void print_extent_data_ref(struct extent_buffer *eb, in print_extent_data_ref() argument
51 btrfs_extent_data_ref_root(eb, ref), in print_extent_data_ref()
52 btrfs_extent_data_ref_objectid(eb, ref), in print_extent_data_ref()
53 btrfs_extent_data_ref_offset(eb, ref), in print_extent_data_ref()
54 btrfs_extent_data_ref_count(eb, ref)); in print_extent_data_ref()
57 static void print_extent_item(struct extent_buffer *eb, int slot, int type) in print_extent_item() argument
66 u32 item_size = btrfs_item_size_nr(eb, slot); in print_extent_item()
74 ei0 = btrfs_item_ptr(eb, slot, struct btrfs_extent_item_v0); in print_extent_item()
76 btrfs_extent_refs_v0(eb, ei0)); in print_extent_item()
83 ei = btrfs_item_ptr(eb, slot, struct btrfs_extent_item); in print_extent_item()
84 flags = btrfs_extent_flags(eb, ei); in print_extent_item()
87 btrfs_extent_refs(eb, ei), btrfs_extent_generation(eb, ei), in print_extent_item()
94 btrfs_tree_block_key(eb, info, &key); in print_extent_item()
99 btrfs_tree_block_level(eb, info)); in print_extent_item()
109 type = btrfs_extent_inline_ref_type(eb, iref); in print_extent_item()
110 offset = btrfs_extent_inline_ref_offset(eb, iref); in print_extent_item()
122 print_extent_data_ref(eb, dref); in print_extent_item()
128 offset, btrfs_shared_data_ref_count(eb, sref)); in print_extent_item()
139 static void print_extent_ref_v0(struct extent_buffer *eb, int slot) in print_extent_ref_v0() argument
143 ref0 = btrfs_item_ptr(eb, slot, struct btrfs_extent_ref_v0); in print_extent_ref_v0()
146 btrfs_ref_root_v0(eb, ref0), in print_extent_ref_v0()
147 btrfs_ref_generation_v0(eb, ref0), in print_extent_ref_v0()
148 btrfs_ref_objectid_v0(eb, ref0), in print_extent_ref_v0()
149 (unsigned long)btrfs_ref_count_v0(eb, ref0)); in print_extent_ref_v0()