Searched refs:v_disks_count (Results 1 – 13 of 13) sorted by relevance
149 if (na == vol->v_disks_count) in g_raid_tr_update_state_raid5()151 else if (na + ns == vol->v_disks_count || in g_raid_tr_update_state_raid5()152 na + ns + nu == vol->v_disks_count /* XXX: Temporary. */) in g_raid_tr_update_state_raid5()154 else if (na == vol->v_disks_count - 1 || in g_raid_tr_update_state_raid5()155 na + ns + nu == vol->v_disks_count) in g_raid_tr_update_state_raid5()239 ddisks = vol->v_disks_count - pdisks; in g_raid_tr_iostart_raid5_read()248 pno = (nstripe / (ddisks * protate)) % vol->v_disks_count; in g_raid_tr_iostart_raid5_read()253 pno += vol->v_disks_count; in g_raid_tr_iostart_raid5_read()262 no = (pno + pdisks + no) % vol->v_disks_count; in g_raid_tr_iostart_raid5_read()266 no += imax(0, pno + pdisks - vol->v_disks_count); in g_raid_tr_iostart_raid5_read()[all …]
152 *disk = (nstrip * N) % vol->v_disks_count; in V2P()154 *offset = ((nstrip * N) / vol->v_disks_count) * strip_size; in V2P()168 nstrip = (offset / strip_size) * vol->v_disks_count + disk; in P2V()197 for (i = 0; i < vol->v_disks_count / N; i++) { in g_raid_tr_update_state_raid1e_even()250 vol->v_disks_count) in g_raid_tr_update_state_raid1e_odd()252 for (i = 0; i < vol->v_disks_count; i++) { in g_raid_tr_update_state_raid1e_odd()266 for (i = 0; i < vol->v_disks_count; i++) { in g_raid_tr_update_state_raid1e_odd()270 sd = &vol->v_subdisks[(i + j) % vol->v_disks_count]; in g_raid_tr_update_state_raid1e_odd()311 if ((vol->v_disks_count % N) == 0) in g_raid_tr_update_state_raid1e()349 vol->v_disks_count) && in g_raid_tr_raid1e_fail_disk()[all …]
89 !(tr->tro_volume->v_disks_count == 1 && in g_raid_tr_taste_concat()114 if (n + f == vol->v_disks_count) { in g_raid_tr_update_state_concat()131 for (i = 0; i < vol->v_disks_count; i++) { in g_raid_tr_update_state_concat()235 while (no < vol->v_disks_count && in g_raid_tr_iostart_concat()240 if (no >= vol->v_disks_count) { in g_raid_tr_iostart_concat()269 } while (remain > 0 && no < vol->v_disks_count); in g_raid_tr_iostart_concat()303 while (no < vol->v_disks_count && in g_raid_tr_kerneldump_concat()308 if (no >= vol->v_disks_count) in g_raid_tr_kerneldump_concat()321 } while (remain > 0 && no < vol->v_disks_count); in g_raid_tr_kerneldump_concat()
111 if (n + f == vol->v_disks_count) { in g_raid_tr_update_state_raid0()219 no = nstripe % vol->v_disks_count; in g_raid_tr_iostart_raid0()221 offset = (nstripe / vol->v_disks_count) * strip_size; in g_raid_tr_iostart_raid0()244 if (++no >= vol->v_disks_count) { in g_raid_tr_iostart_raid0()288 no = nstripe % vol->v_disks_count; in g_raid_tr_kerneldump_raid0()290 offset = (nstripe / vol->v_disks_count) * strip_size; in g_raid_tr_kerneldump_raid0()300 if (++no >= vol->v_disks_count) { in g_raid_tr_kerneldump_raid0()
302 width = vol->v_disks_count / 2; in promise_meta_translate_disk()562 for (i = 0; i < vol->v_disks_count; i++) { in g_raid_md_promise_purge_volumes()566 if (i >= vol->v_disks_count) { in g_raid_md_promise_purge_volumes()724 for (i = 0; i < vol->v_disks_count; i++) { in g_raid_md_promise_start_disk()849 for (i = 0; i < vol->v_disks_count; i++) { in g_raid_md_promise_refill()866 for (i = 0; i < vol->v_disks_count; i++) { in g_raid_md_promise_refill()871 if (i < vol->v_disks_count) in g_raid_md_promise_refill()929 vol->v_disks_count = meta->total_disks; in g_raid_md_promise_start()935 for (i = 0; i < vol->v_disks_count; i++) { in g_raid_md_promise_start()1455 vol->v_disks_count = numdisks; in g_raid_md_ctl_promise()[all …]
173 for (i = 1; i < vol->v_disks_count; i++) { in g_raid_tr_update_state_raid1()198 if (na == vol->v_disks_count) in g_raid_tr_update_state_raid1()200 else if (na + ns == vol->v_disks_count) in g_raid_tr_update_state_raid1()494 for (i = 0; i < vol->v_disks_count; i++) { in g_raid_tr_raid1_select_read_disk()557 for (i = 0; i < vol->v_disks_count; i++) { in g_raid_tr_iostart_raid1_write()909 for (i = 0; i < vol->v_disks_count; i++) { in g_raid_tr_kerneldump_raid1()
755 vol->v_disks_count = mdi->mdio_total_disks; in g_raid_md_sii_start()757 for (j = 0; j < vol->v_disks_count; j++) { in g_raid_md_sii_start()1276 vol->v_disks_count = numdisks; in g_raid_md_ctl_sii()1509 meta->raid0_disks = vol->v_disks_count; in g_raid_md_write_sii()1514 meta->raid1_disks = vol->v_disks_count; in g_raid_md_write_sii()1517 meta->raid0_disks = vol->v_disks_count / 2; in g_raid_md_write_sii()1522 meta->raid0_disks = vol->v_disks_count; in g_raid_md_write_sii()1526 meta->raid0_disks = vol->v_disks_count; in g_raid_md_write_sii()1531 for (i = 0; i < vol->v_disks_count; i++) { in g_raid_md_write_sii()
1300 vol->v_disks_count = mmap->total_disks; in g_raid_md_intel_start()1303 for (j = 0; j < vol->v_disks_count; j++) { in g_raid_md_intel_start()1870 vol->v_disks_count = numdisks; in g_raid_md_ctl_intel()1957 numdisks = vol1->v_disks_count; in g_raid_md_ctl_intel()2064 vol->v_disks_count = numdisks; in g_raid_md_ctl_intel()2427 for (sdi = 0; sdi < vol->v_disks_count; sdi++) { in g_raid_md_write_intel()2432 if (sdi >= vol->v_disks_count) in g_raid_md_write_intel()2442 else if ((vol->v_disks_count & 1) == 0) in g_raid_md_write_intel()2453 else if (vol->v_disks_count > 4) in g_raid_md_write_intel()2457 else if (vol->v_disks_count > 2) in g_raid_md_write_intel()[all …]
699 vol->v_disks_count = mdi->mdio_total_disks; in g_raid_md_nvidia_start()701 for (j = 0; j < vol->v_disks_count; j++) { in g_raid_md_nvidia_start()1205 vol->v_disks_count = numdisks; in g_raid_md_ctl_nvidia()1426 meta->array_width = vol->v_disks_count / 2; in g_raid_md_write_nvidia()1428 meta->array_width = vol->v_disks_count - 1; in g_raid_md_write_nvidia()1430 meta->array_width = vol->v_disks_count; in g_raid_md_write_nvidia()1431 meta->total_disks = vol->v_disks_count; in g_raid_md_write_nvidia()1457 for (i = 0; i < vol->v_disks_count; i++) { in g_raid_md_write_nvidia()
736 for (i = 0; i < vol->v_disks_count; i++) { in g_raid_nsubdisks()760 for (i = 0; i < vol->v_disks_count; i++) { in g_raid_get_subdisk()973 for (i = 0; i < vol->v_disks_count; i++) { in g_raid_tr_flush_common()1082 for (i = 0; i < vol->v_disks_count; i++) { in g_raid_candelete()1089 val = i < vol->v_disks_count; in g_raid_candelete()1641 for (i = 0; i < vol->v_disks_count; i++) { in g_raid_launch_provider()1669 pp->stripesize *= (vol->v_disks_count - 1); in g_raid_launch_provider()1670 pp->stripeoffset *= (vol->v_disks_count - 1); in g_raid_launch_provider()2361 vol->v_disks_count); in g_raid_dumpconf()2369 for (i = 0; i < vol->v_disks_count; i++) { in g_raid_dumpconf()[all …]
1433 for (i = 0; i < vol->v_disks_count; i++) { in g_raid_md_ddf_purge_volumes()1437 if (i >= vol->v_disks_count) { in g_raid_md_ddf_purge_volumes()1678 for (i = 0; i < vol->v_disks_count; i++) { in g_raid_md_ddf_start_disk()1810 for (i = 0; i < vol->v_disks_count; i++) { in g_raid_md_ddf_refill()1827 for (i = 0; i < vol->v_disks_count; i++) { in g_raid_md_ddf_refill()1832 if (i < vol->v_disks_count) in g_raid_md_ddf_refill()1883 vol->v_disks_count = GET16(vmeta, vdc->Primary_Element_Count) * in g_raid_md_ddf_start()1893 for (i = 0, j = 0, bvd = 0; i < vol->v_disks_count; i++, j++) { in g_raid_md_ddf_start()2450 vol->v_disks_count = numdisks; in g_raid_md_ctl_ddf()2774 vol->v_disks_count % 2 == 0) in g_raid_md_write_ddf()[all …]
689 vol->v_disks_count = mdi->mdio_total_disks; in g_raid_md_jmicron_start()691 for (j = 0; j < vol->v_disks_count; j++) { in g_raid_md_jmicron_start()1189 vol->v_disks_count = numdisks; in g_raid_md_ctl_jmicron()1424 for (i = 0; i < vol->v_disks_count; i++) { in g_raid_md_write_jmicron()
260 u_int v_disks_count; /* Number of disks in array. */ member