Searched refs:first_stripe_index (Results 1 – 5 of 5) sorted by relevance
455 sector_t first_stripe_index, last_stripe_index; in raid0_handle_discard() local484 first_stripe_index = start; in raid0_handle_discard()485 sector_div(first_stripe_index, stripe_size); in raid0_handle_discard()501 start_disk_index = (int)(start - first_stripe_index * stripe_size) / in raid0_handle_discard()506 start_disk_offset = ((int)(start - first_stripe_index * stripe_size) % in raid0_handle_discard()508 first_stripe_index * mddev->chunk_sectors; in raid0_handle_discard()522 dev_start = (first_stripe_index + 1) * in raid0_handle_discard()525 dev_start = first_stripe_index * mddev->chunk_sectors; in raid0_handle_discard()
1664 sector_t first_stripe_index, last_stripe_index; in raid10_handle_discard() local1744 first_stripe_index = chunk; in raid10_handle_discard()1745 start_disk_index = sector_div(first_stripe_index, geo->raid_disks); in raid10_handle_discard()1747 first_stripe_index *= geo->far_copies; in raid10_handle_discard()1749 (first_stripe_index << geo->chunk_shift); in raid10_handle_discard()1832 dev_start = (first_stripe_index + 1) * mddev->chunk_sectors; in raid10_handle_discard()1834 dev_start = first_stripe_index * mddev->chunk_sectors; in raid10_handle_discard()1882 first_stripe_index += geo->stride >> geo->chunk_shift; in raid10_handle_discard()
62 u32 first_stripe_index; member
561 if (fl->first_stripe_index >= dsaddr->stripe_count) { in filelayout_check_deviceid()563 __func__, fl->first_stripe_index); in filelayout_check_deviceid()690 fl->first_stripe_index = be32_to_cpup(p++); in filelayout_decode_layout()695 __func__, nfl_util, fl->num_fh, fl->first_stripe_index, in filelayout_decode_layout()
229 tmp += flseg->first_stripe_index; in nfs4_fl_calc_j_index()