Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/md/
Draid0.c457 unsigned int start_disk_index; in raid0_handle_discard() local
492 start_disk_index = sector_div(orig_start, zone->nb_dev); in raid0_handle_discard()
493 start_disk_index = map_disk_shift(start_disk_index, in raid0_handle_discard()
501 start_disk_index = (int)(start - first_stripe_index * stripe_size) / in raid0_handle_discard()
521 if (compare_disk < start_disk_index) in raid0_handle_discard()
524 else if (compare_disk > start_disk_index) in raid0_handle_discard()
Draid10.c1666 unsigned int start_disk_index; in raid10_handle_discard() local
1745 start_disk_index = sector_div(first_stripe_index, geo->raid_disks); in raid10_handle_discard()
1831 if (disk < start_disk_index) in raid10_handle_discard()
1833 else if (disk > start_disk_index) in raid10_handle_discard()