Lines Matching refs:chunk_mask
579 sector = r10bio->sector & geo->chunk_mask; in __raid10_find_phys()
619 sector += (geo->chunk_mask + 1); in __raid10_find_phys()
661 offset = sector & geo->chunk_mask; in raid10_find_virt()
1524 sector_t chunk_mask = (conf->geo.chunk_mask & conf->prev.chunk_mask); in raid10_make_request() local
1525 int chunk_sects = chunk_mask + 1; in raid10_make_request()
1539 if (unlikely((bio->bi_iter.bi_sector & chunk_mask) + in raid10_make_request()
2913 sector_t chunk_mask = conf->geo.chunk_mask; in raid10_sync_request() local
3012 max_sector > (sector_nr | chunk_mask)) in raid10_sync_request()
3013 max_sector = (sector_nr | chunk_mask) + 1; in raid10_sync_request()
3332 r10_bio->sectors = (sector_nr | chunk_mask) - sector_nr + 1; in raid10_sync_request()
3626 geo->chunk_mask = chunk - 1; in setup_geo()
4097 if (mddev->array_sectors & geo.chunk_mask) in raid10_check_reshape()
4370 s = (s | geo->chunk_mask) + 1; in last_dev_address()
4484 sector_nr = last & ~(sector_t)(conf->geo.chunk_mask in reshape_request()
4485 & conf->prev.chunk_mask); in reshape_request()
4506 last = sector_nr | (conf->geo.chunk_mask in reshape_request()
4507 & conf->prev.chunk_mask); in reshape_request()