Searched refs:end_disk_index (Results 1 – 2 of 2) sorted by relevance
458 unsigned int end_disk_index; in raid0_handle_discard() local496 end_disk_index = sector_div(orig_end, zone->nb_dev); in raid0_handle_discard()497 end_disk_index = map_disk_shift(end_disk_index, in raid0_handle_discard()502 end_disk_index = (int)(end - last_stripe_index * stripe_size) / in raid0_handle_discard()528 if (compare_disk < end_disk_index) in raid0_handle_discard()530 else if (compare_disk > end_disk_index) in raid0_handle_discard()
1599 unsigned int end_disk_index; in raid10_handle_discard() local1685 end_disk_index = sector_div(last_stripe_index, geo->raid_disks); in raid10_handle_discard()1768 if (disk < end_disk_index) in raid10_handle_discard()1770 else if (disk > end_disk_index) in raid10_handle_discard()