Lines Matching refs:ndisks
398 u_int n, ndisks;
402 for (n = ndisks = 0; n < sc->sc_ndisks; n++) {
407 ndisks++;
409 return (ndisks);
1804 u_int n, ndisks;
1807 ndisks = 0;
1824 ndisks = sc->sc_ndisks;
1827 ndisks = sc->sc_ndisks - 1;
1855 ndisks = sc->sc_ndisks;
1858 for (n = 0; n < ndisks; n++) {
1909 if (n == ndisks - 1) {
1918 if (n == ndisks - 1) {
2511 u_int n, ndirty, ndisks, genid, syncid;
2572 ndirty = ndisks = syncid = 0;
2581 ndisks = 0;
2589 ndisks++;
2594 if (ndisks + 1 < sc->sc_ndisks) {
2606 if (ndisks == sc->sc_ndisks && ndirty == 1) {
2616 } else if (ndisks == sc->sc_ndisks && ndirty > 1) {
2626 if (ndisks == sc->sc_ndisks)
2628 else /* if (ndisks == sc->sc_ndisks - 1) */