Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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.c2999 unsigned int chunk_offset; in raid5_compute_sector() local
3016 chunk_offset = sector_div(r_sector, sectors_per_chunk); in raid5_compute_sector()
3191 new_sector = (sector_t)stripe * sectors_per_chunk + chunk_offset; in raid5_compute_sector()
3206 int chunk_offset; in raid5_compute_blocknr() local
3212 chunk_offset = sector_div(new_sector, sectors_per_chunk); in raid5_compute_blocknr()
3302 r_sector = chunk_number * sectors_per_chunk + chunk_offset; in raid5_compute_blocknr()
3642 int chunk_offset = sector_div(stripe, sectors_per_chunk); in stripe_set_idx() local
3647 *sectors_per_chunk + chunk_offset, in stripe_set_idx()
/linux-6.1.9/fs/btrfs/ !
Dvolumes.c2942 static int btrfs_free_chunk(struct btrfs_trans_handle *trans, u64 chunk_offset) in btrfs_free_chunk() argument
2955 key.offset = chunk_offset; in btrfs_free_chunk()
2977 static int btrfs_del_sys_chunk(struct btrfs_fs_info *fs_info, u64 chunk_offset) in btrfs_del_sys_chunk() argument
3011 key.offset == chunk_offset) { in btrfs_del_sys_chunk()
3060 struct map_lookup *map, u64 chunk_offset) in remove_chunk_item() argument
3079 return btrfs_free_chunk(trans, chunk_offset); in remove_chunk_item()
3082 int btrfs_remove_chunk(struct btrfs_trans_handle *trans, u64 chunk_offset) in btrfs_remove_chunk() argument
3091 em = btrfs_get_chunk_map(fs_info, chunk_offset, 1); in btrfs_remove_chunk()
3162 ret = remove_chunk_item(trans, map, chunk_offset); in btrfs_remove_chunk()
3194 ret = remove_chunk_item(trans, map, chunk_offset); in btrfs_remove_chunk()
[all …]
Dblock-group.h291 const u64 chunk_offset);
302 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.c1114 struct btrfs_fs_info *fs_info, const u64 chunk_offset) in btrfs_start_trans_remove_block_group() argument
1123 em = lookup_extent_mapping(em_tree, chunk_offset, 1); in btrfs_start_trans_remove_block_group()
1125 ASSERT(em && em->start == chunk_offset); in btrfs_start_trans_remove_block_group()
2295 struct btrfs_device *device, u64 chunk_offset, in insert_dev_extent() argument
2324 btrfs_set_dev_extent_chunk_offset(leaf, extent, chunk_offset); in insert_dev_extent()
2340 u64 chunk_offset, u64 chunk_size) in insert_dev_extents() argument
2351 em = btrfs_get_chunk_map(fs_info, chunk_offset, chunk_size); in insert_dev_extents()
2372 ret = insert_dev_extent(trans, device, chunk_offset, dev_offset, in insert_dev_extents()
2464 u64 chunk_offset, u64 size) in btrfs_make_block_group() argument
2472 cache = btrfs_create_block_group_cache(fs_info, chunk_offset); in btrfs_make_block_group()
[all …]
Dscrub.c3808 u64 chunk_offset; in scrub_enumerate_chunks() local
3874 chunk_offset = btrfs_dev_extent_chunk_offset(l, dev_extent); in scrub_enumerate_chunks()
3880 cache = btrfs_lookup_block_group(fs_info, chunk_offset); in scrub_enumerate_chunks()
3887 ASSERT(cache->start <= chunk_offset); in scrub_enumerate_chunks()
3907 if (cache->start < chunk_offset) { in scrub_enumerate_chunks()
Dctree.h2040 chunk_offset, 64);
/linux-6.1.9/drivers/net/ethernet/microsoft/mana/ !
Dhw_channel.h72 u32 chunk_offset : 21; member
/linux-6.1.9/include/uapi/linux/ !
Dbtrfs_tree.h563 __le64 chunk_offset; member
/linux-6.1.9/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()