Lines Matching refs:stripe
563 static void stripe_set_idx(sector_t stripe, struct r5conf *conf, int previous,
2917 sector_t stripe, stripe2; in raid5_compute_sector() local
2942 stripe = chunk_number; in raid5_compute_sector()
2943 *dd_idx = sector_div(stripe, data_disks); in raid5_compute_sector()
2944 stripe2 = stripe; in raid5_compute_sector()
3111 new_sector = (sector_t)stripe * sectors_per_chunk + chunk_offset; in raid5_compute_sector()
3125 sector_t stripe; in raid5_compute_blocknr() local
3133 stripe = new_sector; in raid5_compute_blocknr()
3221 chunk_number = stripe * data_disks + i; in raid5_compute_blocknr()
3532 static void stripe_set_idx(sector_t stripe, struct r5conf *conf, int previous, in stripe_set_idx() argument
3538 int chunk_offset = sector_div(stripe, sectors_per_chunk); in stripe_set_idx()
3542 stripe * (disks - conf->max_degraded) in stripe_set_idx()
7729 int stripe = data_disks * in raid5_run() local
7740 stripe = stripe * PAGE_SIZE; in raid5_run()
7743 while ((stripe-1) & stripe) in raid5_run()
7744 stripe = (stripe | (stripe-1)) + 1; in raid5_run()
7745 mddev->queue->limits.discard_alignment = stripe; in raid5_run()
7746 mddev->queue->limits.discard_granularity = stripe; in raid5_run()
7774 mddev->queue->limits.max_discard_sectors >= (stripe >> 9) && in raid5_run()
7775 mddev->queue->limits.discard_granularity >= stripe) in raid5_run()