Home
last modified time | relevance | path

Searched refs:first_stripe_index (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/drivers/md/
Draid0.c455 sector_t first_stripe_index, last_stripe_index; in raid0_handle_discard() local
484 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()
Draid10.c1664 sector_t first_stripe_index, last_stripe_index; in raid10_handle_discard() local
1744 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()
/Linux-v6.6/fs/nfs/filelayout/
Dfilelayout.h62 u32 first_stripe_index; member
Dfilelayout.c561 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()
Dfilelayoutdev.c229 tmp += flseg->first_stripe_index; in nfs4_fl_calc_j_index()