Searched refs:ref1 (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.4/fs/btrfs/ |
| D | delayed-ref.c | 204 static int comp_tree_refs(struct btrfs_delayed_tree_ref *ref1, in comp_tree_refs() argument 207 if (ref1->node.type == BTRFS_TREE_BLOCK_REF_KEY) { in comp_tree_refs() 208 if (ref1->root < ref2->root) in comp_tree_refs() 210 if (ref1->root > ref2->root) in comp_tree_refs() 213 if (ref1->parent < ref2->parent) in comp_tree_refs() 215 if (ref1->parent > ref2->parent) in comp_tree_refs() 224 static int comp_data_refs(struct btrfs_delayed_data_ref *ref1, in comp_data_refs() argument 227 if (ref1->node.type == BTRFS_EXTENT_DATA_REF_KEY) { in comp_data_refs() 228 if (ref1->root < ref2->root) in comp_data_refs() 230 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 | 175 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 …]
|
| D | extent-tree.c | 636 struct btrfs_extent_data_ref *ref1 = NULL; in remove_extent_data_ref() local 646 ref1 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref() 648 num_refs = btrfs_extent_data_ref_count(leaf, ref1); in remove_extent_data_ref() 669 btrfs_set_extent_data_ref_count(leaf, ref1, num_refs); in remove_extent_data_ref() 682 struct btrfs_extent_data_ref *ref1; in extent_data_ref_count() local 699 ref1 = (struct btrfs_extent_data_ref *)(&iref->offset); in extent_data_ref_count() 700 num_refs = btrfs_extent_data_ref_count(leaf, ref1); in extent_data_ref_count() 706 ref1 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count() 708 num_refs = btrfs_extent_data_ref_count(leaf, ref1); in extent_data_ref_count()
|
| /Linux-v5.4/arch/x86/kernel/ |
| D | tsc.c | 711 u64 tsc1, tsc2, delta, ref1, ref2; in pit_hpet_ptimer_calibrate_cpu() local 756 tsc1 = tsc_read_refs(&ref1, hpet); in pit_hpet_ptimer_calibrate_cpu() 765 if (ref1 == ref2) in pit_hpet_ptimer_calibrate_cpu() 774 tsc2 = calc_hpet_ref(tsc2, ref1, ref2); in pit_hpet_ptimer_calibrate_cpu() 776 tsc2 = calc_pmtimer_ref(tsc2, ref1, ref2); in pit_hpet_ptimer_calibrate_cpu() 817 if (!hpet && !ref1 && !ref2) { in pit_hpet_ptimer_calibrate_cpu() 836 if (!hpet && !ref1 && !ref2) { in pit_hpet_ptimer_calibrate_cpu()
|
| /Linux-v5.4/tools/perf/util/ |
| D | bpf-loader.c | 497 struct probe_trace_arg_ref *ref1, *ref2; in compare_tev_args() local 506 ref1 = arg1->ref; in compare_tev_args() 509 while (ref1 && ref2) { in compare_tev_args() 510 ret = ref2->offset - ref1->offset; in compare_tev_args() 514 ref1 = ref1->next; in compare_tev_args() 518 if (ref1 || ref2) in compare_tev_args()
|