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