Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/md/
Draid0.c458 unsigned int end_disk_index; in raid0_handle_discard() local
496 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()
Draid10.c1599 unsigned int end_disk_index; in raid10_handle_discard() local
1685 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()