Searched refs:ref2 (Results 1 – 6 of 6) sorted by relevance
/linux-4.1.27/fs/btrfs/ |
D | delayed-ref.c | 42 static int comp_tree_refs(struct btrfs_delayed_tree_ref *ref2, in comp_tree_refs() argument 46 if (ref1->root < ref2->root) in comp_tree_refs() 48 if (ref1->root > ref2->root) in comp_tree_refs() 51 if (ref1->parent < ref2->parent) in comp_tree_refs() 53 if (ref1->parent > ref2->parent) in comp_tree_refs() 62 static int comp_data_refs(struct btrfs_delayed_data_ref *ref2, in comp_data_refs() argument 66 if (ref1->root < ref2->root) in comp_data_refs() 68 if (ref1->root > ref2->root) in comp_data_refs() 70 if (ref1->objectid < ref2->objectid) in comp_data_refs() 72 if (ref1->objectid > ref2->objectid) in comp_data_refs() [all …]
|
D | backref.c | 456 struct __prelim_ref *ref2) in ref_for_same_block() argument 458 if (ref1->level != ref2->level) in ref_for_same_block() 460 if (ref1->root_id != ref2->root_id) in ref_for_same_block() 462 if (ref1->key_for_search.type != ref2->key_for_search.type) in ref_for_same_block() 464 if (ref1->key_for_search.objectid != ref2->key_for_search.objectid) in ref_for_same_block() 466 if (ref1->key_for_search.offset != ref2->key_for_search.offset) in ref_for_same_block() 468 if (ref1->parent != ref2->parent) in ref_for_same_block() 532 struct __prelim_ref *ref2; in __merge_refs() local 536 ref2 = list_entry(pos2, struct __prelim_ref, list); in __merge_refs() 539 if (!ref_for_same_block(ref1, ref2)) in __merge_refs() [all …]
|
D | extent-tree.c | 1269 struct btrfs_shared_data_ref *ref2 = NULL; in remove_extent_data_ref() local 1282 ref2 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref() 1284 num_refs = btrfs_shared_data_ref_count(leaf, ref2); in remove_extent_data_ref() 1306 btrfs_set_shared_data_ref_count(leaf, ref2, num_refs); in remove_extent_data_ref() 1327 struct btrfs_shared_data_ref *ref2; in extent_data_ref_count() local 1338 ref2 = (struct btrfs_shared_data_ref *)(iref + 1); in extent_data_ref_count() 1339 num_refs = btrfs_shared_data_ref_count(leaf, ref2); in extent_data_ref_count() 1346 ref2 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count() 1348 num_refs = btrfs_shared_data_ref_count(leaf, ref2); in extent_data_ref_count()
|
/linux-4.1.27/lib/lz4/ |
D | lz4hc_compress.c | 333 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.1.27/fs/jffs2/ |
D | debug.c | 316 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.1.27/arch/x86/kernel/ |
D | tsc.c | 649 u64 tsc1, tsc2, delta, ref1, ref2; in native_calibrate_tsc() local 709 tsc2 = tsc_read_refs(&ref2, hpet); in native_calibrate_tsc() 716 if (ref1 == ref2) in native_calibrate_tsc() 725 tsc2 = calc_hpet_ref(tsc2, ref1, ref2); in native_calibrate_tsc() 727 tsc2 = calc_pmtimer_ref(tsc2, ref1, ref2); in native_calibrate_tsc() 768 if (!hpet && !ref1 && !ref2) { in native_calibrate_tsc() 787 if (!hpet && !ref1 && !ref2) { in native_calibrate_tsc()
|