Lines Matching defs:hcsp
479 nvlist_t *hcsp = NULL;
562 if (nvlist_lookup_nvlist(nvl, FM_FMRI_HC_SPECIFIC, &hcsp) == 0) {
567 if (nvlist_lookup_uint64(hcsp, FM_FMRI_HC_SPECIFIC_OFFSET,
568 &val) == 0 || nvlist_lookup_uint64(hcsp,
571 else if (nvlist_lookup_uint64(hcsp,
573 nvlist_lookup_uint64(hcsp,
990 nvlist_t *hcsp;
996 if (topo_mod_nvalloc(mod, &hcsp, NV_UNIQUE_NAME) != 0)
998 if (nvlist_add_uint64(hcsp, hcsn, val) != 0 ||
999 nvlist_add_nvlist(nf, FM_FMRI_HC_SPECIFIC, hcsp) != 0) {
1000 nvlist_free(hcsp);
1004 nvlist_free(hcsp);