Home
last modified time | relevance | path

Searched refs:ref1 (Results 1 – 16 of 16) 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 …]
/linux/arch/x86/kernel/
H A Dtsc.c769 u64 tsc1, tsc2, delta, ref1, ref2; in pit_hpet_ptimer_calibrate_cpu() local
814 tsc1 = tsc_read_refs(&ref1, hpet); in pit_hpet_ptimer_calibrate_cpu()
823 if (ref1 == ref2) in pit_hpet_ptimer_calibrate_cpu()
832 tsc2 = calc_hpet_ref(tsc2, ref1, ref2); in pit_hpet_ptimer_calibrate_cpu()
834 tsc2 = calc_pmtimer_ref(tsc2, ref1, ref2); in pit_hpet_ptimer_calibrate_cpu()
875 if (!hpet && !ref1 && !ref2) { in pit_hpet_ptimer_calibrate_cpu()
894 if (!hpet && !ref1 && !ref2) { in pit_hpet_ptimer_calibrate_cpu()
/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-sck-kv-g-revB.dtso105 clock-names = "ref0", "ref1", "ref2";
H A Dzynqmp-zc1751-xm015-dc1.dts352 clock-names = "ref1", "ref2", "ref3";
H A Dzynqmp-sck-kv-g-revA.dtso105 clock-names = "ref0", "ref1", "ref2";
H A Dzynqmp-sck-kr-g-revB.dtso143 clock-names = "ref0", "ref1", "ref2";
H A Dzynqmp-sck-kr-g-revA.dtso142 clock-names = "ref0", "ref1", "ref2";
H A Dzynqmp-zcu104-revC.dts461 clock-names = "ref1", "ref2", "ref3";
H A Dzynqmp-zcu104-revA.dts449 clock-names = "ref1", "ref2", "ref3";
H A Dzynqmp-zcu100-revC.dts499 clock-names = "ref0", "ref1";
H A Dzynqmp-zcu111-revA.dts799 clock-names = "ref1", "ref2", "ref3";
H A Dzynqmp-zcu106-revA.dts957 clock-names = "ref1", "ref2", "ref3";
H A Dzynqmp-zcu102-revA.dts963 clock-names = "ref0", "ref1", "ref2", "ref3";