Home
last modified time | relevance | path

Searched refs:chunk_offset (Results 1 – 3 of 3) sorted by relevance

/drivers/staging/media/atomisp/pci/base/circbuf/src/
Dcircbuf.c295 int chunk_offset; in ia_css_circbuf_shift_chunk() local
300 chunk_offset = ia_css_circbuf_get_offset(cb, in ia_css_circbuf_shift_chunk()
320 chunk_offset); in ia_css_circbuf_shift_chunk()
/drivers/md/
Ddm-stripe.c207 sector_t chunk_offset; in stripe_map_sector() local
210 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()
Draid5.c2917 unsigned int chunk_offset; in raid5_compute_sector() local
2934 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() local
3130 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() local
3541 *sectors_per_chunk + chunk_offset, in stripe_set_idx()