• Home
  • Raw
  • Download

Lines Matching refs:found_key

1935 		struct btrfs_key found_key;  in run_delalloc_nocow()  local
1957 btrfs_item_key_to_cpu(leaf, &found_key, in run_delalloc_nocow()
1959 if (found_key.objectid == ino && in run_delalloc_nocow()
1960 found_key.type == BTRFS_EXTENT_DATA_KEY) in run_delalloc_nocow()
1979 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in run_delalloc_nocow()
1982 if (found_key.objectid > ino) in run_delalloc_nocow()
1988 if (WARN_ON_ONCE(found_key.objectid < ino) || in run_delalloc_nocow()
1989 found_key.type < BTRFS_EXTENT_DATA_KEY) { in run_delalloc_nocow()
1995 if (found_key.type > BTRFS_EXTENT_DATA_KEY || in run_delalloc_nocow()
1996 found_key.offset > end) in run_delalloc_nocow()
2003 if (found_key.offset > cur_offset) { in run_delalloc_nocow()
2004 extent_end = found_key.offset; in run_delalloc_nocow()
2035 ret = can_nocow_file_extent(path, &found_key, inode, &nocow_args); in run_delalloc_nocow()
2072 cow_start, found_key.offset - 1, in run_delalloc_nocow()
2082 u64 orig_start = found_key.offset - nocow_args.extent_offset; in run_delalloc_nocow()
3703 struct btrfs_key key, found_key; in btrfs_orphan_cleanup() local
3742 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_orphan_cleanup()
3745 if (found_key.objectid != BTRFS_ORPHAN_OBJECTID) in btrfs_orphan_cleanup()
3747 if (found_key.type != BTRFS_ORPHAN_ITEM_KEY) in btrfs_orphan_cleanup()
3759 if (found_key.offset == last_objectid) { in btrfs_orphan_cleanup()
3766 last_objectid = found_key.offset; in btrfs_orphan_cleanup()
3768 found_key.objectid = found_key.offset; in btrfs_orphan_cleanup()
3769 found_key.type = BTRFS_INODE_ITEM_KEY; in btrfs_orphan_cleanup()
3770 found_key.offset = 0; in btrfs_orphan_cleanup()
3798 (unsigned long)found_key.objectid); in btrfs_orphan_cleanup()
3805 key.offset = found_key.objectid - 1; in btrfs_orphan_cleanup()
3850 found_key.objectid); in btrfs_orphan_cleanup()
3852 found_key.objectid); in btrfs_orphan_cleanup()
3894 struct btrfs_key found_key; in acls_after_inode_item() local
3909 btrfs_item_key_to_cpu(leaf, &found_key, slot); in acls_after_inode_item()
3912 if (found_key.objectid != objectid) in acls_after_inode_item()
3916 if (found_key.type == BTRFS_XATTR_ITEM_KEY) { in acls_after_inode_item()
3919 if (found_key.offset == xattr_access || in acls_after_inode_item()
3920 found_key.offset == xattr_default) in acls_after_inode_item()
3928 if (found_key.type > BTRFS_XATTR_ITEM_KEY) in acls_after_inode_item()
5977 struct btrfs_key key, found_key; in btrfs_set_inode_index_count() local
6006 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_set_inode_index_count()
6008 if (found_key.objectid != btrfs_ino(inode) || in btrfs_set_inode_index_count()
6009 found_key.type != BTRFS_DIR_INDEX_KEY) { in btrfs_set_inode_index_count()
6014 inode->index_cnt = found_key.offset + 1; in btrfs_set_inode_index_count()
6119 struct btrfs_key found_key; in btrfs_real_readdir() local
6152 btrfs_for_each_slot(root, &key, &found_key, path, ret) { in btrfs_real_readdir()
6156 if (found_key.objectid != key.objectid) in btrfs_real_readdir()
6158 if (found_key.type != BTRFS_DIR_INDEX_KEY) in btrfs_real_readdir()
6160 if (found_key.offset < ctx->pos) in btrfs_real_readdir()
6162 if (found_key.offset > private->last_index) in btrfs_real_readdir()
6164 if (btrfs_should_delete_dir_index(&del_list, found_key.offset)) in btrfs_real_readdir()
6189 put_unaligned(found_key.offset, &entry->offset); in btrfs_real_readdir()
6984 struct btrfs_key found_key; in btrfs_get_extent() local
7042 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_get_extent()
7043 if (found_key.objectid != objectid || in btrfs_get_extent()
7044 found_key.type != BTRFS_EXTENT_DATA_KEY) { in btrfs_get_extent()
7056 extent_start = found_key.offset; in btrfs_get_extent()
7087 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_get_extent()
7088 if (found_key.objectid != objectid || in btrfs_get_extent()
7089 found_key.type != BTRFS_EXTENT_DATA_KEY) in btrfs_get_extent()
7091 if (start + len <= found_key.offset) in btrfs_get_extent()
7093 if (start > found_key.offset) in btrfs_get_extent()
7099 em->len = found_key.offset - start; in btrfs_get_extent()