Home
last modified time | relevance | path

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

/linux-4.4.14/lib/lz4/
Dlz4hc_compress.c333 const u8 *ref2 = NULL; in lz4_compresshcctx() local
357 ip + 1, matchlimit, ml, &ref2, &start2); in lz4_compresshcctx()
381 ref = ref2; in lz4_compresshcctx()
401 ref2 += correction; in lz4_compresshcctx()
425 lz4_encodesequence(&ip, &op, &anchor, ml2, ref2); in lz4_compresshcctx()
440 ref2 += correction; in lz4_compresshcctx()
444 ref2 = ref3; in lz4_compresshcctx()
455 ref0 = ref2; in lz4_compresshcctx()
461 ref2 = ref3; in lz4_compresshcctx()
481 ref2 += correction; in lz4_compresshcctx()
[all …]
/linux-4.4.14/fs/btrfs/
Ddelayed-ref.c43 static int comp_tree_refs(struct btrfs_delayed_tree_ref *ref2, in comp_tree_refs() argument
47 if (ref1->root < ref2->root) in comp_tree_refs()
49 if (ref1->root > ref2->root) in comp_tree_refs()
52 if (ref1->parent < ref2->parent) in comp_tree_refs()
54 if (ref1->parent > ref2->parent) in comp_tree_refs()
63 static int comp_data_refs(struct btrfs_delayed_data_ref *ref2, in comp_data_refs() argument
67 if (ref1->root < ref2->root) in comp_data_refs()
69 if (ref1->root > ref2->root) in comp_data_refs()
71 if (ref1->objectid < ref2->objectid) in comp_data_refs()
73 if (ref1->objectid > ref2->objectid) in comp_data_refs()
[all …]
Dbackref.c499 struct __prelim_ref *ref2) in ref_for_same_block() argument
501 if (ref1->level != ref2->level) in ref_for_same_block()
503 if (ref1->root_id != ref2->root_id) in ref_for_same_block()
505 if (ref1->key_for_search.type != ref2->key_for_search.type) in ref_for_same_block()
507 if (ref1->key_for_search.objectid != ref2->key_for_search.objectid) in ref_for_same_block()
509 if (ref1->key_for_search.offset != ref2->key_for_search.offset) in ref_for_same_block()
511 if (ref1->parent != ref2->parent) in ref_for_same_block()
577 struct __prelim_ref *ref2; in __merge_refs() local
581 ref2 = list_entry(pos2, struct __prelim_ref, list); in __merge_refs()
583 if (!ref_for_same_block(ref1, ref2)) in __merge_refs()
[all …]
Dextent-tree.c1331 struct btrfs_shared_data_ref *ref2 = NULL; in remove_extent_data_ref() local
1344 ref2 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref()
1346 num_refs = btrfs_shared_data_ref_count(leaf, ref2); in remove_extent_data_ref()
1368 btrfs_set_shared_data_ref_count(leaf, ref2, num_refs); in remove_extent_data_ref()
1388 struct btrfs_shared_data_ref *ref2; in extent_data_ref_count() local
1399 ref2 = (struct btrfs_shared_data_ref *)(iref + 1); in extent_data_ref_count()
1400 num_refs = btrfs_shared_data_ref_count(leaf, ref2); in extent_data_ref_count()
1407 ref2 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count()
1409 num_refs = btrfs_shared_data_ref_count(leaf, ref2); in extent_data_ref_count()
/linux-4.4.14/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 …]
/linux-4.4.14/arch/x86/kernel/
Dtsc.c667 u64 tsc1, tsc2, delta, ref1, ref2; in native_calibrate_tsc() local
727 tsc2 = tsc_read_refs(&ref2, hpet); in native_calibrate_tsc()
734 if (ref1 == ref2) in native_calibrate_tsc()
743 tsc2 = calc_hpet_ref(tsc2, ref1, ref2); in native_calibrate_tsc()
745 tsc2 = calc_pmtimer_ref(tsc2, ref1, ref2); in native_calibrate_tsc()
786 if (!hpet && !ref1 && !ref2) { in native_calibrate_tsc()
805 if (!hpet && !ref1 && !ref2) { in native_calibrate_tsc()