Lines Matching refs:found_key

1955 		struct btrfs_key found_key;  in run_delalloc_nocow()  local
1977 btrfs_item_key_to_cpu(leaf, &found_key, in run_delalloc_nocow()
1979 if (found_key.objectid == ino && in run_delalloc_nocow()
1980 found_key.type == BTRFS_EXTENT_DATA_KEY) in run_delalloc_nocow()
1999 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in run_delalloc_nocow()
2002 if (found_key.objectid > ino) in run_delalloc_nocow()
2008 if (WARN_ON_ONCE(found_key.objectid < ino) || in run_delalloc_nocow()
2009 found_key.type < BTRFS_EXTENT_DATA_KEY) { in run_delalloc_nocow()
2015 if (found_key.type > BTRFS_EXTENT_DATA_KEY || in run_delalloc_nocow()
2016 found_key.offset > end) in run_delalloc_nocow()
2023 if (found_key.offset > cur_offset) { in run_delalloc_nocow()
2024 extent_end = found_key.offset; in run_delalloc_nocow()
2055 ret = can_nocow_file_extent(path, &found_key, inode, &nocow_args); in run_delalloc_nocow()
2092 cow_start, found_key.offset - 1, in run_delalloc_nocow()
2102 u64 orig_start = found_key.offset - nocow_args.extent_offset; in run_delalloc_nocow()
3550 struct btrfs_key key, found_key; in btrfs_orphan_cleanup() local
3589 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_orphan_cleanup()
3592 if (found_key.objectid != BTRFS_ORPHAN_OBJECTID) in btrfs_orphan_cleanup()
3594 if (found_key.type != BTRFS_ORPHAN_ITEM_KEY) in btrfs_orphan_cleanup()
3606 if (found_key.offset == last_objectid) { in btrfs_orphan_cleanup()
3613 last_objectid = found_key.offset; in btrfs_orphan_cleanup()
3615 found_key.objectid = found_key.offset; in btrfs_orphan_cleanup()
3616 found_key.type = BTRFS_INODE_ITEM_KEY; in btrfs_orphan_cleanup()
3617 found_key.offset = 0; in btrfs_orphan_cleanup()
3645 (unsigned long)found_key.objectid); in btrfs_orphan_cleanup()
3652 key.offset = found_key.objectid - 1; in btrfs_orphan_cleanup()
3697 found_key.objectid); in btrfs_orphan_cleanup()
3699 found_key.objectid); in btrfs_orphan_cleanup()
3741 struct btrfs_key found_key; in acls_after_inode_item() local
3756 btrfs_item_key_to_cpu(leaf, &found_key, slot); in acls_after_inode_item()
3759 if (found_key.objectid != objectid) in acls_after_inode_item()
3763 if (found_key.type == BTRFS_XATTR_ITEM_KEY) { in acls_after_inode_item()
3766 if (found_key.offset == xattr_access || in acls_after_inode_item()
3767 found_key.offset == xattr_default) in acls_after_inode_item()
3775 if (found_key.type > BTRFS_XATTR_ITEM_KEY) in acls_after_inode_item()
5860 struct btrfs_key found_key; in btrfs_real_readdir() local
5892 btrfs_for_each_slot(root, &key, &found_key, path, ret) { in btrfs_real_readdir()
5897 if (found_key.objectid != key.objectid) in btrfs_real_readdir()
5899 if (found_key.type != BTRFS_DIR_INDEX_KEY) in btrfs_real_readdir()
5901 if (found_key.offset < ctx->pos) in btrfs_real_readdir()
5903 if (btrfs_should_delete_dir_index(&del_list, found_key.offset)) in btrfs_real_readdir()
5928 put_unaligned(found_key.offset, &entry->offset); in btrfs_real_readdir()
6046 struct btrfs_key key, found_key; in btrfs_set_inode_index_count() local
6075 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_set_inode_index_count()
6077 if (found_key.objectid != btrfs_ino(inode) || in btrfs_set_inode_index_count()
6078 found_key.type != BTRFS_DIR_INDEX_KEY) { in btrfs_set_inode_index_count()
6083 inode->index_cnt = found_key.offset + 1; in btrfs_set_inode_index_count()
6798 struct btrfs_key found_key; in btrfs_get_extent() local
6856 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_get_extent()
6857 if (found_key.objectid != objectid || in btrfs_get_extent()
6858 found_key.type != BTRFS_EXTENT_DATA_KEY) { in btrfs_get_extent()
6870 extent_start = found_key.offset; in btrfs_get_extent()
6901 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_get_extent()
6902 if (found_key.objectid != objectid || in btrfs_get_extent()
6903 found_key.type != BTRFS_EXTENT_DATA_KEY) in btrfs_get_extent()
6905 if (start + len <= found_key.offset) in btrfs_get_extent()
6907 if (start > found_key.offset) in btrfs_get_extent()
6913 em->len = found_key.offset - start; in btrfs_get_extent()