Lines Matching refs:pg_name

1117 	char			*pg_name;  in get_instance_pg()  local
1127 if ((pg_name = malloc(namelen)) == NULL) { in get_instance_pg()
1134 if (scf_pg_get_name(simple_h->running_pg, pg_name, namelen) < 0) { in get_instance_pg()
1142 if (scf_instance_get_pg(simple_h->inst, pg_name, ret_pg) == -1) { in get_instance_pg()
1323 scf_general_pg_setup(const char *fmri, const char *pg_name) in scf_general_pg_setup() argument
1354 if (scf_instance_get_pg_composed(ret->inst, ret->snap, pg_name, in scf_general_pg_setup()
1871 thispg->pg_name = NULL; in scf_simple_app_props_get()
1884 if (thispg->pg_name != NULL) { in scf_simple_app_props_get()
1889 nextpg->pg_name = NULL; in scf_simple_app_props_get()
1899 if ((nextpg->pg_name = malloc(namelen)) == NULL) { in scf_simple_app_props_get()
1904 if (scf_pg_get_name(pg, nextpg->pg_name, namelen) < 0) { in scf_simple_app_props_get()
1931 nextpg->pg_name, propname, h)) == NULL) in scf_simple_app_props_get()
1938 nextpg->pg_name, propname, h)) == NULL) in scf_simple_app_props_get()
1994 while ((thispg != NULL) && (thispg->pg_name != NULL)) { in scf_simple_app_props_get()
1995 if (strcmp(thispg->pg_name, pgname) == 0) { in scf_simple_app_props_get()
2038 if ((nextpg->pg_name = strdup(pgname)) == NULL) { in scf_simple_app_props_get()
2044 if (thispg->pg_name == NULL) { in scf_simple_app_props_get()
2096 if (ret->ap_pglist->pg_name == NULL) in scf_simple_app_props_get()
2155 free(pgthis->pg_name); in scf_simple_app_props_free()
2248 (strcmp(SCF_PG_APP_DEFAULT, pg->pg_name) != 0)) in scf_simple_app_props_search()
2251 while ((pg != NULL) && (strcmp(pgname, pg->pg_name) != 0)) in scf_simple_app_props_search()