Lines Matching refs:nf
913 nvlist_t *nf = NULL;
935 if (topo_mod_nvalloc(mod, &nf, NV_UNIQUE_NAME) != 0) {
940 if (nvlist_add_string(nf, FM_FMRI_FACILITY_NAME, fname) != 0 ||
941 nvlist_add_string(nf, FM_FMRI_FACILITY_TYPE, ftype) != 0) {
948 *nvl = nf;
973 nvlist_t *nf = NULL, *auth = NULL, *fac = NULL, *hcsp = NULL;
1000 if ((nf = hc_base_fmri_create(mod, auth, part, rev, serial,
1030 nvlist_add_nvlist(nf, FM_FMRI_HC_SPECIFIC, hcsp) != 0)
1033 if ((e = nvlist_add_uint32(nf, FM_FMRI_HC_LIST_SZ, n + 1)) == 0)
1034 e = nvlist_add_nvlist_array(nf, FM_FMRI_HC_LIST, pa, n + 1);
1044 if (nvlist_add_nvlist(nf, FM_FMRI_FACILITY, fac) != 0)
1048 *out = nf;
1067 nvlist_free(nf);