Lines Matching refs:clop

149     uint64_t nceen, ch_cpu_logout_t *clop);
1186 ch_cpu_logout_t *clop) in cpu_check_cpu_logout() argument
1192 if (clop == NULL || clop->clo_data.chd_afar == LOGOUT_INVALID) { in cpu_check_cpu_logout()
1198 t_afar = clop->clo_data.chd_afar; in cpu_check_cpu_logout()
1199 t_afsr = clop->clo_data.chd_afsr; in cpu_check_cpu_logout()
1200 t_afsr_ext = clop->clo_data.chd_afsr_ext; in cpu_check_cpu_logout()
1202 ch_flt.afar2 = clop->clo_data.chd_afar2; in cpu_check_cpu_logout()
1234 if (cpu_queue_events(&ch_flt, NULL, t_afsr_errs, clop) == 0) { in cpu_check_cpu_logout()
1244 bzero(clop, sizeof (ch_cpu_logout_t)); in cpu_check_cpu_logout()
1245 clop->clo_data.chd_afar = LOGOUT_INVALID; in cpu_check_cpu_logout()
1311 ch_cpu_logout_t *clop; in cpu_fast_ecc_error() local
1320 clop = NULL; in cpu_fast_ecc_error()
1324 clop = CPU_PRIVATE_PTR(CPU, chpr_fecctl0_logout); in cpu_fast_ecc_error()
1325 ceen = clop->clo_flags & EN_REG_CEEN; in cpu_fast_ecc_error()
1326 nceen = clop->clo_flags & EN_REG_NCEEN; in cpu_fast_ecc_error()
1330 (rp->r_tstate & TSTATE_PRIV) ? 1 : 0, 0, ceen, nceen, clop); in cpu_fast_ecc_error()
1340 uint64_t nceen, ch_cpu_logout_t *clop) in cpu_log_fast_ecc_error() argument
1353 if (clop == NULL) { in cpu_log_fast_ecc_error()
1364 t_afar = clop->clo_data.chd_afar; in cpu_log_fast_ecc_error()
1365 t_afsr = clop->clo_data.chd_afsr; in cpu_log_fast_ecc_error()
1366 t_afsr_ext = clop->clo_data.chd_afsr_ext; in cpu_log_fast_ecc_error()
1368 ch_flt.afar2 = clop->clo_data.chd_afar2; in cpu_log_fast_ecc_error()
1428 aflt->flt_panic |= ((clop == NULL) && in cpu_log_fast_ecc_error()
1435 aflt->flt_panic |= ((clop == NULL) && in cpu_log_fast_ecc_error()
1445 if (cpu_queue_events(&ch_flt, pr_reason, t_afsr_errs, clop) == 0 || in cpu_log_fast_ecc_error()
1456 if (clop) { in cpu_log_fast_ecc_error()
1457 bzero(clop, sizeof (ch_cpu_logout_t)); in cpu_log_fast_ecc_error()
1458 clop->clo_data.chd_afar = LOGOUT_INVALID; in cpu_log_fast_ecc_error()
1634 ch_cpu_logout_t *clop; in cpu_disrupting_error() local
1645 clop = NULL; in cpu_disrupting_error()
1656 clop = CPU_PRIVATE_PTR(CPU, chpr_cecc_logout); in cpu_disrupting_error()
1657 t_afar = clop->clo_data.chd_afar; in cpu_disrupting_error()
1658 t_afsr = clop->clo_data.chd_afsr; in cpu_disrupting_error()
1659 t_afsr_ext = clop->clo_data.chd_afsr_ext; in cpu_disrupting_error()
1661 ch_flt.afar2 = clop->clo_data.chd_afar2; in cpu_disrupting_error()
1744 ch_cpu_logout_t *clop; in cpu_deferred_error() local
1769 clop = NULL; in cpu_deferred_error()
1781 clop = CPU_PRIVATE_PTR(CPU, chpr_async_logout); in cpu_deferred_error()
1782 t_afar = clop->clo_data.chd_afar; in cpu_deferred_error()
1783 t_afsr = clop->clo_data.chd_afsr; in cpu_deferred_error()
1784 t_afsr_ext = clop->clo_data.chd_afsr_ext; in cpu_deferred_error()
1786 ch_flt.afar2 = clop->clo_data.chd_afar2; in cpu_deferred_error()
1788 clo_flags = clop->clo_flags; in cpu_deferred_error()
1916 cpu_queue_events(&ch_flt, pr_reason, log_afsr, clop) == 0) || in cpu_deferred_error()
1927 if (clop) { in cpu_deferred_error()
1928 bzero(clop, sizeof (ch_cpu_logout_t)); in cpu_deferred_error()
1929 clop->clo_data.chd_afar = LOGOUT_INVALID; in cpu_deferred_error()
2750 ch_cpu_logout_t *clop; in cpu_ce_scrub_mem_err_common() local
2856 clop = CPU_PRIVATE(CPU) ? CPU_PRIVATE_PTR(CPU, chpr_cecc_logout) : NULL; in cpu_ce_scrub_mem_err_common()
2857 if (!(disp & CE_XDIAG_NOLOGOUT) && clop && in cpu_ce_scrub_mem_err_common()
2858 clop->clo_data.chd_afar != LOGOUT_INVALID) { in cpu_ce_scrub_mem_err_common()
2870 hit = cpu_matching_ecache_line(ecc->flt_addr, &clop->clo_data, in cpu_ce_scrub_mem_err_common()
2879 ecp = &clop->clo_data.chd_l2_data[hit]; in cpu_ce_scrub_mem_err_common()
2881 ecp = &clop->clo_data.chd_ec_data[hit]; in cpu_ce_scrub_mem_err_common()
2884 ecp = &clop->clo_data.chd_ec_data[hit]; in cpu_ce_scrub_mem_err_common()
2927 bzero(clop, sizeof (ch_cpu_logout_t)); in cpu_ce_scrub_mem_err_common()
2928 clop->clo_data.chd_afar = LOGOUT_INVALID; in cpu_ce_scrub_mem_err_common()
4970 ch_cpu_logout_t *clop) in cpu_queue_events() argument
4991 if (clop != NULL) { in cpu_queue_events()
4998 cdp = &clop->clo_sdw_data; in cpu_queue_events()
5041 if (clop != NULL) in cpu_queue_events()
5042 cdp = &clop->clo_data; in cpu_queue_events()
5059 if (clop != NULL) in cpu_queue_events()
5060 cdp = &clop->clo_sdw_data; in cpu_queue_events()
5063 if (clop != NULL) in cpu_queue_events()
5064 cdp = &clop->clo_data; in cpu_queue_events()
5093 if (clop != NULL) in cpu_queue_events()
5094 cdp = &clop->clo_sdw_data; in cpu_queue_events()
5097 if (clop != NULL) in cpu_queue_events()
5098 cdp = &clop->clo_data; in cpu_queue_events()
6297 ch_cpu_logout_t *clop; local
6302 clop = CPU_PRIVATE_PTR(CPU, chpr_cecc_logout);
6303 if (atomic_cas_64(&clop->clo_data.chd_afar, LOGOUT_INVALID, afar) !=
6307 cpu_delayed_logout(afar, clop);
6358 ch_cpu_logout_t *clop; local
6377 clop = NULL;
6380 clop = CPU_PRIVATE_PTR(CPU, chpr_cecc_logout);
6383 if (clop && ch_flt->flt_trapped_ce & CE_CEEN_TIMEOUT) {
6388 clop->clo_data.chd_afsr = cpu_error_regs.afsr;
6389 clop->clo_data.chd_afar = cpu_error_regs.afar;
6390 clop->clo_data.chd_afsr_ext = cpu_error_regs.afsr_ext;
6391 clop->clo_sdw_data.chd_afsr = cpu_error_regs.shadow_afsr;
6392 clop->clo_sdw_data.chd_afar = cpu_error_regs.shadow_afar;
6393 clop->clo_sdw_data.chd_afsr_ext =
6396 clop->clo_data.chd_afar2 = cpu_error_regs.afar2;
6448 if (cpu_queue_events(ch_flt, pr_reason, afsr_errs, clop) == 0 ||
6459 if (clop) {
6460 bzero(clop, sizeof (ch_cpu_logout_t));
6461 clop->clo_data.chd_afar = LOGOUT_INVALID;