Searched refs:sectors_per_chunk (Results 1 – 1 of 1) sorted by relevance
3005 int sectors_per_chunk = previous ? conf->prev_chunk_sectors in raid5_compute_sector() local3016 chunk_offset = sector_div(r_sector, sectors_per_chunk); in raid5_compute_sector()3191 new_sector = (sector_t)stripe * sectors_per_chunk + chunk_offset; in raid5_compute_sector()3201 int sectors_per_chunk = previous ? conf->prev_chunk_sectors in raid5_compute_blocknr() local3212 chunk_offset = sector_div(new_sector, sectors_per_chunk); in raid5_compute_blocknr()3302 r_sector = chunk_number * sectors_per_chunk + chunk_offset; in raid5_compute_blocknr()3639 int sectors_per_chunk = in stripe_set_idx() local3642 int chunk_offset = sector_div(stripe, sectors_per_chunk); in stripe_set_idx()3647 *sectors_per_chunk + chunk_offset, in stripe_set_idx()