Lines Matching defs:key
2465 * file range [768K, 2M[, since that's the first key that follows the
2612 struct btrfs_key key;
2628 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]);
2629 if (key.objectid != btrfs_ino(inode) || key.type != BTRFS_EXTENT_DATA_KEY)
2656 struct btrfs_key key;
2660 key.objectid = ino;
2661 key.type = BTRFS_EXTENT_DATA_KEY;
2662 key.offset = file_offset;
2664 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0);
2669 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0] - 1);
2670 if (key.objectid == ino && key.type == BTRFS_EXTENT_DATA_KEY)
2679 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]);
2680 if (key.objectid != ino || key.type != BTRFS_EXTENT_DATA_KEY)
2843 struct btrfs_key key;
2858 * For a non-existing key, btrfs_search_slot() always leaves us at a
2866 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]);
2867 if (key.objectid != ino || key.type != BTRFS_EXTENT_DATA_KEY) {
2962 struct btrfs_key key;
2972 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]);
2973 if (key.objectid != ino || key.type != BTRFS_EXTENT_DATA_KEY)
2988 if (prev_extent_end < key.offset) {
2989 const u64 range_end = min(key.offset, lockend) - 1;
3004 if (key.offset >= lockend) {
3010 extent_len = extent_end - key.offset;
3029 ret = emit_fiemap_extent(fieinfo, &cache, key.offset, 0,
3036 extent_gen, key.offset,
3043 key.offset, extent_end - 1);
3057 ret = emit_fiemap_extent(fieinfo, &cache, key.offset,