Lines Matching defs:ldstat
1392 struct ciss_ldstat *ldstat;
1435 ldstat = sc->scratch;
1436 if ((error = ciss_ldstat(sc, bd->bd_volid, ldstat))) {
1440 if (ldstat->stat == CISS_LD_REBLD &&
1441 ldstat->bigrebuild == ldp->tgts[pd])
1444 ldstat->bigfailed)) {
1525 struct ciss_ldstat *ldstat;
1553 ldstat = sc->scratch;
1554 memset(ldstat, 0, sizeof(*ldstat));
1555 if ((error = ciss_ldstat(sc, bv->bv_volid, ldstat))) {
1560 if (ldstat->stat < sizeof(ciss_stat)/sizeof(ciss_stat[0]))
1561 bv->bv_status = ciss_stat[ldstat->stat];
1572 * XXX ldstat->prog is blocks remaining on physical drive being rebuilt
1575 * ldstat->bigrebuild has physical device target, so could be used with
1579 prog = (u_int64_t)((ldstat->prog[3] << 24) |
1580 (ldstat->prog[2] << 16) | (ldstat->prog[1] << 8) |
1581 ldstat->prog[0]);
1583 if (!ciss_pdid(sc, ldstat->bigrebuild, pdid, XS_CTL_POLL)) {