Home
last modified time | relevance | path

Searched refs:chunk_shift (Results 1 – 9 of 9) sorted by relevance

/linux-2.6.39/drivers/md/
Ddm-exception-store.h123 unsigned chunk_shift; member
199 return sector >> store->chunk_shift; in sector_to_chunk()
Ddm-stripe.c35 uint32_t chunk_shift; member
178 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()
Ddm-exception-store.c155 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()
Draid10.h38 int chunk_shift; /* shift from chunks to sectors */ member
Draid10.c377 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 …]
Ddm-snap-persistent.c317 ps->store->chunk_shift = ffs(ps->store->chunk_size) - 1; in read_header()
Ddm-snap.c158 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()
/linux-2.6.39/arch/powerpc/include/asm/
Dabs_addr.h25 unsigned long chunk_shift; member
/linux-2.6.39/arch/powerpc/platforms/iseries/
Dsetup.c315 .chunk_shift = MSCHUNKS_CHUNK_SHIFT,