Lines Matching refs:pgname

135 fill_prop(scf_property_t *prop, const char *pgname, const char *propname,
154 if (pgname == NULL)
157 ret->pr_pgname = strdup(pgname);
359 insert_app_props(scf_iter_t *propiter, char *pgname, char *propname, struct
382 if ((newprop = fill_prop(prop, pgname,
403 if ((newprop = fill_prop(prop, pgname, propname, h)) ==
478 get_inst_enabled(const scf_instance_t *inst, const char *pgname)
495 if (scf_instance_get_pg(inst, pgname, gpg) ||
517 const char *pgname, uint32_t pgflags)
552 if (strcmp(pgname, SCF_PG_GENERAL) != 0) {
554 if (scf_instance_get_pg(inst, pgname, gpg) == -1) {
558 if (scf_instance_add_pg(inst, pgname,
649 delete_inst_enabled(const scf_instance_t *inst, const char *pgname)
666 if (scf_instance_get_pg(inst, pgname, gpg) != 0)
1650 scf_simple_prop_get(scf_handle_t *hin, const char *instance, const char *pgname,
1670 if ((fmri_buf = assemble_fmri(h, instance, pgname, propname)) == NULL) {
1698 if ((svcfmri = assemble_fmri(h, fmri_buf, pgname,
1719 if ((ret = fill_prop(prop, pgname, propname, h)) == NULL)
1798 char *propname = NULL, *pgname = NULL, *sys_fmri;
1862 (pgname = malloc(namelen)) == NULL) {
1988 if (scf_pg_get_name(pg, pgname, namelen) < 0) {
1995 if (strcmp(thispg->pg_name, pgname) == 0) {
2019 if (insert_app_props(propiter, pgname, propname,
2038 if ((nextpg->pg_name = strdup(pgname)) == NULL) {
2062 pgname, propname, h)) ==
2070 pgname, propname, h)) ==
2106 free(pgname);
2128 free(pgname);
2230 const char *pgname, const char *propname)
2243 * If pgname is NULL, we're searching the default application
2246 if (pgname == NULL) {
2251 while ((pg != NULL) && (strcmp(pgname, pg->pg_name) != 0))
2590 scf_read_propvec(const char *fmri, const char *pgname, boolean_t running,
2628 if ((instance ? scf_instance_get_pg_composed(i, snap, pgname, pg) :
2629 scf_service_get_pg(s, pgname, pg)) == -1)
2756 scf_write_propvec(const char *fmri, const char *pgname,
2803 if ((instance ? scf_instance_get_pg(inst, pgname, pg) :
2804 scf_service_get_pg(s, pgname, pg)) == -1)
2919 scf_instance_delete_prop(scf_instance_t *inst, const char *pgname,
2934 if (scf_instance_get_pg(inst, pgname, pg) != 0) {