Lines Matching defs:xr

618 	new_Lxcache = cmd_Lxcache_create(hdl, Lxcache->xr, cpu,
1515 pn_there_is_a_matching_synd(fmd_hdl_t *hdl, cmd_xr_t *xr)
1525 ecp = (ch_ec_data_t *)(xr->xr_cache_data);
1526 for (way = 0; way < xr->xr_num_ways; way++, ecp++) {
1555 (xr->xr_synd == calc_synd)) {
1556 if (xr->xr_num_ways == 1) {
1560 xr->xr_synd, xr->xr_error_index,
1561 xr->xr_error_way);
1567 xr->xr_synd, xr->xr_error_index,
1569 xr->xr_error_way = way;
1621 cmd_cache_ce_panther(fmd_hdl_t *hdl, fmd_event_t *ep, cmd_xr_t *xr)
1624 cmd_cpu_t *cpu = xr->xr_cpu;
1643 if (!(xr->xr_clcode & (int)PN_CACHE_ERRORS))
1649 if (CMD_ERRCL_ISL2XXCU(xr->xr_clcode)) {
1670 cmd_fmri_init(hdl, &xr->xr_rsrc,
1671 xr->xr_detector_nvlist, "%s_rsrc",
1672 fmd_case_uuid(hdl, xr->xr_case));
1674 bit = (uint8_t)ecc_syndrome_tab[xr->xr_synd];
1675 offset = (uint16_t)xr->xr_afar & 0x3f;
1692 xr->xr_error_index = pn_extract_index(type, xr->xr_afar);
1693 if (xr->xr_error_index == 0xffffffff) {
1698 xr->xr_cpuid, xr->xr_synd, xr->xr_afar);
1700 xr->xr_error_index, xr->xr_error_index, bit);
1714 switch (xr->xr_clcode) {
1724 xr->xr_error_way = (uint32_t)CMD_ANON_WAY;
1738 xr->xr_error_way = (uint32_t)CMD_ANON_WAY;
1754 xr->xr_num_ways);
1758 xr->xr_error_way);
1769 xr->xr_num_ways);
1773 xr->xr_error_way);
1777 xr->xr_error_way = (uint32_t)CMD_ANON_WAY;
1780 (xr->xr_cache_data != NULL) &&
1781 (!pn_there_is_a_matching_synd(hdl, xr))) {
1784 Lxcache = cmd_Lxcache_lookup_by_type_index_way_bit(xr->xr_cpu, type,
1785 xr->xr_error_index, xr->xr_error_way, bit);
1791 cache_ed->ed_fltnm, xr->xr_cpuid,
1792 xr->xr_error_index, xr->xr_error_way, bit);
1793 Lxcache = cmd_Lxcache_create(hdl, xr, xr->xr_cpu,
1794 xr->xr_cpu->cpu_asru_nvl,
1795 type, xr->xr_error_index,
1796 xr->xr_error_way, bit);
1811 cmd_Lxcache_serdnm_create(hdl, xr->xr_cpuid,
1812 type, xr->xr_error_index, xr->xr_error_way, bit);
1838 cache_ed->ed_fltnm, xr->xr_cpuid, Lxcache->Lxcache_case.cc_serdnm);
1863 if (xr->xr_error_way != (uint32_t)CMD_ANON_WAY) {
1973 cmd_xr_pn_cache_fill(fmd_hdl_t *hdl, nvlist_t *nvl, cmd_xr_t *xr,
1984 &xr->xr_detector_nvlist) != 0) {
1989 &xr->xr_afsr) != 0) {
1998 &xr->xr_num_ways) != 0) {
2012 &xr->xr_num_ways) != 0) {
2025 if (xr->xr_num_ways > PN_CACHE_NWAYS) {
2031 xr->xr_cache_data = cache_data;
2034 xr->xr_error_way = (uint32_t)CMD_ANON_WAY;
2044 xr->xr_error_tag = data_ptr[0].ec_tag;
2045 xr->xr_error_way = (uint32_t)data_ptr[0].ec_way;
2048 if (xr->xr_num_ways > 1)
2049 xr->xr_error_way = (uint32_t)CMD_ANON_WAY;