Searched refs:chunk_shift (Results 1 – 9 of 9) sorted by relevance
23 u8 chunk_shift; member90 uc->chunk_shift = is_power_of_2(uc->chunk_size) ? fls(uc->chunk_size) - 1 : 0; in unstripe_ctr()124 if (uc->chunk_shift) in map_to_core()125 tmp_sector >>= uc->chunk_shift; in map_to_core()
124 unsigned int chunk_shift; member178 return sector >> store->chunk_shift; in sector_to_chunk()
154 store->chunk_size = store->chunk_mask = store->chunk_shift = 0; in set_chunk_size()187 store->chunk_shift = __ffs(chunk_size); in dm_exception_store_set_chunk_size()
604 chunk = r10bio->sector >> geo->chunk_shift; in __raid10_find_phys()613 sector += stripe << geo->chunk_shift; in __raid10_find_phys()690 chunk = sector >> geo->chunk_shift; in raid10_find_virt()703 chunk = sector >> geo->chunk_shift; in raid10_find_virt()707 return (vchunk << geo->chunk_shift) + offset; in raid10_find_virt()1693 stripe_size = stripe_data_disks << geo->chunk_shift; in raid10_handle_discard()1742 chunk = bio_start >> geo->chunk_shift; in raid10_handle_discard()1749 (first_stripe_index << geo->chunk_shift); in raid10_handle_discard()1751 chunk = bio_end >> geo->chunk_shift; in raid10_handle_discard()1758 (last_stripe_index << geo->chunk_shift); in raid10_handle_discard()[all …]
55 int chunk_shift; /* shift from chunks to sectors */ member
323 ps->store->chunk_shift = __ffs(ps->store->chunk_size); in read_header()
187 return chunk << store->chunk_shift; in chunk_to_sector()893 hash_size = cow_dev_size >> s->store->chunk_shift; in init_hash_tables()
78 u32 chunk_shift; member217 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()