Lines Matching defs:pg_name
1115 char *pg_name;
1125 if ((pg_name = malloc(namelen)) == NULL) {
1132 if (scf_pg_get_name(simple_h->running_pg, pg_name, namelen) < 0) {
1140 if (scf_instance_get_pg(simple_h->inst, pg_name, ret_pg) == -1) {
1301 * scf_general_pg_setup(fmri, pg_name)
1321 scf_general_pg_setup(const char *fmri, const char *pg_name)
1352 if (scf_instance_get_pg_composed(ret->inst, ret->snap, pg_name,
1881 thispg->pg_name = NULL;
1894 if (thispg->pg_name != NULL) {
1899 nextpg->pg_name = NULL;
1909 if ((nextpg->pg_name = malloc(namelen)) == NULL) {
1914 if (scf_pg_get_name(pg, nextpg->pg_name, namelen) < 0) {
1941 nextpg->pg_name, propname, h)) == NULL)
1948 nextpg->pg_name, propname, h)) == NULL)
2004 while ((thispg != NULL) && (thispg->pg_name != NULL)) {
2005 if (strcmp(thispg->pg_name, pgname) == 0) {
2048 if ((nextpg->pg_name = strdup(pgname)) == NULL) {
2054 if (thispg->pg_name == NULL) {
2117 if (ret->ap_pglist->pg_name == NULL)
2165 free(pgthis->pg_name);
2258 (strcmp(SCF_PG_APP_DEFAULT, pg->pg_name) != 0))
2261 while ((pg != NULL) && (strcmp(pgname, pg->pg_name) != 0))