Lines Matching refs:aflt

114 	struct async_flt *aflt;
175 aflt = (struct async_flt *)&(errh_flt.cmn_asyncflt);
176 aflt->flt_id = gethrtime();
177 aflt->flt_bus_id = getprocessorid();
178 aflt->flt_class = CPU_FAULT;
179 aflt->flt_prot = AFLT_PROT_NONE;
180 aflt->flt_priv = (((errh_flt.errh_er.attr & ERRH_MODE_MASK)
185 aflt->flt_panic = 1;
187 aflt->flt_panic = 0;
193 (void) errh_rq_full(aflt);
204 * Panic here if aflt->flt_panic has been set.
207 if (aflt->flt_panic) {
218 struct async_flt *aflt;
251 aflt = (struct async_flt *)&(errh_flt.cmn_asyncflt);
256 aflt->flt_class = BUS_FAULT;
258 aflt->flt_class = CPU_FAULT;
260 aflt->flt_id = gethrtime();
261 aflt->flt_bus_id = getprocessorid();
262 aflt->flt_pc = (caddr_t)rp->r_pc;
265 aflt->flt_priv = (exec_mode == ERRH_MODE_PRIV ||
267 aflt->flt_prot = AFLT_PROT_NONE;
268 aflt->flt_tl = (uchar_t)(flags & ERRH_TL_MASK);
269 aflt->flt_panic = ((aflt->flt_tl != 0) ||
279 flags = (uint64_t)aflt->flt_tl;
286 aflt->flt_panic = 0;
305 if (aflt->flt_priv == 1 && aflt->flt_tl == 0 &&
309 errh_error_protected(rp, aflt, &expected);
312 if (!aflt->flt_priv || aflt->flt_prot ==
314 aflt->flt_panic |= aft_panic;
316 (aflt->flt_class != BUS_FAULT)) {
317 aflt->flt_panic = 1;
330 if (aflt->flt_class == BUS_FAULT) {
331 aflt->flt_addr = errh_flt.errh_er.ra;
332 errh_cpu_run_bus_error_handlers(aflt,
353 aflt->flt_panic = 1;
366 * Panic here if aflt->flt_panic has been set.
369 if (aflt->flt_panic) {
385 if (!aflt->flt_priv || aflt->flt_prot == AFLT_PROT_COPY ||
389 if (aflt->flt_class == CPU_FAULT)
391 else if (aflt->flt_class == BUS_FAULT)
407 errh_cpu_run_bus_error_handlers(struct async_flt *aflt, int expected)
415 de.fme_ena = fm_ena_generate(aflt->flt_id, FM_ENA_FMT1);
417 de.fme_bus_specific = (void *)aflt->flt_addr;
427 if ((aflt->flt_prot == AFLT_PROT_NONE) && (aflt->flt_priv == 1) &&
429 aflt->flt_panic = 1;
438 errh_error_protected(struct regs *rp, struct async_flt *aflt, int *expected)
447 aflt->flt_prot = AFLT_PROT_EC;
455 aflt->flt_prot = AFLT_PROT_ACCESS;
472 aflt->flt_prot = AFLT_PROT_COPY;
488 struct async_flt *aflt = (struct async_flt *)errh_fltp;
491 if (aflt->flt_panic)
497 aflt->flt_panic);
551 cpu_ce_log_err(struct async_flt *aflt)
553 switch (aflt->flt_class) {
555 cpu_async_log_err(aflt);
559 cpu_async_log_err(aflt);
571 cpu_ue_log_err(struct async_flt *aflt)
573 switch (aflt->flt_class) {
575 cpu_async_log_err(aflt);
579 cpu_async_log_err(aflt);
726 ue_drain(void *ignored, struct async_flt *aflt, errorq_elem_t *eqep)
728 cpu_ue_log_err(aflt);
737 ce_drain(void *ignored, struct async_flt *aflt, errorq_elem_t *eqep)
739 cpu_ce_log_err(aflt);