Searched refs:chunk_shift (Results 1 – 9 of 9) sorted by relevance
22 u8 chunk_shift; member89 uc->chunk_shift = is_power_of_2(uc->chunk_size) ? fls(uc->chunk_size) - 1 : 0; in unstripe_ctr()123 if (uc->chunk_shift) in map_to_core()124 tmp_sector >>= uc->chunk_shift; in map_to_core()
123 unsigned chunk_shift; member177 return sector >> store->chunk_shift; in sector_to_chunk()
153 store->chunk_size = store->chunk_mask = store->chunk_shift = 0; in set_chunk_size()186 store->chunk_shift = __ffs(chunk_size); in dm_exception_store_set_chunk_size()
585 chunk = r10bio->sector >> geo->chunk_shift; in __raid10_find_phys()594 sector += stripe << geo->chunk_shift; in __raid10_find_phys()671 chunk = sector >> geo->chunk_shift; in raid10_find_virt()684 chunk = sector >> geo->chunk_shift; in raid10_find_virt()688 return (vchunk << geo->chunk_shift) + offset; in raid10_find_virt()1647 stripe_size = stripe_data_disks << geo->chunk_shift; in raid10_handle_discard()1696 chunk = bio_start >> geo->chunk_shift; in raid10_handle_discard()1703 (first_stripe_index << geo->chunk_shift); in raid10_handle_discard()1705 chunk = bio_end >> geo->chunk_shift; in raid10_handle_discard()1712 (last_stripe_index << geo->chunk_shift); in raid10_handle_discard()[all …]
55 int chunk_shift; /* shift from chunks to sectors */ member
320 ps->store->chunk_shift = __ffs(ps->store->chunk_size); in read_header()
186 return chunk << store->chunk_shift; in chunk_to_sector()889 hash_size = cow_dev_size >> s->store->chunk_shift; in init_hash_tables()
71 u32 chunk_shift; member210 return xp_aligned_extract_addr(pool, addr) >> pool->chunk_shift; in xp_aligned_extract_idx()
82 pool->chunk_shift = ffs(umem->chunk_size) - 1; in xp_create_and_assign_umem()