Searched refs:last_stripe_index (Results 1 – 1 of 1) sorted by relevance
436 sector_t first_stripe_index, last_stripe_index; in raid0_handle_discard() local464 last_stripe_index = end; in raid0_handle_discard()465 sector_div(last_stripe_index, stripe_size); in raid0_handle_discard()472 end_disk_index = (int)(end - last_stripe_index * stripe_size) / in raid0_handle_discard()474 end_disk_offset = ((int)(end - last_stripe_index * stripe_size) % in raid0_handle_discard()476 last_stripe_index * mddev->chunk_sectors; in raid0_handle_discard()492 dev_end = (last_stripe_index + 1) * mddev->chunk_sectors; in raid0_handle_discard()494 dev_end = last_stripe_index * mddev->chunk_sectors; in raid0_handle_discard()