Home
last modified time | relevance | path

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

/linux-4.4.14/fs/btrfs/
Ddelayed-ref.c44 struct btrfs_delayed_tree_ref *ref1, int type) 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()
64 struct btrfs_delayed_data_ref *ref1) in comp_data_refs() argument
66 if (ref1->node.type == BTRFS_EXTENT_DATA_REF_KEY) { in comp_data_refs()
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()
[all …]
Dbackref.c498 static inline int ref_for_same_block(struct __prelim_ref *ref1, 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()
571 struct __prelim_ref *ref1; in __merge_refs() local
573 ref1 = list_entry(pos1, struct __prelim_ref, list); in __merge_refs()
583 if (!ref_for_same_block(ref1, ref2)) in __merge_refs()
[all …]
Dextent-tree.c1330 struct btrfs_extent_data_ref *ref1 = NULL; in remove_extent_data_ref() local
1340 ref1 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref()
1342 num_refs = btrfs_extent_data_ref_count(leaf, ref1); in remove_extent_data_ref()
1366 btrfs_set_extent_data_ref_count(leaf, ref1, num_refs); in remove_extent_data_ref()
1387 struct btrfs_extent_data_ref *ref1; in extent_data_ref_count() local
1396 ref1 = (struct btrfs_extent_data_ref *)(&iref->offset); in extent_data_ref_count()
1397 num_refs = btrfs_extent_data_ref_count(leaf, ref1); in extent_data_ref_count()
1403 ref1 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count()
1405 num_refs = btrfs_extent_data_ref_count(leaf, ref1); in extent_data_ref_count()
/linux-4.4.14/arch/x86/kernel/
Dtsc.c667 u64 tsc1, tsc2, delta, ref1, ref2; in native_calibrate_tsc() local
725 tsc1 = tsc_read_refs(&ref1, 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()