Lines Matching refs:fac
855 char *fac, *copy, *fname, *ftype; in make_facility() local
859 if ((fac = strchr(str, '?')) == NULL) in make_facility()
862 ++fac; in make_facility()
863 if ((copy = topo_mod_strdup(mod, fac)) == NULL) in make_facility()
866 fac = copy; in make_facility()
867 len = strlen(fac); in make_facility()
869 if ((fname = strchr(fac, '=')) == NULL) { in make_facility()
876 ftype = fac; in make_facility()
904 nvlist_t *fac = NULL; in hc_fmri_str2nvl() local
975 if (make_facility(mod, str, &fac) == -1) in hc_fmri_str2nvl()
978 if (fac != NULL) { in hc_fmri_str2nvl()
979 if (nvlist_add_nvlist(nf, FM_FMRI_FACILITY, fac) != 0) in hc_fmri_str2nvl()