Home
last modified time | relevance | path

Searched refs:g_raid_nsubdisks (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/geom/raid/
H A Dtr_raid1.c166 na = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_ACTIVE); in g_raid_tr_update_state_raid1()
195 na = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_ACTIVE); in g_raid_tr_update_state_raid1()
196 ns = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_STALE) + in g_raid_tr_update_state_raid1()
197 g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_RESYNC); in g_raid_tr_update_state_raid1()
232 if (g_raid_nsubdisks(sd->sd_volume, G_RAID_SUBDISK_S_ACTIVE) == 1 && in g_raid_tr_raid1_fail_disk()
419 na = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_ACTIVE); in g_raid_tr_raid1_maybe_rebuild()
420 nr = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_REBUILD) + in g_raid_tr_raid1_maybe_rebuild()
421 g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_RESYNC); in g_raid_tr_raid1_maybe_rebuild()
427 nr = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_NEW) + in g_raid_tr_raid1_maybe_rebuild()
428 g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_STALE) + in g_raid_tr_raid1_maybe_rebuild()
[all …]
H A Dtr_raid5.c145 na = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_ACTIVE); in g_raid_tr_update_state_raid5()
146 ns = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_STALE) + in g_raid_tr_update_state_raid5()
147 g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_RESYNC); in g_raid_tr_update_state_raid5()
148 nu = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_UNINITIALIZED); in g_raid_tr_update_state_raid5()
H A Dtr_raid1e.c249 if (g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_ACTIVE) == in g_raid_tr_update_state_raid1e_odd()
345 if ((g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_ACTIVE) + in g_raid_tr_raid1e_fail_disk()
346 g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_RESYNC) + in g_raid_tr_raid1e_fail_disk()
347 g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_STALE) + in g_raid_tr_raid1e_fail_disk()
348 g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_UNINITIALIZED) < in g_raid_tr_raid1e_fail_disk()
565 nr = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_REBUILD) + in g_raid_tr_raid1e_maybe_rebuild()
566 g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_RESYNC); in g_raid_tr_raid1e_maybe_rebuild()
572 nr = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_NEW) + in g_raid_tr_raid1e_maybe_rebuild()
573 g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_STALE) + in g_raid_tr_raid1e_maybe_rebuild()
574 g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_UNINITIALIZED); in g_raid_tr_raid1e_maybe_rebuild()
H A Dtr_raid0.c109 n = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_ACTIVE); in g_raid_tr_update_state_raid0()
110 f = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_FAILED); in g_raid_tr_update_state_raid0()
H A Dtr_concat.c112 n = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_ACTIVE); in g_raid_tr_update_state_concat()
113 f = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_FAILED); in g_raid_tr_update_state_concat()
H A Dg_raid.h429 u_int g_raid_nsubdisks(struct g_raid_volume *vol, int state);
H A Dmd_intel.c2525 else if (g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_UNINITIALIZED) in g_raid_md_write_intel()
2526 == g_raid_nsubdisks(vol, -1)) in g_raid_md_write_intel()
H A Dmd_ddf.c2819 g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_STALE) > 0 || in g_raid_md_write_ddf()
2820 g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_RESYNC) > 0) in g_raid_md_write_ddf()
H A Dg_raid.c726 g_raid_nsubdisks(struct g_raid_volume *vol, int state) in g_raid_nsubdisks() function