Searched refs:end_disk_index (Results 1 – 2 of 2) sorted by relevance
459 unsigned int end_disk_index; in raid0_handle_discard() local497 end_disk_index = sector_div(orig_end, zone->nb_dev); in raid0_handle_discard()498 end_disk_index = map_disk_shift(end_disk_index, in raid0_handle_discard()503 end_disk_index = (int)(end - last_stripe_index * stripe_size) / in raid0_handle_discard()529 if (compare_disk < end_disk_index) in raid0_handle_discard()531 else if (compare_disk > end_disk_index) in raid0_handle_discard()
1668 unsigned int end_disk_index; in raid10_handle_discard() local1754 end_disk_index = sector_div(last_stripe_index, geo->raid_disks); in raid10_handle_discard()1838 if (disk < end_disk_index) in raid10_handle_discard()1840 else if (disk > end_disk_index) in raid10_handle_discard()