Lines Matching refs:file_key
167 struct btrfs_key file_key; in btrfs_insert_hole_extent() local
174 file_key.objectid = objectid; in btrfs_insert_hole_extent()
175 file_key.offset = pos; in btrfs_insert_hole_extent()
176 file_key.type = BTRFS_EXTENT_DATA_KEY; in btrfs_insert_hole_extent()
178 ret = btrfs_insert_empty_item(trans, root, path, &file_key, in btrfs_insert_hole_extent()
211 struct btrfs_key file_key; in btrfs_lookup_csum() local
219 file_key.objectid = BTRFS_EXTENT_CSUM_OBJECTID; in btrfs_lookup_csum()
220 file_key.offset = bytenr; in btrfs_lookup_csum()
221 file_key.type = BTRFS_EXTENT_CSUM_KEY; in btrfs_lookup_csum()
222 ret = btrfs_search_slot(trans, root, &file_key, path, 0, cow); in btrfs_lookup_csum()
262 struct btrfs_key file_key; in btrfs_lookup_file_extent() local
266 file_key.objectid = objectid; in btrfs_lookup_file_extent()
267 file_key.offset = offset; in btrfs_lookup_file_extent()
268 file_key.type = BTRFS_EXTENT_DATA_KEY; in btrfs_lookup_file_extent()
270 return btrfs_search_slot(trans, root, &file_key, path, ins_len, cow); in btrfs_lookup_file_extent()
1043 struct btrfs_key file_key; in btrfs_csum_file_blocks() local
1066 file_key.objectid = BTRFS_EXTENT_CSUM_OBJECTID; in btrfs_csum_file_blocks()
1067 file_key.offset = bytenr; in btrfs_csum_file_blocks()
1068 file_key.type = BTRFS_EXTENT_CSUM_KEY; in btrfs_csum_file_blocks()
1122 ret = btrfs_search_slot(trans, root, &file_key, path, in btrfs_csum_file_blocks()
1218 tmp = min(tmp, (next_offset - file_key.offset) >> in btrfs_csum_file_blocks()
1227 ret = btrfs_insert_empty_item(trans, root, path, &file_key, in btrfs_csum_file_blocks()