Home
last modified time | relevance | path

Searched refs:chunk_offset (Results 1 – 8 of 8) sorted by relevance

/fs/btrfs/
Dvolumes.c2977 static int btrfs_free_chunk(struct btrfs_trans_handle *trans, u64 chunk_offset) in btrfs_free_chunk() argument
2990 key.offset = chunk_offset; in btrfs_free_chunk()
3012 static int btrfs_del_sys_chunk(struct btrfs_fs_info *fs_info, u64 chunk_offset) in btrfs_del_sys_chunk() argument
3046 key.offset == chunk_offset) { in btrfs_del_sys_chunk()
3096 struct map_lookup *map, u64 chunk_offset) in remove_chunk_item() argument
3115 return btrfs_free_chunk(trans, chunk_offset); in remove_chunk_item()
3118 int btrfs_remove_chunk(struct btrfs_trans_handle *trans, u64 chunk_offset) in btrfs_remove_chunk() argument
3127 em = btrfs_get_chunk_map(fs_info, chunk_offset, 1); in btrfs_remove_chunk()
3198 ret = remove_chunk_item(trans, map, chunk_offset); in btrfs_remove_chunk()
3230 ret = remove_chunk_item(trans, map, chunk_offset); in btrfs_remove_chunk()
[all …]
Dblock-group.h300 const u64 chunk_offset);
311 u64 chunk_offset, u64 size);
Dvolumes.h664 int btrfs_relocate_chunk(struct btrfs_fs_info *fs_info, u64 chunk_offset);
668 bool btrfs_chunk_writeable(struct btrfs_fs_info *fs_info, u64 chunk_offset);
688 int btrfs_remove_chunk(struct btrfs_trans_handle *trans, u64 chunk_offset);
Ddev-replace.c479 u64 chunk_offset; in mark_block_group_to_copy() local
542 chunk_offset = btrfs_dev_extent_chunk_offset(leaf, dev_extent); in mark_block_group_to_copy()
544 cache = btrfs_lookup_block_group(fs_info, chunk_offset); in mark_block_group_to_copy()
568 u64 chunk_offset = cache->start; in btrfs_finish_block_group_to_copy() local
583 em = btrfs_get_chunk_map(fs_info, chunk_offset, 1); in btrfs_finish_block_group_to_copy()
Dblock-group.c1146 struct btrfs_fs_info *fs_info, const u64 chunk_offset) in btrfs_start_trans_remove_block_group() argument
1155 em = lookup_extent_mapping(em_tree, chunk_offset, 1); in btrfs_start_trans_remove_block_group()
1157 ASSERT(em && em->start == chunk_offset); in btrfs_start_trans_remove_block_group()
2403 struct btrfs_device *device, u64 chunk_offset, in insert_dev_extent() argument
2432 btrfs_set_dev_extent_chunk_offset(leaf, extent, chunk_offset); in insert_dev_extent()
2448 u64 chunk_offset, u64 chunk_size) in insert_dev_extents() argument
2459 em = btrfs_get_chunk_map(fs_info, chunk_offset, chunk_size); in insert_dev_extents()
2480 ret = insert_dev_extent(trans, device, chunk_offset, dev_offset, in insert_dev_extents()
2573 u64 chunk_offset, u64 size) in btrfs_make_block_group() argument
2581 cache = btrfs_create_block_group_cache(fs_info, chunk_offset); in btrfs_make_block_group()
[all …]
Dscrub.c3839 u64 chunk_offset; in scrub_enumerate_chunks() local
3905 chunk_offset = btrfs_dev_extent_chunk_offset(l, dev_extent); in scrub_enumerate_chunks()
3911 cache = btrfs_lookup_block_group(fs_info, chunk_offset); in scrub_enumerate_chunks()
3918 ASSERT(cache->start <= chunk_offset); in scrub_enumerate_chunks()
3938 if (cache->start < chunk_offset) { in scrub_enumerate_chunks()
Dctree.h2039 chunk_offset, 64);
/fs/ceph/
Ddir.c615 loff_t chunk_offset; in need_reset_readdir() local
627 chunk_offset = rinfo->dir_entries[0].offset; in need_reset_readdir()
628 return new_pos < chunk_offset || in need_reset_readdir()
629 is_hash_order(new_pos) != is_hash_order(chunk_offset); in need_reset_readdir()