Home
last modified time | relevance | path

Searched refs:ref2 (Results 1 – 19 of 19) sorted by relevance

/openbmc/linux/fs/btrfs/
H A Ddelayed-ref.c218 if (ref1->root < ref2->root) in comp_tree_refs()
220 if (ref1->root > ref2->root) in comp_tree_refs()
223 if (ref1->parent < ref2->parent) in comp_tree_refs()
225 if (ref1->parent > ref2->parent) in comp_tree_refs()
238 if (ref1->root < ref2->root) in comp_data_refs()
240 if (ref1->root > ref2->root) in comp_data_refs()
246 if (ref1->offset < ref2->offset) in comp_data_refs()
265 if (ref1->type < ref2->type) in comp_refs()
267 if (ref1->type > ref2->type) in comp_refs()
279 if (ref1->seq < ref2->seq) in comp_refs()
[all …]
H A Dref-verify.c143 static int comp_refs(struct ref_entry *ref1, struct ref_entry *ref2) in comp_refs() argument
145 if (ref1->root_objectid < ref2->root_objectid) in comp_refs()
147 if (ref1->root_objectid > ref2->root_objectid) in comp_refs()
149 if (ref1->parent < ref2->parent) in comp_refs()
151 if (ref1->parent > ref2->parent) in comp_refs()
153 if (ref1->owner < ref2->owner) in comp_refs()
155 if (ref1->owner > ref2->owner) in comp_refs()
157 if (ref1->offset < ref2->offset) in comp_refs()
159 if (ref1->offset > ref2->offset) in comp_refs()
H A Dbackref.c226 struct prelim_ref *ref2) in prelim_ref_compare() argument
228 if (ref1->level < ref2->level) in prelim_ref_compare()
230 if (ref1->level > ref2->level) in prelim_ref_compare()
232 if (ref1->root_id < ref2->root_id) in prelim_ref_compare()
234 if (ref1->root_id > ref2->root_id) in prelim_ref_compare()
236 if (ref1->key_for_search.type < ref2->key_for_search.type) in prelim_ref_compare()
238 if (ref1->key_for_search.type > ref2->key_for_search.type) in prelim_ref_compare()
244 if (ref1->key_for_search.offset < ref2->key_for_search.offset) in prelim_ref_compare()
246 if (ref1->key_for_search.offset > ref2->key_for_search.offset) in prelim_ref_compare()
248 if (ref1->parent < ref2->parent) in prelim_ref_compare()
[all …]
H A Dextent-tree.c592 struct btrfs_shared_data_ref *ref2 = NULL; in remove_extent_data_ref() local
605 ref2 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref()
607 num_refs = btrfs_shared_data_ref_count(leaf, ref2); in remove_extent_data_ref()
625 btrfs_set_shared_data_ref_count(leaf, ref2, num_refs); in remove_extent_data_ref()
637 struct btrfs_shared_data_ref *ref2; in extent_data_ref_count() local
655 ref2 = (struct btrfs_shared_data_ref *)(iref + 1); in extent_data_ref_count()
656 num_refs = btrfs_shared_data_ref_count(leaf, ref2); in extent_data_ref_count()
663 ref2 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count()
665 num_refs = btrfs_shared_data_ref_count(leaf, ref2); in extent_data_ref_count()
/openbmc/linux/lib/lz4/
H A Dlz4hc_compress.c361 const BYTE *ref2 = NULL; in LZ4HC_compress_generic() local
395 matchlimit, ml, &ref2, in LZ4HC_compress_generic()
422 ref = ref2; in LZ4HC_compress_generic()
445 ref2 += correction; in LZ4HC_compress_generic()
489 ref2 += correction; in LZ4HC_compress_generic()
493 ref2 = ref3; in LZ4HC_compress_generic()
506 ref0 = ref2; in LZ4HC_compress_generic()
512 ref2 = ref3; in LZ4HC_compress_generic()
533 ref2 += correction; in LZ4HC_compress_generic()
544 ref = ref2; in LZ4HC_compress_generic()
[all …]
/openbmc/linux/fs/jffs2/
H A Ddebug.c316 struct jffs2_raw_node_ref *ref2 = jeb->first_node; in __jffs2_dbg_acct_paranoia_check_nolock() local
318 while (ref2) { in __jffs2_dbg_acct_paranoia_check_nolock()
319 uint32_t totlen = ref_totlen(c, jeb, ref2); in __jffs2_dbg_acct_paranoia_check_nolock()
321 if (ref_offset(ref2) < jeb->offset || in __jffs2_dbg_acct_paranoia_check_nolock()
322 ref_offset(ref2) > jeb->offset + c->sector_size) { in __jffs2_dbg_acct_paranoia_check_nolock()
324 ref_offset(ref2), jeb->offset); in __jffs2_dbg_acct_paranoia_check_nolock()
328 if (ref_flags(ref2) == REF_UNCHECKED) in __jffs2_dbg_acct_paranoia_check_nolock()
330 else if (!ref_obsolete(ref2)) in __jffs2_dbg_acct_paranoia_check_nolock()
335 if ((!ref_next(ref2)) != (ref2 == jeb->last_node)) { in __jffs2_dbg_acct_paranoia_check_nolock()
337 ref_offset(ref2), ref2, ref_offset(ref_next(ref2)), ref_next(ref2), in __jffs2_dbg_acct_paranoia_check_nolock()
[all …]
/openbmc/linux/drivers/thermal/
H A Dk3_j72xx_bandgap.c85 int m = 0, c, num, den, i, err, idx1, idx2, err1, err2, ref1, ref2; in create_table_segments() local
96 ref2 = err_vals->refs[seg + 1]; in create_table_segments()
102 num = ref2 - ref1; in create_table_segments()
106 c = ref2 - m * err2; in create_table_segments()
/openbmc/linux/arch/x86/kernel/
H A Dtsc.c755 u64 tsc1, tsc2, delta, ref1, ref2; in pit_hpet_ptimer_calibrate_cpu() local
802 tsc2 = tsc_read_refs(&ref2, hpet); in pit_hpet_ptimer_calibrate_cpu()
809 if (ref1 == ref2) in pit_hpet_ptimer_calibrate_cpu()
818 tsc2 = calc_hpet_ref(tsc2, ref1, ref2); in pit_hpet_ptimer_calibrate_cpu()
820 tsc2 = calc_pmtimer_ref(tsc2, ref1, ref2); in pit_hpet_ptimer_calibrate_cpu()
861 if (!hpet && !ref1 && !ref2) { in pit_hpet_ptimer_calibrate_cpu()
880 if (!hpet && !ref1 && !ref2) { in pit_hpet_ptimer_calibrate_cpu()
/openbmc/u-boot/include/dm/
H A Dofnode.h171 static inline bool ofnode_equal(ofnode ref1, ofnode ref2) in ofnode_equal() argument
174 return ref1.of_offset == ref2.of_offset; in ofnode_equal()
/openbmc/linux/Documentation/devicetree/bindings/phy/
H A Dxlnx,zynqmp-psgtr.yaml101 clock-names = "ref1", "ref2", "ref3";
/openbmc/linux/arch/arm64/boot/dts/xilinx/
H A Dzynqmp-zc1751-xm017-dc3.dts136 clock-names = "ref2", "ref3";
H A Dzynqmp-sck-kv-g-revB.dtso76 clock-names = "ref0", "ref1", "ref2";
H A Dzynqmp-sck-kv-g-revA.dtso80 clock-names = "ref0", "ref1", "ref2";
H A Dzynqmp-zc1751-xm015-dc1.dts348 clock-names = "ref1", "ref2", "ref3";
H A Dzynqmp-zcu104-revC.dts449 clock-names = "ref1", "ref2", "ref3";
H A Dzynqmp-zcu104-revA.dts437 clock-names = "ref1", "ref2", "ref3";
H A Dzynqmp-zcu111-revA.dts787 clock-names = "ref1", "ref2", "ref3";
H A Dzynqmp-zcu102-revA.dts950 clock-names = "ref0", "ref1", "ref2", "ref3";
H A Dzynqmp-zcu106-revA.dts957 clock-names = "ref1", "ref2", "ref3";