Searched refs:chunk_shift (Results 1 – 9 of 9) sorted by relevance
123 unsigned chunk_shift; member199 return sector >> store->chunk_shift; in sector_to_chunk()
35 uint32_t chunk_shift; member178 sc->chunk_shift = ffs(chunk_size) - 1; in stripe_ctr()219 sector_t chunk = offset >> sc->chunk_shift; in stripe_map_sector()228 *result = (chunk << sc->chunk_shift) | (offset & sc->chunk_mask); in stripe_map_sector()
155 store->chunk_size = store->chunk_mask = store->chunk_shift = 0; in set_chunk_size()190 store->chunk_shift = ffs(chunk_size) - 1; in dm_exception_store_set_chunk_size()
38 int chunk_shift; /* shift from chunks to sectors */ member
377 chunk = r10bio->sector >> conf->chunk_shift; in raid10_find_phys()386 sector += stripe << conf->chunk_shift; in raid10_find_phys()421 chunk = sector >> conf->chunk_shift; in raid10_find_virt()434 chunk = sector >> conf->chunk_shift; in raid10_find_virt()438 return (vchunk << conf->chunk_shift) + offset; in raid10_find_virt()2122 size = sectors >> conf->chunk_shift; in raid10_size()2127 return size << conf->chunk_shift; in raid10_size()2178 conf->chunk_shift = ffz(~mddev->new_chunk_sectors); in setup_conf()2185 size = mddev->dev_sectors >> conf->chunk_shift; in setup_conf()2199 conf->dev_sectors = stride << conf->chunk_shift; in setup_conf()[all …]
317 ps->store->chunk_shift = ffs(ps->store->chunk_size) - 1; in read_header()
158 return chunk << store->chunk_shift; in chunk_to_sector()742 hash_size = min(origin_dev_size, cow_dev_size) >> s->store->chunk_shift; in init_hash_tables()
25 unsigned long chunk_shift; member
315 .chunk_shift = MSCHUNKS_CHUNK_SHIFT,