Searched refs:chunk_offset (Results 1 – 3 of 3) sorted by relevance
295 int chunk_offset; in ia_css_circbuf_shift_chunk() local300 chunk_offset = ia_css_circbuf_get_offset(cb, in ia_css_circbuf_shift_chunk()320 chunk_offset); in ia_css_circbuf_shift_chunk()
207 sector_t chunk_offset; in stripe_map_sector() local210 chunk_offset = sector_div(chunk, sc->chunk_size); in stripe_map_sector()212 chunk_offset = chunk & (sc->chunk_size - 1); in stripe_map_sector()228 *result = chunk + chunk_offset; in stripe_map_sector()
2917 unsigned int chunk_offset; in raid5_compute_sector() local2934 chunk_offset = sector_div(r_sector, sectors_per_chunk); in raid5_compute_sector()3109 new_sector = (sector_t)stripe * sectors_per_chunk + chunk_offset; in raid5_compute_sector()3124 int chunk_offset; in raid5_compute_blocknr() local3130 chunk_offset = sector_div(new_sector, sectors_per_chunk); in raid5_compute_blocknr()3220 r_sector = chunk_number * sectors_per_chunk + chunk_offset; in raid5_compute_blocknr()3536 int chunk_offset = sector_div(stripe, sectors_per_chunk); in stripe_set_idx() local3541 *sectors_per_chunk + chunk_offset, in stripe_set_idx()