Lines Matching refs:hcsp
428 nvlist_t *hcsp = NULL; in fmri_nvl2str() local
511 if (nvlist_lookup_nvlist(nvl, FM_FMRI_HC_SPECIFIC, &hcsp) == 0) { in fmri_nvl2str()
516 if (nvlist_lookup_uint64(hcsp, FM_FMRI_HC_SPECIFIC_OFFSET, in fmri_nvl2str()
517 &val) == 0 || nvlist_lookup_uint64(hcsp, in fmri_nvl2str()
520 else if (nvlist_lookup_uint64(hcsp, in fmri_nvl2str()
522 nvlist_lookup_uint64(hcsp, in fmri_nvl2str()
939 nvlist_t *hcsp; in hc_fmri_str2nvl() local
945 if (topo_mod_nvalloc(mod, &hcsp, NV_UNIQUE_NAME) != 0) in hc_fmri_str2nvl()
947 if (nvlist_add_uint64(hcsp, hcsn, val) != 0 || in hc_fmri_str2nvl()
948 nvlist_add_nvlist(nf, FM_FMRI_HC_SPECIFIC, hcsp) != 0) { in hc_fmri_str2nvl()
949 nvlist_free(hcsp); in hc_fmri_str2nvl()
953 nvlist_free(hcsp); in hc_fmri_str2nvl()