Home
last modified time | relevance | path

Searched refs:ref1 (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/fs/btrfs/
Ddelayed-ref.c43 struct btrfs_delayed_tree_ref *ref1, int type) 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()
63 struct btrfs_delayed_data_ref *ref1) in comp_data_refs() argument
65 if (ref1->node.type == BTRFS_EXTENT_DATA_REF_KEY) { in comp_data_refs()
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()
[all …]
Dbackref.c455 static inline int ref_for_same_block(struct __prelim_ref *ref1, 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()
526 struct __prelim_ref *ref1; in __merge_refs() local
528 ref1 = list_entry(pos1, struct __prelim_ref, list); in __merge_refs()
539 if (!ref_for_same_block(ref1, ref2)) in __merge_refs()
[all …]
Dextent-tree.c1268 struct btrfs_extent_data_ref *ref1 = NULL; in remove_extent_data_ref() local
1278 ref1 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref()
1280 num_refs = btrfs_extent_data_ref_count(leaf, ref1); in remove_extent_data_ref()
1304 btrfs_set_extent_data_ref_count(leaf, ref1, num_refs); in remove_extent_data_ref()
1326 struct btrfs_extent_data_ref *ref1; in extent_data_ref_count() local
1335 ref1 = (struct btrfs_extent_data_ref *)(&iref->offset); in extent_data_ref_count()
1336 num_refs = btrfs_extent_data_ref_count(leaf, ref1); in extent_data_ref_count()
1342 ref1 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count()
1344 num_refs = btrfs_extent_data_ref_count(leaf, ref1); in extent_data_ref_count()
/linux-4.1.27/arch/x86/kernel/
Dtsc.c649 u64 tsc1, tsc2, delta, ref1, ref2; in native_calibrate_tsc() local
707 tsc1 = tsc_read_refs(&ref1, 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()