Home
last modified time | relevance | path

Searched refs:ref1 (Results 1 – 6 of 6) sorted by relevance

/linux/fs/btrfs/
H A Ddelayed-ref.c271 static int comp_data_refs(const struct btrfs_delayed_ref_node *ref1, in comp_data_refs() argument
274 if (ref1->data_ref.objectid < ref2->data_ref.objectid) in comp_data_refs()
276 if (ref1->data_ref.objectid > ref2->data_ref.objectid) in comp_data_refs()
278 if (ref1->data_ref.offset < ref2->data_ref.offset) in comp_data_refs()
280 if (ref1->data_ref.offset > ref2->data_ref.offset) in comp_data_refs()
285 static int comp_refs(const struct btrfs_delayed_ref_node *ref1, in comp_refs() argument
291 if (ref1->type < ref2->type) in comp_refs()
293 if (ref1->type > ref2->type) in comp_refs()
295 if (ref1->type == BTRFS_SHARED_BLOCK_REF_KEY || in comp_refs()
296 ref1->type == BTRFS_SHARED_DATA_REF_KEY) { in comp_refs()
[all …]
H A Dref-verify.c144 static int comp_refs(struct ref_entry *ref1, struct ref_entry *ref2) in comp_refs() argument
146 if (ref1->root_objectid < ref2->root_objectid) in comp_refs()
148 if (ref1->root_objectid > ref2->root_objectid) in comp_refs()
150 if (ref1->parent < ref2->parent) in comp_refs()
152 if (ref1->parent > ref2->parent) in comp_refs()
154 if (ref1->owner < ref2->owner) in comp_refs()
156 if (ref1->owner > ref2->owner) in comp_refs()
158 if (ref1->offset < ref2->offset) in comp_refs()
160 if (ref1->offset > ref2->offset) in comp_refs()
H A Dbackref.c222 static int prelim_ref_compare(const struct prelim_ref *ref1, in prelim_ref_compare() argument
225 if (ref1->level < ref2->level) in prelim_ref_compare()
227 if (ref1->level > ref2->level) in prelim_ref_compare()
229 if (ref1->root_id < ref2->root_id) in prelim_ref_compare()
231 if (ref1->root_id > ref2->root_id) in prelim_ref_compare()
233 if (ref1->key_for_search.type < ref2->key_for_search.type) in prelim_ref_compare()
235 if (ref1->key_for_search.type > ref2->key_for_search.type) in prelim_ref_compare()
237 if (ref1->key_for_search.objectid < ref2->key_for_search.objectid) in prelim_ref_compare()
239 if (ref1->key_for_search.objectid > ref2->key_for_search.objectid) in prelim_ref_compare()
241 if (ref1->key_for_search.offset < ref2->key_for_search.offset) in prelim_ref_compare()
[all …]
H A Dextent-tree.c582 struct btrfs_extent_data_ref *ref1 = NULL; in remove_extent_data_ref() local
592 ref1 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref()
594 num_refs = btrfs_extent_data_ref_count(leaf, ref1); in remove_extent_data_ref()
614 btrfs_set_extent_data_ref_count(leaf, ref1, num_refs); in remove_extent_data_ref()
626 const struct btrfs_extent_data_ref *ref1; in extent_data_ref_count() local
642 ref1 = (const struct btrfs_extent_data_ref *)(&iref->offset); in extent_data_ref_count()
643 num_refs = btrfs_extent_data_ref_count(leaf, ref1); in extent_data_ref_count()
649 ref1 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count()
651 num_refs = btrfs_extent_data_ref_count(leaf, ref1); in extent_data_ref_count()
/linux/drivers/thermal/
H A Dk3_j72xx_bandgap.c87 int m = 0, c, num, den, i, err, idx1, idx2, err1, err2, ref1, ref2; in create_table_segments() local
97 ref1 = err_vals->refs[seg]; in create_table_segments()
104 num = ref2 - ref1; in create_table_segments()
/linux/arch/arm64/boot/dts/xilinx/
H A Dzynqmp-zc1751-xm015-dc1.dts352 clock-names = "ref1", "ref2", "ref3";