Searched refs:ref1 (Results 1 – 4 of 4) sorted by relevance
/linux-4.19.296/fs/btrfs/ |
D | delayed-ref.c | 30 static int comp_tree_refs(struct btrfs_delayed_tree_ref *ref1, in comp_tree_refs() argument 33 if (ref1->node.type == BTRFS_TREE_BLOCK_REF_KEY) { in comp_tree_refs() 34 if (ref1->root < ref2->root) in comp_tree_refs() 36 if (ref1->root > ref2->root) in comp_tree_refs() 39 if (ref1->parent < ref2->parent) in comp_tree_refs() 41 if (ref1->parent > ref2->parent) in comp_tree_refs() 50 static int comp_data_refs(struct btrfs_delayed_data_ref *ref1, in comp_data_refs() argument 53 if (ref1->node.type == BTRFS_EXTENT_DATA_REF_KEY) { in comp_data_refs() 54 if (ref1->root < ref2->root) in comp_data_refs() 56 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 | 176 static int prelim_ref_compare(struct prelim_ref *ref1, in prelim_ref_compare() argument 179 if (ref1->level < ref2->level) in prelim_ref_compare() 181 if (ref1->level > ref2->level) in prelim_ref_compare() 183 if (ref1->root_id < ref2->root_id) in prelim_ref_compare() 185 if (ref1->root_id > ref2->root_id) in prelim_ref_compare() 187 if (ref1->key_for_search.type < ref2->key_for_search.type) 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.objectid < ref2->key_for_search.objectid) 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.offset < ref2->key_for_search.offset) in prelim_ref_compare() [all …]
|
D | extent-tree.c | 1290 struct btrfs_extent_data_ref *ref1 = NULL; in remove_extent_data_ref() local 1300 ref1 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref() 1302 num_refs = btrfs_extent_data_ref_count(leaf, ref1); in remove_extent_data_ref() 1323 btrfs_set_extent_data_ref_count(leaf, ref1, num_refs); in remove_extent_data_ref() 1336 struct btrfs_extent_data_ref *ref1; in extent_data_ref_count() local 1353 ref1 = (struct btrfs_extent_data_ref *)(&iref->offset); in extent_data_ref_count() 1354 num_refs = btrfs_extent_data_ref_count(leaf, ref1); in extent_data_ref_count() 1360 ref1 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count() 1362 num_refs = btrfs_extent_data_ref_count(leaf, ref1); in extent_data_ref_count()
|