Searched refs:g_raid_nsubdisks (Results 1 – 9 of 9) sorted by relevance
/freebsd/sys/geom/raid/ |
H A D | tr_raid1.c | 166 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 D | tr_raid5.c | 145 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 D | tr_raid1e.c | 249 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 D | tr_raid0.c | 109 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 D | tr_concat.c | 112 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 D | g_raid.h | 429 u_int g_raid_nsubdisks(struct g_raid_volume *vol, int state);
|
H A D | md_intel.c | 2525 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 D | md_ddf.c | 2819 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 D | g_raid.c | 726 g_raid_nsubdisks(struct g_raid_volume *vol, int state) in g_raid_nsubdisks() function
|