Home
last modified time | relevance | path

Searched refs:end_disk_index (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/md/
Draid0.c459 unsigned int end_disk_index; in raid0_handle_discard() local
497 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()
Draid10.c1668 unsigned int end_disk_index; in raid10_handle_discard() local
1754 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()