errinfo
struct errinfo err;
krb5int_set_error (struct errinfo *ep,
krb5int_vset_error (struct errinfo *ep, long code,
krb5int_get_error (struct errinfo *ep, long code);
krb5int_free_error (struct errinfo *ep, const char *msg);
krb5int_clear_error (struct errinfo *ep);
void (***)(void), struct errinfo *);
krb5int_open_plugin (const char *, struct plugin_file_handle **, struct errinfo *);
struct errinfo *);
void (**)(), struct errinfo *);
struct plugin_dir_handle *, struct errinfo *);
void ***, struct errinfo *);
krb5int_free_error (struct errinfo *ep, const char *msg)
krb5int_clear_error (struct errinfo *ep)
krb5int_set_error (struct errinfo *ep, long code, const char *fmt, ...)
krb5int_vset_error (struct errinfo *ep, long code,
krb5int_get_error (struct errinfo *ep, long code)
struct errinfo *ep)
void **ptr, struct errinfo *ep)
void (**ptr)(), struct errinfo *ep)
struct errinfo *ep)
struct errinfo *ep)
struct errinfo *ep)
krb5int_open_plugin (const char *filepath, struct plugin_file_handle **h, struct errinfo *ep)
struct errinfo err;
struct errinfo err;
st_err_info *errinfo;
errinfo = kmem_zalloc(ST_ERR_INFO_SIZE, KM_SLEEP);
errinfo->ei_error_type = onentry;
errinfo->ei_failing_bp = ri->cmd_bp;
COPY_POS(&errinfo->ei_expected_pos, &ri->pos);
bcopy(pkt, &errinfo->ei_failed_pkt, scsi_pkt_size());
bcopy(pkt->pkt_scbp, &errinfo->ei_failing_status, SECMDS_STATUS_SIZE);
ret = ddi_taskq_dispatch(un->un_recov_taskq, st_recover, errinfo,
kmem_free(errinfo, ST_ERR_INFO_SIZE);
st_recov_ret(struct scsi_tape *un, st_err_info *errinfo, errstate err)
bp = errinfo->ei_failing_bp;
kmem_free(errinfo, ST_ERR_INFO_SIZE);
st_err_info *const errinfo = (st_err_info *)arg;
uchar_t com = errinfo->ei_failed_pkt.pkt_cdbp[0];
rcv = errinfo->ei_failed_pkt.pkt_private;
(caddr_t)errinfo->ei_failed_pkt.pkt_cdbp);
(caddr_t)&errinfo->ei_failing_status,
&errinfo->ei_expected_pos);
errstatenames[errinfo->ei_error_type], rval);
st_recov_ret(un, errinfo, COMMAND_DONE_ERROR);
switch (errinfo->ei_error_type) {
st_recov_ret(un, errinfo, COMMAND_DONE_ERROR);
if ((errinfo->ei_failed_pkt.pkt_cdbp[0] ==
(errinfo->ei_failed_pkt.pkt_cdbp[1] ==
(SCBP_C(&errinfo->ei_failed_pkt) ==
st_recov_ret(un, errinfo, COMMAND_DONE_ERROR);
(errinfo->ei_failed_pkt.pkt_cdbp[0] ==
(errinfo->ei_failed_pkt.pkt_cdbp[0] ==
st_recov_ret(un, errinfo, COMMAND_DONE_EACCES);
(errinfo->ei_failed_pkt.pkt_cdbp[0] != SCMD_RELEASE)) {
st_recov_ret(un, errinfo,
st_recov_ret(un, errinfo, COMMAND_DONE_ERROR);
if ((errinfo->ei_failing_status.sts_sensedata.es_add_code ==
(errinfo->ei_failing_status.sts_sensedata.es_qual_code ==
st_recov_ret(un, errinfo, COMMAND_DONE_ERROR);
st_recov_ret(un, errinfo, COMMAND_DONE_EACCES);
errstatenames[errinfo->ei_error_type], com);
status = st_recover_reissue_pkt(un, &errinfo->ei_failed_pkt);
rval = st_compare_expected_position(un, errinfo,
&errinfo->ei_failed_pkt);
st_recov_ret(un, errinfo, status);