Searched refs:end_disk_index (Results 1 – 2 of 2) sorted by relevance
484 unsigned int end_disk_index; in raid0_handle_discard() local522 end_disk_index = sector_div(orig_end, zone->nb_dev); in raid0_handle_discard()523 end_disk_index = map_disk_shift(end_disk_index, in raid0_handle_discard()528 end_disk_index = (int)(end - last_stripe_index * stripe_size) / in raid0_handle_discard()554 if (compare_disk < end_disk_index) in raid0_handle_discard()556 else if (compare_disk > end_disk_index) in raid0_handle_discard()
1664 unsigned int end_disk_index; in raid10_handle_discard() local1750 end_disk_index = sector_div(last_stripe_index, geo->raid_disks); in raid10_handle_discard()1834 if (disk < end_disk_index) in raid10_handle_discard()1836 else if (disk > end_disk_index) in raid10_handle_discard()