Searched refs:sref (Results 1 – 4 of 4) sorted by relevance
/linux/fs/btrfs/ |
H A D | print-tree.c | 98 struct btrfs_shared_data_ref *sref; in print_extent_item() local 163 sref = (struct btrfs_shared_data_ref *)(iref + 1); in print_extent_item() 165 offset, btrfs_shared_data_ref_count(eb, sref)); in print_extent_item() 241 struct btrfs_shared_data_ref *sref; in btrfs_print_leaf() local 300 sref = btrfs_item_ptr(l, i, in btrfs_print_leaf() 303 btrfs_shared_data_ref_count(l, sref)); in btrfs_print_leaf()
|
H A D | ref-verify.c | 439 struct btrfs_shared_data_ref *sref; in process_extent_item() local 484 sref = (struct btrfs_shared_data_ref *)(iref + 1); in process_extent_item() 485 count = btrfs_shared_data_ref_count(leaf, sref); in process_extent_item() 515 struct btrfs_shared_data_ref *sref; in process_leaf() local 547 sref = btrfs_item_ptr(leaf, i, in process_leaf() 549 count = btrfs_shared_data_ref_count(leaf, sref); in process_leaf()
|
H A D | tree-checker.c | 1456 struct btrfs_shared_data_ref *sref; in check_extent_item() local 1539 sref = (struct btrfs_shared_data_ref *)(iref + 1); in check_extent_item() 1547 if (unlikely(btrfs_shared_data_ref_count(leaf, sref) == 0)) { in check_extent_item() 1552 inline_refs += btrfs_shared_data_ref_count(leaf, sref); in check_extent_item() 1625 struct btrfs_shared_data_ref *sref; in check_simple_keyed_refs() local 1627 sref = btrfs_item_ptr(leaf, slot, struct btrfs_shared_data_ref); in check_simple_keyed_refs() 1628 if (unlikely(btrfs_shared_data_ref_count(leaf, sref) == 0)) { in check_simple_keyed_refs()
|
H A D | extent-tree.c | 1044 struct btrfs_shared_data_ref *sref; in setup_inline_extent_backref() local 1045 sref = (struct btrfs_shared_data_ref *)(iref + 1); in setup_inline_extent_backref() 1046 btrfs_set_shared_data_ref_count(leaf, sref, refs_to_add); in setup_inline_extent_backref() 1097 struct btrfs_shared_data_ref *sref = NULL; in update_inline_extent_backref() local 1139 sref = (struct btrfs_shared_data_ref *)(iref + 1); in update_inline_extent_backref() 1140 refs = btrfs_shared_data_ref_count(leaf, sref); in update_inline_extent_backref() 1186 btrfs_set_shared_data_ref_count(leaf, sref, refs); in update_inline_extent_backref()
|