Lines Matching refs:aflt

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