Lines Matching refs:key
2487 * did not find a key, so make it some distinct negative value.
2602 * file range [768K, 2M[, since that's the first key that follows the
2773 struct btrfs_key key;
2797 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]);
2798 if (key.objectid != btrfs_ino(inode) || key.type != BTRFS_EXTENT_DATA_KEY) {
2839 struct btrfs_key key;
2843 key.objectid = ino;
2844 key.type = BTRFS_EXTENT_DATA_KEY;
2845 key.offset = file_offset;
2847 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0);
2852 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0] - 1);
2853 if (key.objectid == ino && key.type == BTRFS_EXTENT_DATA_KEY)
2862 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]);
2863 if (key.objectid != ino || key.type != BTRFS_EXTENT_DATA_KEY)
3026 struct btrfs_key key;
3041 * For a non-existing key, btrfs_search_slot() always leaves us at a
3049 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]);
3050 if (key.objectid != ino || key.type != BTRFS_EXTENT_DATA_KEY) {
3150 struct btrfs_key key;
3160 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]);
3161 if (key.objectid != ino || key.type != BTRFS_EXTENT_DATA_KEY)
3176 if (prev_extent_end < key.offset) {
3177 const u64 hole_end = min(key.offset, range_end) - 1;
3192 if (key.offset >= range_end) {
3198 extent_len = extent_end - key.offset;
3217 ret = emit_fiemap_extent(fieinfo, &cache, key.offset, 0,
3224 extent_gen, key.offset,
3231 key.offset, extent_end - 1);
3245 ret = emit_fiemap_extent(fieinfo, &cache, key.offset,