Home
last modified time | relevance | path

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

/Linux-v4.19/fs/btrfs/
Ddelayed-ref.c30 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 …]
Dref-verify.c140 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()
Dbackref.c175 static int prelim_ref_compare(struct prelim_ref *ref1, in prelim_ref_compare() argument
178 if (ref1->level < ref2->level) in prelim_ref_compare()
180 if (ref1->level > ref2->level) in prelim_ref_compare()
182 if (ref1->root_id < ref2->root_id) in prelim_ref_compare()
184 if (ref1->root_id > ref2->root_id) in prelim_ref_compare()
186 if (ref1->key_for_search.type < ref2->key_for_search.type) in prelim_ref_compare()
188 if (ref1->key_for_search.type > ref2->key_for_search.type) in prelim_ref_compare()
190 if (ref1->key_for_search.objectid < ref2->key_for_search.objectid) in prelim_ref_compare()
192 if (ref1->key_for_search.objectid > ref2->key_for_search.objectid) in prelim_ref_compare()
194 if (ref1->key_for_search.offset < ref2->key_for_search.offset) in prelim_ref_compare()
[all …]
Dextent-tree.c1291 struct btrfs_extent_data_ref *ref1 = NULL; in remove_extent_data_ref() local
1301 ref1 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref()
1303 num_refs = btrfs_extent_data_ref_count(leaf, ref1); in remove_extent_data_ref()
1324 btrfs_set_extent_data_ref_count(leaf, ref1, num_refs); in remove_extent_data_ref()
1337 struct btrfs_extent_data_ref *ref1; in extent_data_ref_count() local
1354 ref1 = (struct btrfs_extent_data_ref *)(&iref->offset); in extent_data_ref_count()
1355 num_refs = btrfs_extent_data_ref_count(leaf, ref1); in extent_data_ref_count()
1361 ref1 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count()
1363 num_refs = btrfs_extent_data_ref_count(leaf, ref1); in extent_data_ref_count()
/Linux-v4.19/arch/x86/kernel/
Dtsc.c690 u64 tsc1, tsc2, delta, ref1, ref2; in pit_hpet_ptimer_calibrate_cpu() local
735 tsc1 = tsc_read_refs(&ref1, hpet); in pit_hpet_ptimer_calibrate_cpu()
744 if (ref1 == ref2) in pit_hpet_ptimer_calibrate_cpu()
753 tsc2 = calc_hpet_ref(tsc2, ref1, ref2); in pit_hpet_ptimer_calibrate_cpu()
755 tsc2 = calc_pmtimer_ref(tsc2, ref1, ref2); in pit_hpet_ptimer_calibrate_cpu()
796 if (!hpet && !ref1 && !ref2) { in pit_hpet_ptimer_calibrate_cpu()
815 if (!hpet && !ref1 && !ref2) { in pit_hpet_ptimer_calibrate_cpu()
/Linux-v4.19/tools/perf/util/
Dbpf-loader.c506 struct probe_trace_arg_ref *ref1, *ref2; in compare_tev_args() local
515 ref1 = arg1->ref; in compare_tev_args()
518 while (ref1 && ref2) { in compare_tev_args()
519 ret = ref2->offset - ref1->offset; in compare_tev_args()
523 ref1 = ref1->next; in compare_tev_args()
527 if (ref1 || ref2) in compare_tev_args()