Searched refs:ref1 (Results 1 – 4 of 4) sorted by relevance
/fs/btrfs/ |
D | delayed-ref.c | 207 static int comp_tree_refs(struct btrfs_delayed_tree_ref *ref1, in comp_tree_refs() argument 210 if (ref1->node.type == BTRFS_TREE_BLOCK_REF_KEY) { in comp_tree_refs() 211 if (ref1->root < ref2->root) in comp_tree_refs() 213 if (ref1->root > ref2->root) in comp_tree_refs() 216 if (ref1->parent < ref2->parent) in comp_tree_refs() 218 if (ref1->parent > ref2->parent) in comp_tree_refs() 227 static int comp_data_refs(struct btrfs_delayed_data_ref *ref1, in comp_data_refs() argument 230 if (ref1->node.type == BTRFS_EXTENT_DATA_REF_KEY) { in comp_data_refs() 231 if (ref1->root < ref2->root) in comp_data_refs() 233 if (ref1->root > ref2->root) in comp_data_refs() [all …]
|
D | ref-verify.c | 140 static int comp_refs(struct ref_entry *ref1, struct ref_entry *ref2) in comp_refs() argument 142 if (ref1->root_objectid < ref2->root_objectid) in comp_refs() 144 if (ref1->root_objectid > ref2->root_objectid) in comp_refs() 146 if (ref1->parent < ref2->parent) in comp_refs() 148 if (ref1->parent > ref2->parent) in comp_refs() 150 if (ref1->owner < ref2->owner) in comp_refs() 152 if (ref1->owner > ref2->owner) in comp_refs() 154 if (ref1->offset < ref2->offset) in comp_refs() 156 if (ref1->offset > ref2->offset) in comp_refs()
|
D | backref.c | 178 static int prelim_ref_compare(struct prelim_ref *ref1, in prelim_ref_compare() argument 181 if (ref1->level < ref2->level) in prelim_ref_compare() 183 if (ref1->level > ref2->level) in prelim_ref_compare() 185 if (ref1->root_id < ref2->root_id) in prelim_ref_compare() 187 if (ref1->root_id > ref2->root_id) in prelim_ref_compare() 189 if (ref1->key_for_search.type < ref2->key_for_search.type) in prelim_ref_compare() 191 if (ref1->key_for_search.type > ref2->key_for_search.type) in prelim_ref_compare() 193 if (ref1->key_for_search.objectid < ref2->key_for_search.objectid) in prelim_ref_compare() 195 if (ref1->key_for_search.objectid > ref2->key_for_search.objectid) in prelim_ref_compare() 197 if (ref1->key_for_search.offset < ref2->key_for_search.offset) in prelim_ref_compare() [all …]
|
D | extent-tree.c | 600 struct btrfs_extent_data_ref *ref1 = NULL; in remove_extent_data_ref() local 610 ref1 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref() 612 num_refs = btrfs_extent_data_ref_count(leaf, ref1); in remove_extent_data_ref() 633 btrfs_set_extent_data_ref_count(leaf, ref1, num_refs); in remove_extent_data_ref() 646 struct btrfs_extent_data_ref *ref1; in extent_data_ref_count() local 663 ref1 = (struct btrfs_extent_data_ref *)(&iref->offset); in extent_data_ref_count() 664 num_refs = btrfs_extent_data_ref_count(leaf, ref1); in extent_data_ref_count() 670 ref1 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count() 672 num_refs = btrfs_extent_data_ref_count(leaf, ref1); in extent_data_ref_count()
|