Lines Matching refs:nverr
33 int nverr;
36 SES_NV_ADD(fixed_string, nverr, nvl, SES_PROP_CLASS_DESCRIPTION,
45 int nverr;
47 SES_NV_ADD(uint64, nverr, nvl, name, tp->st_hdr.sehi_subenclosure_id);
55 int nverr;
57 SES_NV_ADD(uint64, nverr, nvl, name, tp->st_hdr.sehi_rel_esp_id);
65 int nverr;
67 SES_NV_ADD(uint64, nverr, nvl, name, tp->st_hdr.sehi_n_esps);
76 int nverr;
78 if ((nverr = nvlist_alloc(&lid, NV_UNIQUE_NAME, 0)) != 0)
79 return (ses_set_nverrno(nverr, NULL));
81 SES_NV_ADD_OR_FREE(uint64, nverr, lid, SPC3_NAA_INT,
86 SES_NV_ADD_OR_FREE(uint64, nverr, lid, SPC3_NAA_ID_TYPE,
88 SES_NV_ADD_OR_FREE(uint64, nverr, lid, SPC3_NAA_COMPANY_ID,
90 SES_NV_ADD_OR_FREE(uint64, nverr, lid, SPC3_NAA_VS_A,
92 SES_NV_ADD_OR_FREE(uint64, nverr, lid, SPC3_NAA_VS_B,
96 SES_NV_ADD_OR_FREE(uint64, nverr, lid, SPC3_NAA_ID_TYPE,
98 SES_NV_ADD_OR_FREE(uint64, nverr, lid, SPC3_NAA_COMPANY_ID,
100 SES_NV_ADD_OR_FREE(uint64, nverr, lid, SPC3_NAA_VS_A,
107 if ((nverr = nvlist_add_nvlist(nvl, name, lid)) != 0) {
109 return (ses_set_nverrno(nverr, name));
121 int nverr;
123 SES_NV_ADD_FS_TRUNC(nverr, nvl, name, tp->st_vendor_id);
132 int nverr;
134 SES_NV_ADD_FS_TRUNC(nverr, nvl, name, tp->st_product_id);
143 int nverr;
145 SES_NV_ADD_FS_TRUNC(nverr, nvl, name, tp->st_product_revision);
153 int nverr;
155 SES_NV_ADD(byte_array, nverr, nvl, name, (uchar_t *)tp->st_priv,