Lines Matching refs:found_key
1588 struct btrfs_key *found_key) in btrfs_find_item() argument
1595 ASSERT(found_key); in btrfs_find_item()
1613 btrfs_item_key_to_cpu(eb, found_key, path->slots[0]); in btrfs_find_item()
1614 if (found_key->type != key.type || in btrfs_find_item()
1615 found_key->objectid != key.objectid) in btrfs_find_item()
4414 struct btrfs_disk_key found_key; in btrfs_prev_leaf() local
4436 btrfs_item_key(path->nodes[0], &found_key, 0); in btrfs_prev_leaf()
4437 ret = comp_keys(&found_key, &key); in btrfs_prev_leaf()
4477 struct btrfs_key found_key; in btrfs_search_forward() local
4513 btrfs_item_key_to_cpu(cur, &found_key, slot); in btrfs_search_forward()
4549 btrfs_node_key_to_cpu(cur, &found_key, slot); in btrfs_search_forward()
4571 memcpy(min_key, &found_key, sizeof(found_key)); in btrfs_search_forward()
4863 struct btrfs_key found_key; in btrfs_previous_item() local
4883 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_previous_item()
4884 if (found_key.objectid < min_objectid) in btrfs_previous_item()
4886 if (found_key.type == type) in btrfs_previous_item()
4888 if (found_key.objectid == min_objectid && in btrfs_previous_item()
4889 found_key.type < type) in btrfs_previous_item()
4904 struct btrfs_key found_key; in btrfs_previous_extent_item() local
4924 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_previous_extent_item()
4925 if (found_key.objectid < min_objectid) in btrfs_previous_extent_item()
4927 if (found_key.type == BTRFS_EXTENT_ITEM_KEY || in btrfs_previous_extent_item()
4928 found_key.type == BTRFS_METADATA_ITEM_KEY) in btrfs_previous_extent_item()
4930 if (found_key.objectid == min_objectid && in btrfs_previous_extent_item()
4931 found_key.type < BTRFS_EXTENT_ITEM_KEY) in btrfs_previous_extent_item()