Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/btrfs/
Ddelayed-ref.c204 struct btrfs_delayed_tree_ref *ref2) in comp_tree_refs() argument
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()
224 struct btrfs_delayed_data_ref *ref2) in comp_data_refs() argument
227 if (ref1->root < ref2->root) in comp_data_refs()
229 if (ref1->root > ref2->root) in comp_data_refs()
231 if (ref1->objectid < ref2->objectid) in comp_data_refs()
233 if (ref1->objectid > ref2->objectid) 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.c178 struct prelim_ref *ref2) 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 …]
Dextent-tree.c599 struct btrfs_shared_data_ref *ref2 = NULL; in remove_extent_data_ref() local
612 ref2 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref()
614 num_refs = btrfs_shared_data_ref_count(leaf, ref2); in remove_extent_data_ref()
633 btrfs_set_shared_data_ref_count(leaf, ref2, num_refs); in remove_extent_data_ref()
645 struct btrfs_shared_data_ref *ref2; in extent_data_ref_count() local
664 ref2 = (struct btrfs_shared_data_ref *)(iref + 1); in extent_data_ref_count()
665 num_refs = btrfs_shared_data_ref_count(leaf, ref2); in extent_data_ref_count()
672 ref2 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count()
674 num_refs = btrfs_shared_data_ref_count(leaf, ref2); in extent_data_ref_count()
/kernel/linux/linux-5.10/lib/lz4/
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()
473 ml2, ref2, limit, oend)) 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()
[all …]
/kernel/linux/linux-5.10/fs/jffs2/
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 …]
/kernel/linux/linux-5.10/arch/x86/kernel/
Dtsc.c718 u64 tsc1, tsc2, delta, ref1, ref2; in pit_hpet_ptimer_calibrate_cpu() local
765 tsc2 = tsc_read_refs(&ref2, 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/
Dbpf-loader.c489 struct probe_trace_arg_ref *ref1, *ref2; in compare_tev_args() local
499 ref2 = arg2->ref; in compare_tev_args()
501 while (ref1 && ref2) { in compare_tev_args()
502 ret = ref2->offset - ref1->offset; in compare_tev_args()
507 ref2 = ref2->next; in compare_tev_args()
510 if (ref1 || ref2) in compare_tev_args()
511 return ref2 ? 1 : -1; in compare_tev_args()