Lines Matching refs:found_key
1478 struct btrfs_key found_key;
1502 btrfs_item_key_to_cpu(leaf, &found_key,
1504 if (found_key.objectid == ino &&
1505 found_key.type == BTRFS_EXTENT_DATA_KEY)
1524 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]);
1527 if (found_key.objectid > ino)
1533 if (WARN_ON_ONCE(found_key.objectid < ino) ||
1534 found_key.type < BTRFS_EXTENT_DATA_KEY) {
1540 if (found_key.type > BTRFS_EXTENT_DATA_KEY ||
1541 found_key.offset > end)
1548 if (found_key.offset > cur_offset) {
1549 extent_end = found_key.offset;
1567 extent_end = found_key.offset +
1604 found_key.offset -
1621 disk_bytenr += cur_offset - found_key.offset;
1653 extent_end = found_key.offset + ram_bytes;
1682 * COW range from cow_start to found_key.offset - 1. As the key
1688 cow_start, found_key.offset - 1,
1696 u64 orig_start = found_key.offset - extent_offset;
3042 struct btrfs_key key, found_key;
3081 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]);
3084 if (found_key.objectid != BTRFS_ORPHAN_OBJECTID)
3086 if (found_key.type != BTRFS_ORPHAN_ITEM_KEY)
3098 if (found_key.offset == last_objectid) {
3105 last_objectid = found_key.offset;
3107 found_key.objectid = found_key.offset;
3108 found_key.type = BTRFS_INODE_ITEM_KEY;
3109 found_key.offset = 0;
3133 (unsigned long)found_key.objectid);
3140 key.offset = found_key.objectid - 1;
3174 found_key.objectid);
3176 found_key.objectid);
3220 struct btrfs_key found_key;
3235 btrfs_item_key_to_cpu(leaf, &found_key, slot);
3238 if (found_key.objectid != objectid)
3242 if (found_key.type == BTRFS_XATTR_ITEM_KEY) {
3245 if (found_key.offset == xattr_access ||
3246 found_key.offset == xattr_default)
3254 if (found_key.type > BTRFS_XATTR_ITEM_KEY)
4221 struct btrfs_key found_key;
4315 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]);
4316 found_type = found_key.type;
4318 if (found_key.objectid != ino)
4324 item_end = found_key.offset;
4335 found_key.offset);
4342 found_key.offset);
4351 if (found_key.offset >= new_size)
4364 clear_start = found_key.offset;
4370 found_key.offset,
4386 extent_offset = found_key.offset -
4408 u32 size = (u32)(new_size - found_key.offset);
4448 last_size = found_key.offset;
5664 struct btrfs_key found_key;
5716 btrfs_item_key_to_cpu(leaf, &found_key, slot);
5718 if (found_key.objectid != key.objectid)
5720 if (found_key.type != BTRFS_DIR_INDEX_KEY)
5722 if (found_key.offset < ctx->pos)
5724 if (btrfs_should_delete_dir_index(&del_list, found_key.offset))
5749 put_unaligned(found_key.offset, &entry->offset);
5865 struct btrfs_key key, found_key;
5900 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]);
5902 if (found_key.objectid != btrfs_ino(inode) ||
5903 found_key.type != BTRFS_DIR_INDEX_KEY) {
5908 inode->index_cnt = found_key.offset + 1;
6603 struct btrfs_key found_key;
6660 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]);
6661 if (found_key.objectid != objectid ||
6662 found_key.type != BTRFS_EXTENT_DATA_KEY) {
6674 extent_start = found_key.offset;
6705 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]);
6706 if (found_key.objectid != objectid ||
6707 found_key.type != BTRFS_EXTENT_DATA_KEY)
6709 if (start + len <= found_key.offset)
6711 if (start > found_key.offset)
6717 em->len = found_key.offset - start;