Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/drivers/md/
Ddm-stripe.c205 sector_t chunk_offset; in stripe_map_sector() local
208 chunk_offset = sector_div(chunk, sc->chunk_size); in stripe_map_sector()
210 chunk_offset = chunk & (sc->chunk_size - 1); in stripe_map_sector()
226 *result = chunk + chunk_offset; in stripe_map_sector()
Draid5.c3006 unsigned int chunk_offset; in raid5_compute_sector() local
3023 chunk_offset = sector_div(r_sector, sectors_per_chunk); in raid5_compute_sector()
3198 new_sector = (sector_t)stripe * sectors_per_chunk + chunk_offset; in raid5_compute_sector()
3213 int chunk_offset; in raid5_compute_blocknr() local
3219 chunk_offset = sector_div(new_sector, sectors_per_chunk); in raid5_compute_blocknr()
3309 r_sector = chunk_number * sectors_per_chunk + chunk_offset; in raid5_compute_blocknr()
3649 int chunk_offset = sector_div(stripe, sectors_per_chunk); in stripe_set_idx() local
3654 *sectors_per_chunk + chunk_offset, in stripe_set_idx()
6110 unsigned int chunk_offset; in raid5_bio_lowest_chunk_sector() local
6116 chunk_offset = sector_div(sector, sectors_per_chunk); in raid5_bio_lowest_chunk_sector()
[all …]
/linux-6.6.21/fs/btrfs/
Dvolumes.c2948 static int btrfs_free_chunk(struct btrfs_trans_handle *trans, u64 chunk_offset) in btrfs_free_chunk() argument
2961 key.offset = chunk_offset; in btrfs_free_chunk()
2983 static int btrfs_del_sys_chunk(struct btrfs_fs_info *fs_info, u64 chunk_offset) in btrfs_del_sys_chunk() argument
3017 key.offset == chunk_offset) { in btrfs_del_sys_chunk()
3067 struct map_lookup *map, u64 chunk_offset) in remove_chunk_item() argument
3086 return btrfs_free_chunk(trans, chunk_offset); in remove_chunk_item()
3089 int btrfs_remove_chunk(struct btrfs_trans_handle *trans, u64 chunk_offset) in btrfs_remove_chunk() argument
3098 em = btrfs_get_chunk_map(fs_info, chunk_offset, 1); in btrfs_remove_chunk()
3169 ret = remove_chunk_item(trans, map, chunk_offset); in btrfs_remove_chunk()
3201 ret = remove_chunk_item(trans, map, chunk_offset); in btrfs_remove_chunk()
[all …]
Dblock-group.h305 const u64 chunk_offset);
316 u64 chunk_offset, u64 size);
Dvolumes.h648 int btrfs_relocate_chunk(struct btrfs_fs_info *fs_info, u64 chunk_offset);
652 bool btrfs_chunk_writeable(struct btrfs_fs_info *fs_info, u64 chunk_offset);
670 int btrfs_remove_chunk(struct btrfs_trans_handle *trans, u64 chunk_offset);
Ddev-replace.c465 u64 chunk_offset; in mark_block_group_to_copy() local
528 chunk_offset = btrfs_dev_extent_chunk_offset(leaf, dev_extent); in mark_block_group_to_copy()
530 cache = btrfs_lookup_block_group(fs_info, chunk_offset); in mark_block_group_to_copy()
554 u64 chunk_offset = cache->start; in btrfs_finish_block_group_to_copy() local
569 em = btrfs_get_chunk_map(fs_info, chunk_offset, 1); in btrfs_finish_block_group_to_copy()
Dblock-group.c1295 struct btrfs_fs_info *fs_info, const u64 chunk_offset) in btrfs_start_trans_remove_block_group() argument
1304 em = lookup_extent_mapping(em_tree, chunk_offset, 1); in btrfs_start_trans_remove_block_group()
1306 ASSERT(em && em->start == chunk_offset); in btrfs_start_trans_remove_block_group()
2617 struct btrfs_device *device, u64 chunk_offset, in insert_dev_extent() argument
2646 btrfs_set_dev_extent_chunk_offset(leaf, extent, chunk_offset); in insert_dev_extent()
2662 u64 chunk_offset, u64 chunk_size) in insert_dev_extents() argument
2673 em = btrfs_get_chunk_map(fs_info, chunk_offset, chunk_size); in insert_dev_extents()
2694 ret = insert_dev_extent(trans, device, chunk_offset, dev_offset, in insert_dev_extents()
2787 u64 chunk_offset, u64 size) in btrfs_make_block_group() argument
2795 cache = btrfs_create_block_group_cache(fs_info, chunk_offset); in btrfs_make_block_group()
[all …]
Dscrub.c2390 u64 chunk_offset; in scrub_enumerate_chunks() local
2456 chunk_offset = btrfs_dev_extent_chunk_offset(l, dev_extent); in scrub_enumerate_chunks()
2462 cache = btrfs_lookup_block_group(fs_info, chunk_offset); in scrub_enumerate_chunks()
2469 ASSERT(cache->start <= chunk_offset); in scrub_enumerate_chunks()
2489 if (cache->start < chunk_offset) { in scrub_enumerate_chunks()
Daccessors.h313 chunk_offset, 64);
320 chunk_offset, 64);
/linux-6.6.21/include/net/mana/
Dhw_channel.h76 u32 chunk_offset : 21; member
/linux-6.6.21/fs/ceph/
Ddir.c639 loff_t chunk_offset; in need_reset_readdir() local
651 chunk_offset = rinfo->dir_entries[0].offset; in need_reset_readdir()
652 return new_pos < chunk_offset || in need_reset_readdir()
653 is_hash_order(new_pos) != is_hash_order(chunk_offset); in need_reset_readdir()
/linux-6.6.21/include/uapi/linux/
Dbtrfs_tree.h802 __le64 chunk_offset; member