Lines Matching refs:key_for_search
189 if (ref1->key_for_search.type < ref2->key_for_search.type) in prelim_ref_compare()
191 if (ref1->key_for_search.type > ref2->key_for_search.type) in prelim_ref_compare()
193 if (ref1->key_for_search.objectid < ref2->key_for_search.objectid) in prelim_ref_compare()
195 if (ref1->key_for_search.objectid > ref2->key_for_search.objectid) in prelim_ref_compare()
197 if (ref1->key_for_search.offset < ref2->key_for_search.offset) in prelim_ref_compare()
199 if (ref1->key_for_search.offset > ref2->key_for_search.offset) in prelim_ref_compare()
356 ref->key_for_search = *key; in add_prelim_ref()
358 memset(&ref->key_for_search, 0, sizeof(ref->key_for_search)); in add_prelim_ref()
429 struct btrfs_key *key_for_search = &ref->key_for_search; in add_all_parents() local
472 if (key.objectid != key_for_search->objectid || in add_all_parents()
500 if (ref->key_for_search.offset == key.offset - data_offset) in add_all_parents()
553 struct btrfs_key search_key = ref->key_for_search; in resolve_indirect_ref()
624 ref->key_for_search.objectid, ref->key_for_search.type, in resolve_indirect_ref()
625 ref->key_for_search.offset); in resolve_indirect_ref()
807 BUG_ON(ref->key_for_search.type); in add_missing_keys()
823 btrfs_item_key_to_cpu(eb, &ref->key_for_search, 0); in add_missing_keys()
825 btrfs_node_key_to_cpu(eb, &ref->key_for_search, 0); in add_missing_keys()