Searched refs:ref1 (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/fs/btrfs/ |
D | delayed-ref.c | 203 static int comp_tree_refs(struct btrfs_delayed_tree_ref *ref1, in comp_tree_refs() argument 206 if (ref1->node.type == BTRFS_TREE_BLOCK_REF_KEY) { in comp_tree_refs() 207 if (ref1->root < ref2->root) in comp_tree_refs() 209 if (ref1->root > ref2->root) in comp_tree_refs() 212 if (ref1->parent < ref2->parent) in comp_tree_refs() 214 if (ref1->parent > ref2->parent) in comp_tree_refs() 223 static int comp_data_refs(struct btrfs_delayed_data_ref *ref1, in comp_data_refs() argument 226 if (ref1->node.type == BTRFS_EXTENT_DATA_REF_KEY) { in comp_data_refs() 227 if (ref1->root < ref2->root) in comp_data_refs() 229 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 | 177 static int prelim_ref_compare(struct prelim_ref *ref1, in prelim_ref_compare() argument 180 if (ref1->level < ref2->level) in prelim_ref_compare() 182 if (ref1->level > ref2->level) in prelim_ref_compare() 184 if (ref1->root_id < ref2->root_id) in prelim_ref_compare() 186 if (ref1->root_id > ref2->root_id) 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.type > ref2->key_for_search.type) 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.objectid > ref2->key_for_search.objectid) in prelim_ref_compare() 196 if (ref1->key_for_search.offset < ref2->key_for_search.offset) in prelim_ref_compare() [all …]
|
D | extent-tree.c | 598 struct btrfs_extent_data_ref *ref1 = NULL; in remove_extent_data_ref() local 608 ref1 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref() 610 num_refs = btrfs_extent_data_ref_count(leaf, ref1); in remove_extent_data_ref() 631 btrfs_set_extent_data_ref_count(leaf, ref1, num_refs); in remove_extent_data_ref() 644 struct btrfs_extent_data_ref *ref1; in extent_data_ref_count() local 661 ref1 = (struct btrfs_extent_data_ref *)(&iref->offset); in extent_data_ref_count() 662 num_refs = btrfs_extent_data_ref_count(leaf, ref1); in extent_data_ref_count() 668 ref1 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count() 670 num_refs = btrfs_extent_data_ref_count(leaf, ref1); in extent_data_ref_count()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | tsc.c | 718 u64 tsc1, tsc2, delta, ref1, ref2; in pit_hpet_ptimer_calibrate_cpu() local 763 tsc1 = tsc_read_refs(&ref1, hpet); in pit_hpet_ptimer_calibrate_cpu() 772 if (ref1 == ref2) in pit_hpet_ptimer_calibrate_cpu() 781 tsc2 = calc_hpet_ref(tsc2, ref1, ref2); in pit_hpet_ptimer_calibrate_cpu() 783 tsc2 = calc_pmtimer_ref(tsc2, ref1, ref2); in pit_hpet_ptimer_calibrate_cpu() 824 if (!hpet && !ref1 && !ref2) { in pit_hpet_ptimer_calibrate_cpu() 843 if (!hpet && !ref1 && !ref2) { in pit_hpet_ptimer_calibrate_cpu()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | bpf-loader.c | 489 struct probe_trace_arg_ref *ref1, *ref2; in compare_tev_args() local 498 ref1 = arg1->ref; in compare_tev_args() 501 while (ref1 && ref2) { in compare_tev_args() 502 ret = ref2->offset - ref1->offset; in compare_tev_args() 506 ref1 = ref1->next; in compare_tev_args() 510 if (ref1 || ref2) in compare_tev_args()
|