Lines Matching refs:sector
305 sector_t sector = *sectorp; in find_zone() local
308 if (sector < z[i].zone_end) { in find_zone()
310 *sectorp = sector - z[i-1].zone_end; in find_zone()
321 sector_t sector, sector_t *sector_offset) in map_sector() argument
332 sect_in_chunk = sector & (chunk_sects - 1); in map_sector()
333 sector >>= chunksect_bits; in map_sector()
339 sect_in_chunk = sector_div(sector, chunk_sects); in map_sector()
350 + sector_div(sector, zone->nb_dev)]; in map_sector()
554 sector_t sector = bio_sector; in raid0_map_submit_bio() local
558 zone = find_zone(mddev->private, §or); in raid0_map_submit_bio()
561 tmp_dev = map_sector(mddev, zone, bio_sector, §or); in raid0_map_submit_bio()
564 tmp_dev = map_sector(mddev, zone, sector, §or); in raid0_map_submit_bio()
579 bio->bi_iter.bi_sector = sector + zone->dev_start + in raid0_map_submit_bio()
591 sector_t sector; in raid0_make_request() local
604 sector = bio->bi_iter.bi_sector; in raid0_make_request()
609 ? (sector & (chunk_sects-1)) in raid0_make_request()
610 : sector_div(sector, chunk_sects)); in raid0_make_request()