Symbol: errstate
usr/src/cmd/th_tools/th_define.c
1227
struct bofi_errstate *errstate,
usr/src/cmd/th_tools/th_define.c
1247
errdef->log.logsize = errstate->log.logsize =
usr/src/cmd/th_tools/th_define.c
1250
errdef->log.logsize = errstate->log.logsize = 0;
usr/src/cmd/th_tools/th_define.c
1252
errdef->log.logbase = errstate->log.logbase =
usr/src/cmd/th_tools/th_define.c
1275
errstate->errdef_handle = errdef->errdef_handle;
usr/src/cmd/th_tools/th_define.c
1280
collect_state(int fd, int cmd, struct bofi_errstate *errstate,
usr/src/cmd/th_tools/th_define.c
1284
size_t ls = errstate->log.logsize;
usr/src/cmd/th_tools/th_define.c
1290
errstate->log.logsize = 0; /* only copy the driver log once */
usr/src/cmd/th_tools/th_define.c
1293
errstate->log.logsize);
usr/src/cmd/th_tools/th_define.c
1296
if (ioctl(fd, cmd, errstate) == -1 && errno != EINTR) {
usr/src/cmd/th_tools/th_define.c
1304
errstate->log.entries, ls,
usr/src/cmd/th_tools/th_define.c
1306
errdef->access_type, errstate->log.wrapcnt);
usr/src/cmd/th_tools/th_define.c
1309
errstate->access_count, errstate->fail_count,
usr/src/cmd/th_tools/th_define.c
1310
errstate->log.flags, errstate->log.wrapcnt);
usr/src/cmd/th_tools/th_define.c
1313
if ((errstate->log.flags & BOFI_LOG_WRAP) &&
usr/src/cmd/th_tools/th_define.c
1314
errstate->access_count > 0)
usr/src/cmd/th_tools/th_define.c
1316
if (errstate->access_count <= 1 &&
usr/src/cmd/th_tools/th_define.c
1317
errstate->fail_count == 0 &&
usr/src/cmd/th_tools/th_define.c
1318
errstate->acc_chk == 0) {
usr/src/cmd/th_tools/th_define.c
1320
errstate->log.entries);
usr/src/cmd/th_tools/th_define.c
1325
errstate->access_count, errstate->fail_count,
usr/src/cmd/th_tools/th_define.c
1326
errstate->acc_chk);
usr/src/cmd/th_tools/th_define.c
1329
errstate->log.logsize, errstate->log.entries,
usr/src/cmd/th_tools/th_define.c
1330
errdef->offset, errdef->len, errstate->access_count);
usr/src/cmd/th_tools/th_define.c
1332
} while (rval == 0 && errstate->log.entries < ls);
usr/src/cmd/th_tools/th_define.c
1335
errstate->log.logsize = ls;
usr/src/cmd/th_tools/th_define.c
1336
if (errstate->log.entries != 0) {
usr/src/cmd/th_tools/th_define.c
1337
if (ioctl(fd, BOFI_CHK_STATE, errstate) == -1) {
usr/src/cmd/th_tools/th_define.c
1340
Progname, errstate->log.entries, strerror(errno));
usr/src/cmd/th_tools/th_define.c
1345
errstate->log.entries, errstate->access_count,
usr/src/cmd/th_tools/th_define.c
1346
errstate->log.start_time, errstate->log.stop_time);
usr/src/cmd/th_tools/th_define.c
1348
log2errdefs(fd, errdef, &(errstate->log), devpath);
usr/src/uts/common/io/bofi.c
1236
errstate.fail_time = errstate_32.fail_time;
usr/src/uts/common/io/bofi.c
1237
errstate.msg_time = errstate_32.msg_time;
usr/src/uts/common/io/bofi.c
1238
errstate.access_count = errstate_32.access_count;
usr/src/uts/common/io/bofi.c
1239
errstate.fail_count = errstate_32.fail_count;
usr/src/uts/common/io/bofi.c
1240
errstate.acc_chk = errstate_32.acc_chk;
usr/src/uts/common/io/bofi.c
1241
errstate.errmsg_count = errstate_32.errmsg_count;
usr/src/uts/common/io/bofi.c
1242
(void) strncpy(errstate.buffer, errstate_32.buffer,
usr/src/uts/common/io/bofi.c
1244
errstate.severity = errstate_32.severity;
usr/src/uts/common/io/bofi.c
1245
errstate.log.logsize = errstate_32.log.logsize;
usr/src/uts/common/io/bofi.c
1246
errstate.log.entries = errstate_32.log.entries;
usr/src/uts/common/io/bofi.c
1247
errstate.log.flags = errstate_32.log.flags;
usr/src/uts/common/io/bofi.c
1248
errstate.log.wrapcnt = errstate_32.log.wrapcnt;
usr/src/uts/common/io/bofi.c
1249
errstate.log.start_time = errstate_32.log.start_time;
usr/src/uts/common/io/bofi.c
1250
errstate.log.stop_time = errstate_32.log.stop_time;
usr/src/uts/common/io/bofi.c
1251
errstate.log.logbase =
usr/src/uts/common/io/bofi.c
1253
errstate.errdef_handle = errstate_32.errdef_handle;
usr/src/uts/common/io/bofi.c
1257
if (ddi_copyin((void *)arg, &errstate,
usr/src/uts/common/io/bofi.c
1263
if (ddi_copyin((void *)arg, &errstate,
usr/src/uts/common/io/bofi.c
1267
if ((retval = bofi_errdef_check(&errstate, &klg)) == EINVAL)
usr/src/uts/common/io/bofi.c
1272
uls = errstate.log.logsize;
usr/src/uts/common/io/bofi.c
1273
if (errstate.log.entries > uls && uls)
usr/src/uts/common/io/bofi.c
1275
errstate.log.entries = uls;
usr/src/uts/common/io/bofi.c
1277
if (errstate.log.stop_time == 0ul)
usr/src/uts/common/io/bofi.c
1278
(void) drv_getparm(TIME, &(errstate.log.stop_time));
usr/src/uts/common/io/bofi.c
1290
errstate_32.fail_time = errstate.fail_time;
usr/src/uts/common/io/bofi.c
1291
errstate_32.msg_time = errstate.msg_time;
usr/src/uts/common/io/bofi.c
1292
errstate_32.access_count = errstate.access_count;
usr/src/uts/common/io/bofi.c
1293
errstate_32.fail_count = errstate.fail_count;
usr/src/uts/common/io/bofi.c
1294
errstate_32.acc_chk = errstate.acc_chk;
usr/src/uts/common/io/bofi.c
1295
errstate_32.errmsg_count = errstate.errmsg_count;
usr/src/uts/common/io/bofi.c
1296
(void) strncpy(errstate_32.buffer, errstate.buffer,
usr/src/uts/common/io/bofi.c
1298
errstate_32.severity = errstate.severity;
usr/src/uts/common/io/bofi.c
1299
errstate_32.log.logsize = errstate.log.logsize;
usr/src/uts/common/io/bofi.c
1300
errstate_32.log.entries = errstate.log.entries;
usr/src/uts/common/io/bofi.c
1301
errstate_32.log.flags = errstate.log.flags;
usr/src/uts/common/io/bofi.c
1302
errstate_32.log.wrapcnt = errstate.log.wrapcnt;
usr/src/uts/common/io/bofi.c
1303
errstate_32.log.start_time = errstate.log.start_time;
usr/src/uts/common/io/bofi.c
1304
errstate_32.log.stop_time = errstate.log.stop_time;
usr/src/uts/common/io/bofi.c
1306
(caddr32_t)(uintptr_t)errstate.log.logbase;
usr/src/uts/common/io/bofi.c
1307
errstate_32.errdef_handle = errstate.errdef_handle;
usr/src/uts/common/io/bofi.c
1314
if (ddi_copyout(&errstate, (void *)arg,
usr/src/uts/common/io/bofi.c
1320
if (ddi_copyout(&errstate, (void *)arg,
usr/src/uts/common/io/bofi.c
1324
if (uls && errstate.log.entries &&
usr/src/uts/common/io/bofi.c
1325
ddi_copyout(klg, errstate.log.logbase,
usr/src/uts/common/io/bofi.c
1326
errstate.log.entries * sizeof (struct acc_log_elem),
usr/src/uts/common/io/bofi.c
1355
errstate.fail_time = errstate_32.fail_time;
usr/src/uts/common/io/bofi.c
1356
errstate.msg_time = errstate_32.msg_time;
usr/src/uts/common/io/bofi.c
1357
errstate.access_count = errstate_32.access_count;
usr/src/uts/common/io/bofi.c
1358
errstate.fail_count = errstate_32.fail_count;
usr/src/uts/common/io/bofi.c
1359
errstate.acc_chk = errstate_32.acc_chk;
usr/src/uts/common/io/bofi.c
1360
errstate.errmsg_count = errstate_32.errmsg_count;
usr/src/uts/common/io/bofi.c
1361
(void) strncpy(errstate.buffer, errstate_32.buffer,
usr/src/uts/common/io/bofi.c
1363
errstate.severity = errstate_32.severity;
usr/src/uts/common/io/bofi.c
1364
errstate.log.logsize = errstate_32.log.logsize;
usr/src/uts/common/io/bofi.c
1365
errstate.log.entries = errstate_32.log.entries;
usr/src/uts/common/io/bofi.c
1366
errstate.log.flags = errstate_32.log.flags;
usr/src/uts/common/io/bofi.c
1367
errstate.log.wrapcnt = errstate_32.log.wrapcnt;
usr/src/uts/common/io/bofi.c
1368
errstate.log.start_time = errstate_32.log.start_time;
usr/src/uts/common/io/bofi.c
1369
errstate.log.stop_time = errstate_32.log.stop_time;
usr/src/uts/common/io/bofi.c
1370
errstate.log.logbase =
usr/src/uts/common/io/bofi.c
1372
errstate.errdef_handle = errstate_32.errdef_handle;
usr/src/uts/common/io/bofi.c
1376
if (ddi_copyin((void *)arg, &errstate,
usr/src/uts/common/io/bofi.c
1382
if (ddi_copyin((void *)arg, &errstate,
usr/src/uts/common/io/bofi.c
1386
if ((retval = bofi_errdef_check_w(&errstate, &klg)) == EINVAL)
usr/src/uts/common/io/bofi.c
1391
uls = errstate.log.logsize;
usr/src/uts/common/io/bofi.c
1392
uls = errstate.log.logsize;
usr/src/uts/common/io/bofi.c
1393
if (errstate.log.entries > uls && uls)
usr/src/uts/common/io/bofi.c
1395
errstate.log.entries = uls;
usr/src/uts/common/io/bofi.c
1397
if (errstate.log.stop_time == 0ul)
usr/src/uts/common/io/bofi.c
1398
(void) drv_getparm(TIME, &(errstate.log.stop_time));
usr/src/uts/common/io/bofi.c
1410
errstate_32.fail_time = errstate.fail_time;
usr/src/uts/common/io/bofi.c
1411
errstate_32.msg_time = errstate.msg_time;
usr/src/uts/common/io/bofi.c
1412
errstate_32.access_count = errstate.access_count;
usr/src/uts/common/io/bofi.c
1413
errstate_32.fail_count = errstate.fail_count;
usr/src/uts/common/io/bofi.c
1414
errstate_32.acc_chk = errstate.acc_chk;
usr/src/uts/common/io/bofi.c
1415
errstate_32.errmsg_count = errstate.errmsg_count;
usr/src/uts/common/io/bofi.c
1416
(void) strncpy(errstate_32.buffer, errstate.buffer,
usr/src/uts/common/io/bofi.c
1418
errstate_32.severity = errstate.severity;
usr/src/uts/common/io/bofi.c
1419
errstate_32.log.logsize = errstate.log.logsize;
usr/src/uts/common/io/bofi.c
1420
errstate_32.log.entries = errstate.log.entries;
usr/src/uts/common/io/bofi.c
1421
errstate_32.log.flags = errstate.log.flags;
usr/src/uts/common/io/bofi.c
1422
errstate_32.log.wrapcnt = errstate.log.wrapcnt;
usr/src/uts/common/io/bofi.c
1423
errstate_32.log.start_time = errstate.log.start_time;
usr/src/uts/common/io/bofi.c
1424
errstate_32.log.stop_time = errstate.log.stop_time;
usr/src/uts/common/io/bofi.c
1426
(caddr32_t)(uintptr_t)errstate.log.logbase;
usr/src/uts/common/io/bofi.c
1427
errstate_32.errdef_handle = errstate.errdef_handle;
usr/src/uts/common/io/bofi.c
1434
if (ddi_copyout(&errstate, (void *)arg,
usr/src/uts/common/io/bofi.c
1440
if (ddi_copyout(&errstate, (void *)arg,
usr/src/uts/common/io/bofi.c
1445
if (uls && errstate.log.entries &&
usr/src/uts/common/io/bofi.c
1446
ddi_copyout(klg, errstate.log.logbase,
usr/src/uts/common/io/bofi.c
1447
errstate.log.entries * sizeof (struct acc_log_elem),
usr/src/uts/common/io/bofi.c
1749
ep->errstate.severity = DDI_SERVICE_RESTORED;
usr/src/uts/common/io/bofi.c
1750
ep->errstate.errdef_handle = (uint64_t)(uintptr_t)ep;
usr/src/uts/common/io/bofi.c
1975
if (ep->errstate.msg_time != 0) {
usr/src/uts/common/io/bofi.c
2143
ep->errstate.access_count = ep->errdef.access_count;
usr/src/uts/common/io/bofi.c
2144
ep->errstate.fail_count = ep->errdef.fail_count;
usr/src/uts/common/io/bofi.c
2145
ep->errstate.acc_chk = ep->errdef.acc_chk;
usr/src/uts/common/io/bofi.c
2146
ep->errstate.log = ep->errdef.log;
usr/src/uts/common/io/bofi.c
2148
*errstatep = ep->errstate;
usr/src/uts/common/io/bofi.c
2202
ep->errstate.access_count = ep->errdef.access_count;
usr/src/uts/common/io/bofi.c
2203
ep->errstate.fail_count = ep->errdef.fail_count;
usr/src/uts/common/io/bofi.c
2204
ep->errstate.acc_chk = ep->errdef.acc_chk;
usr/src/uts/common/io/bofi.c
2205
ep->errstate.log = ep->errdef.log;
usr/src/uts/common/io/bofi.c
2207
*errstatep = ep->errstate;
usr/src/uts/common/io/bofi.c
2340
if (ep->errstate.fail_time == 0)
usr/src/uts/common/io/bofi.c
2341
ep->errstate.fail_time = bofi_gettime();
usr/src/uts/common/io/bofi.c
2457
if (ep->errstate.fail_time == 0)
usr/src/uts/common/io/bofi.c
2458
ep->errstate.fail_time = bofi_gettime();
usr/src/uts/common/io/bofi.c
2573
if (ep->errstate.fail_time == 0)
usr/src/uts/common/io/bofi.c
2574
ep->errstate.fail_time = bofi_gettime();
usr/src/uts/common/io/bofi.c
4332
if (ep->errstate.fail_time == 0)
usr/src/uts/common/io/bofi.c
4333
ep->errstate.fail_time = bofi_gettime();
usr/src/uts/common/io/bofi.c
4483
ep->errstate.errmsg_count++;
usr/src/uts/common/io/bofi.c
4484
if ((ep->errstate.msg_time == 0 ||
usr/src/uts/common/io/bofi.c
4485
ep->errstate.severity > arg->f_impact) &&
usr/src/uts/common/io/bofi.c
4487
ep->errstate.msg_time = bofi_gettime();
usr/src/uts/common/io/bofi.c
4488
ep->errstate.severity = arg->f_impact;
usr/src/uts/common/io/bofi.c
4489
(void) strncpy(ep->errstate.buffer,
usr/src/uts/common/io/bofi.c
4538
ep->errstate.errmsg_count++;
usr/src/uts/common/io/bofi.c
4541
if (ep->errstate.msg_time != 0)
usr/src/uts/common/io/bofi.c
4555
if (ep->errstate.severity > impact)
usr/src/uts/common/io/bofi.c
4556
ep->errstate.severity = impact;
usr/src/uts/common/io/bofi.c
4557
} else if (ep->errstate.buffer[0] == '\0') {
usr/src/uts/common/io/bofi.c
4558
(void) strncpy(ep->errstate.buffer, class,
usr/src/uts/common/io/bofi.c
4561
if (ep->errstate.buffer[0] != '\0' &&
usr/src/uts/common/io/bofi.c
4562
ep->errstate.severity < DDI_SERVICE_RESTORED) {
usr/src/uts/common/io/bofi.c
4563
ep->errstate.msg_time = bofi_gettime();
usr/src/uts/common/io/bofi.c
921
struct bofi_errstate errstate;
usr/src/uts/common/io/scsi/targets/st.c
10486
static errstate
usr/src/uts/common/io/scsi/targets/st.c
10494
errstate rval = COMMAND_DONE_ERROR;
usr/src/uts/common/io/scsi/targets/st.c
10556
static errstate
usr/src/uts/common/io/scsi/targets/st.c
10562
errstate rval = COMMAND_DONE_ERROR;
usr/src/uts/common/io/scsi/targets/st.c
10633
static errstate
usr/src/uts/common/io/scsi/targets/st.c
10639
errstate rval = COMMAND_DONE_ERROR;
usr/src/uts/common/io/scsi/targets/st.c
11434
static errstate
usr/src/uts/common/io/scsi/targets/st.c
11437
errstate action;
usr/src/uts/common/io/scsi/targets/st.c
16727
static errstate
usr/src/uts/common/io/scsi/targets/st.c
16729
errstate onentry)
usr/src/uts/common/io/scsi/targets/st.c
16788
st_recov_ret(struct scsi_tape *un, st_err_info *errinfo, errstate err)
usr/src/uts/common/io/scsi/targets/st.c
16845
errstate status = COMMAND_DONE_ERROR;
usr/src/uts/common/io/scsi/targets/st.c
17052
errstate action = COMMAND_DONE_ERROR;
usr/src/uts/common/io/scsi/targets/st.c
18004
static errstate
usr/src/uts/common/io/scsi/targets/st.c
543
static errstate st_handle_incomplete(struct scsi_tape *un, struct buf *bp);
usr/src/uts/common/io/scsi/targets/st.c
545
static errstate st_check_error(struct scsi_tape *un, struct scsi_pkt *pkt);
usr/src/uts/common/io/scsi/targets/st.c
546
static errstate st_handle_sense(struct scsi_tape *un, struct buf *bp,
usr/src/uts/common/io/scsi/targets/st.c
548
static errstate st_handle_autosense(struct scsi_tape *un, struct buf *bp,
usr/src/uts/common/io/scsi/targets/st.c
554
static errstate st_decode_sense(struct scsi_tape *un, struct buf *bp, int amt,
usr/src/uts/common/io/scsi/targets/st.c
623
static errstate st_command_recovery(struct scsi_tape *un, struct scsi_pkt *pkt,
usr/src/uts/common/io/scsi/targets/st.c
624
errstate onentry);
usr/src/uts/common/io/scsi/targets/st.c
640
static errstate st_recover_reissue_pkt(struct scsi_tape *us,
usr/src/uts/common/io/scsi/targets/st.c
9598
errstate action = COMMAND_DONE;
usr/src/uts/common/io/scsi/targets/st.c
9944
static errstate
usr/src/uts/common/io/scsi/targets/st.c
9949
errstate rval = COMMAND_DONE_ERROR;
usr/src/uts/common/sys/bofi_impl.h
38
struct bofi_errstate errstate;
usr/src/uts/common/sys/scsi/targets/stdef.h
1223
errstate ei_error_type;