Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/staging/media/atomisp/pci/base/circbuf/src/
Dcircbuf.c295 int chunk_offset; in ia_css_circbuf_shift_chunk() local
300 chunk_offset = ia_css_circbuf_get_offset(cb, in ia_css_circbuf_shift_chunk()
320 chunk_offset); in ia_css_circbuf_shift_chunk()
/linux-5.19.10/drivers/md/
Ddm-stripe.c206 sector_t chunk_offset; in stripe_map_sector() local
209 chunk_offset = sector_div(chunk, sc->chunk_size); in stripe_map_sector()
211 chunk_offset = chunk & (sc->chunk_size - 1); in stripe_map_sector()
227 *result = chunk + chunk_offset; in stripe_map_sector()
Draid5.c2934 unsigned int chunk_offset; in raid5_compute_sector() local
2951 chunk_offset = sector_div(r_sector, sectors_per_chunk); in raid5_compute_sector()
3126 new_sector = (sector_t)stripe * sectors_per_chunk + chunk_offset; in raid5_compute_sector()
3141 int chunk_offset; in raid5_compute_blocknr() local
3147 chunk_offset = sector_div(new_sector, sectors_per_chunk); in raid5_compute_blocknr()
3237 r_sector = chunk_number * sectors_per_chunk + chunk_offset; in raid5_compute_blocknr()
3552 int chunk_offset = sector_div(stripe, sectors_per_chunk); in stripe_set_idx() local
3557 *sectors_per_chunk + chunk_offset, in stripe_set_idx()
/linux-5.19.10/fs/btrfs/
Dvolumes.c2918 static int btrfs_free_chunk(struct btrfs_trans_handle *trans, u64 chunk_offset) in btrfs_free_chunk() argument
2931 key.offset = chunk_offset; in btrfs_free_chunk()
2953 static int btrfs_del_sys_chunk(struct btrfs_fs_info *fs_info, u64 chunk_offset) in btrfs_del_sys_chunk() argument
2987 key.offset == chunk_offset) { in btrfs_del_sys_chunk()
3036 struct map_lookup *map, u64 chunk_offset) in remove_chunk_item() argument
3055 return btrfs_free_chunk(trans, chunk_offset); in remove_chunk_item()
3058 int btrfs_remove_chunk(struct btrfs_trans_handle *trans, u64 chunk_offset) in btrfs_remove_chunk() argument
3067 em = btrfs_get_chunk_map(fs_info, chunk_offset, 1); in btrfs_remove_chunk()
3138 ret = remove_chunk_item(trans, map, chunk_offset); in btrfs_remove_chunk()
3170 ret = remove_chunk_item(trans, map, chunk_offset); in btrfs_remove_chunk()
[all …]
Dblock-group.h274 const u64 chunk_offset);
285 u64 chunk_offset, u64 size);
Dvolumes.h584 int btrfs_relocate_chunk(struct btrfs_fs_info *fs_info, u64 chunk_offset);
588 bool btrfs_chunk_writeable(struct btrfs_fs_info *fs_info, u64 chunk_offset);
606 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()
571 u64 chunk_offset = cache->start; in btrfs_finish_block_group_to_copy() local
586 em = btrfs_get_chunk_map(fs_info, chunk_offset, 1); in btrfs_finish_block_group_to_copy()
Dblock-group.c1123 struct btrfs_fs_info *fs_info, const u64 chunk_offset) in btrfs_start_trans_remove_block_group() argument
1132 em = lookup_extent_mapping(em_tree, chunk_offset, 1); in btrfs_start_trans_remove_block_group()
1134 ASSERT(em && em->start == chunk_offset); in btrfs_start_trans_remove_block_group()
2314 struct btrfs_device *device, u64 chunk_offset, in insert_dev_extent() argument
2343 btrfs_set_dev_extent_chunk_offset(leaf, extent, chunk_offset); in insert_dev_extent()
2359 u64 chunk_offset, u64 chunk_size) in insert_dev_extents() argument
2370 em = btrfs_get_chunk_map(fs_info, chunk_offset, chunk_size); in insert_dev_extents()
2391 ret = insert_dev_extent(trans, device, chunk_offset, dev_offset, in insert_dev_extents()
2482 u64 chunk_offset, u64 size) in btrfs_make_block_group() argument
2490 cache = btrfs_create_block_group_cache(fs_info, chunk_offset); in btrfs_make_block_group()
[all …]
Dscrub.c3681 u64 chunk_offset; in scrub_enumerate_chunks() local
3747 chunk_offset = btrfs_dev_extent_chunk_offset(l, dev_extent); in scrub_enumerate_chunks()
3753 cache = btrfs_lookup_block_group(fs_info, chunk_offset); in scrub_enumerate_chunks()
3760 ASSERT(cache->start <= chunk_offset); in scrub_enumerate_chunks()
3780 if (cache->start < chunk_offset) { in scrub_enumerate_chunks()
Dctree.h1891 chunk_offset, 64);
/linux-5.19.10/drivers/net/ethernet/microsoft/mana/
Dhw_channel.h70 u32 chunk_offset : 21; member
/linux-5.19.10/include/uapi/linux/
Dbtrfs_tree.h563 __le64 chunk_offset; member
/linux-5.19.10/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()