Lines Matching defs:ipg
980 pgroup_t *ipg;
982 ipg = internal_pgroup_new();
984 if (scf_pg_get_flags(pg, &ipg->sc_pgroup_flags) != 0) {
987 internal_pgroup_free(ipg);
991 internal_pgroup_free(ipg);
1004 internal_pgroup_free(ipg);
1008 internal_pgroup_free(ipg);
1018 ipg->sc_pgroup_name = strdup(loadbuf);
1019 if (ipg->sc_pgroup_name == NULL) {
1020 internal_pgroup_free(ipg);
1027 free((char *)ipg->sc_pgroup_name);
1028 internal_pgroup_free(ipg);
1032 free((char *)ipg->sc_pgroup_name);
1033 internal_pgroup_free(ipg);
1043 ipg->sc_pgroup_type = strdup(loadbuf);
1044 if (ipg->sc_pgroup_type == NULL) {
1045 free((char *)ipg->sc_pgroup_name);
1046 internal_pgroup_free(ipg);
1050 *ipgp = ipg;
1067 pgroup_t *ipg;
1086 r = load_pg_attrs(pg, &ipg);
1141 r = internal_attach_property(ipg, iprop);
1148 ipg->sc_pgroup_name, fmri,
1155 ipg->sc_pgroup_name, snapname, fmri,
1163 *ipgp = ipg;
1167 internal_pgroup_free(ipg);
1183 pgroup_t *ipg;
1280 if ((rc = load_pg(load_pgroup, &ipg, fmri, NULL)) != 0) {
1292 if (internal_attach_pgroup(e, ipg) != 0) {