Lines Matching refs:sector_div

924 	if (!sector_div(tmp_sec, conf->chunk_sectors))  in stripe_add_to_batch_list()
3023 chunk_offset = sector_div(r_sector, sectors_per_chunk); in raid5_compute_sector()
3030 *dd_idx = sector_div(stripe, data_disks); in raid5_compute_sector()
3043 pd_idx = data_disks - sector_div(stripe2, raid_disks); in raid5_compute_sector()
3048 pd_idx = sector_div(stripe2, raid_disks); in raid5_compute_sector()
3053 pd_idx = data_disks - sector_div(stripe2, raid_disks); in raid5_compute_sector()
3057 pd_idx = sector_div(stripe2, raid_disks); in raid5_compute_sector()
3075 pd_idx = raid_disks - 1 - sector_div(stripe2, raid_disks); in raid5_compute_sector()
3084 pd_idx = sector_div(stripe2, raid_disks); in raid5_compute_sector()
3093 pd_idx = raid_disks - 1 - sector_div(stripe2, raid_disks); in raid5_compute_sector()
3098 pd_idx = sector_div(stripe2, raid_disks); in raid5_compute_sector()
3117 pd_idx = sector_div(stripe2, raid_disks); in raid5_compute_sector()
3133 pd_idx = raid_disks - 1 - sector_div(stripe2, raid_disks); in raid5_compute_sector()
3145 pd_idx = raid_disks - 1 - sector_div(stripe2, raid_disks); in raid5_compute_sector()
3153 pd_idx = data_disks - sector_div(stripe2, raid_disks-1); in raid5_compute_sector()
3160 pd_idx = sector_div(stripe2, raid_disks-1); in raid5_compute_sector()
3167 pd_idx = data_disks - sector_div(stripe2, raid_disks-1); in raid5_compute_sector()
3173 pd_idx = sector_div(stripe2, raid_disks-1); in raid5_compute_sector()
3219 chunk_offset = sector_div(new_sector, sectors_per_chunk); in raid5_compute_blocknr()
3649 int chunk_offset = sector_div(stripe, sectors_per_chunk); in stripe_set_idx()
5806 sector_div(last_sector, stripe_sectors); in make_discard_request()
6116 chunk_offset = sector_div(sector, sectors_per_chunk); in raid5_bio_lowest_chunk_sector()
6300 sector_div(sector_nr, new_data_disks); in reshape_request()
6324 sector_div(writepos, new_data_disks); in reshape_request()
6326 sector_div(readpos, data_disks); in reshape_request()
6328 sector_div(safepos, data_disks); in reshape_request()
7864 if (sector_div(here_new, chunk_sectors * new_data_disks)) { in raid5_run()
7872 sector_div(here_old, chunk_sectors * (old_disks-max_degraded)); in raid5_run()
8756 sector_div(sectors, raid0_conf->strip_zone[0].nb_dev); in raid45_takeover_raid0()