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()
3678 struct btrfs_key key, found_key; in btrfs_orphan_cleanup() local
3717 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_orphan_cleanup()
3720 if (found_key.objectid != BTRFS_ORPHAN_OBJECTID) in btrfs_orphan_cleanup()
3722 if (found_key.type != BTRFS_ORPHAN_ITEM_KEY) in btrfs_orphan_cleanup()
3734 if (found_key.offset == last_objectid) { in btrfs_orphan_cleanup()
3741 last_objectid = found_key.offset; in btrfs_orphan_cleanup()
3743 found_key.objectid = found_key.offset; in btrfs_orphan_cleanup()
3744 found_key.type = BTRFS_INODE_ITEM_KEY; in btrfs_orphan_cleanup()
3745 found_key.offset = 0; in btrfs_orphan_cleanup()
3773 (unsigned long)found_key.objectid); in btrfs_orphan_cleanup()
3780 key.offset = found_key.objectid - 1; in btrfs_orphan_cleanup()
3825 found_key.objectid); in btrfs_orphan_cleanup()
3827 found_key.objectid); in btrfs_orphan_cleanup()
3869 struct btrfs_key found_key; in acls_after_inode_item() local
3884 btrfs_item_key_to_cpu(leaf, &found_key, slot); in acls_after_inode_item()
3887 if (found_key.objectid != objectid) in acls_after_inode_item()
3891 if (found_key.type == BTRFS_XATTR_ITEM_KEY) { in acls_after_inode_item()
3894 if (found_key.offset == xattr_access || in acls_after_inode_item()
3895 found_key.offset == xattr_default) in acls_after_inode_item()
3903 if (found_key.type > BTRFS_XATTR_ITEM_KEY) in acls_after_inode_item()
5953 struct btrfs_key found_key; in btrfs_real_readdir() local
5985 btrfs_for_each_slot(root, &key, &found_key, path, ret) { in btrfs_real_readdir()
5989 if (found_key.objectid != key.objectid) in btrfs_real_readdir()
5991 if (found_key.type != BTRFS_DIR_INDEX_KEY) in btrfs_real_readdir()
5993 if (found_key.offset < ctx->pos) in btrfs_real_readdir()
5995 if (btrfs_should_delete_dir_index(&del_list, found_key.offset)) in btrfs_real_readdir()
6020 put_unaligned(found_key.offset, &entry->offset); in btrfs_real_readdir()
6138 struct btrfs_key key, found_key; in btrfs_set_inode_index_count() local
6167 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_set_inode_index_count()
6169 if (found_key.objectid != btrfs_ino(inode) || in btrfs_set_inode_index_count()
6170 found_key.type != BTRFS_DIR_INDEX_KEY) { in btrfs_set_inode_index_count()
6175 inode->index_cnt = found_key.offset + 1; in btrfs_set_inode_index_count()
6849 struct btrfs_key found_key; in btrfs_get_extent() local
6907 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_get_extent()
6908 if (found_key.objectid != objectid || in btrfs_get_extent()
6909 found_key.type != BTRFS_EXTENT_DATA_KEY) { in btrfs_get_extent()
6921 extent_start = found_key.offset; in btrfs_get_extent()
6952 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_get_extent()
6953 if (found_key.objectid != objectid || in btrfs_get_extent()
6954 found_key.type != BTRFS_EXTENT_DATA_KEY) in btrfs_get_extent()
6956 if (start + len <= found_key.offset) in btrfs_get_extent()
6958 if (start > found_key.offset) in btrfs_get_extent()
6964 em->len = found_key.offset - start; in btrfs_get_extent()