Lines Matching refs:sector_div
923 if (!sector_div(tmp_sec, conf->chunk_sectors)) in stripe_add_to_batch_list()
3022 chunk_offset = sector_div(r_sector, sectors_per_chunk); in raid5_compute_sector()
3029 *dd_idx = sector_div(stripe, data_disks); in raid5_compute_sector()
3042 pd_idx = data_disks - sector_div(stripe2, raid_disks); in raid5_compute_sector()
3047 pd_idx = sector_div(stripe2, raid_disks); in raid5_compute_sector()
3052 pd_idx = data_disks - sector_div(stripe2, raid_disks); in raid5_compute_sector()
3056 pd_idx = sector_div(stripe2, raid_disks); in raid5_compute_sector()
3074 pd_idx = raid_disks - 1 - sector_div(stripe2, raid_disks); in raid5_compute_sector()
3083 pd_idx = sector_div(stripe2, raid_disks); in raid5_compute_sector()
3092 pd_idx = raid_disks - 1 - sector_div(stripe2, raid_disks); in raid5_compute_sector()
3097 pd_idx = sector_div(stripe2, raid_disks); in raid5_compute_sector()
3116 pd_idx = sector_div(stripe2, raid_disks); in raid5_compute_sector()
3132 pd_idx = raid_disks - 1 - sector_div(stripe2, raid_disks); in raid5_compute_sector()
3144 pd_idx = raid_disks - 1 - sector_div(stripe2, raid_disks); in raid5_compute_sector()
3152 pd_idx = data_disks - sector_div(stripe2, raid_disks-1); in raid5_compute_sector()
3159 pd_idx = sector_div(stripe2, raid_disks-1); in raid5_compute_sector()
3166 pd_idx = data_disks - sector_div(stripe2, raid_disks-1); in raid5_compute_sector()
3172 pd_idx = sector_div(stripe2, raid_disks-1); in raid5_compute_sector()
3218 chunk_offset = sector_div(new_sector, sectors_per_chunk); in raid5_compute_blocknr()
3648 int chunk_offset = sector_div(stripe, sectors_per_chunk); in stripe_set_idx()
5805 sector_div(last_sector, stripe_sectors); in make_discard_request()
6115 chunk_offset = sector_div(sector, sectors_per_chunk); in raid5_bio_lowest_chunk_sector()
6299 sector_div(sector_nr, new_data_disks); in reshape_request()
6323 sector_div(writepos, new_data_disks); in reshape_request()
6325 sector_div(readpos, data_disks); in reshape_request()
6327 sector_div(safepos, data_disks); in reshape_request()
7863 if (sector_div(here_new, chunk_sectors * new_data_disks)) { in raid5_run()
7871 sector_div(here_old, chunk_sectors * (old_disks-max_degraded)); in raid5_run()
8755 sector_div(sectors, raid0_conf->strip_zone[0].nb_dev); in raid45_takeover_raid0()