Lines Matching refs:gpg
480 scf_propertygroup_t *gpg = NULL; in get_inst_enabled() local
490 if ((gpg = scf_pg_create(h)) == NULL || in get_inst_enabled()
495 if (scf_instance_get_pg(inst, pgname, gpg) || in get_inst_enabled()
496 scf_pg_get_property(gpg, SCF_PROPERTY_ENABLED, eprop) || in get_inst_enabled()
503 scf_pg_destroy(gpg); in get_inst_enabled()
521 scf_propertygroup_t *gpg = NULL; in set_inst_enabled() local
532 if ((gpg = scf_pg_create(h)) == NULL || in set_inst_enabled()
540 if (scf_instance_get_pg(inst, SCF_PG_GENERAL, gpg) == -1) { in set_inst_enabled()
545 SCF_GROUP_FRAMEWORK, SCF_PG_GENERAL_FLAGS, gpg) == -1) { in set_inst_enabled()
554 if (scf_instance_get_pg(inst, pgname, gpg) == -1) { in set_inst_enabled()
559 SCF_GROUP_FRAMEWORK, pgflags, gpg) == -1) { in set_inst_enabled()
567 if (scf_pg_get_property(gpg, SCF_PROPERTY_ENABLED, eprop) == -1) { in set_inst_enabled()
600 if (scf_transaction_start(tx, gpg) == -1) in set_inst_enabled()
631 if (scf_pg_update(gpg) == -1) in set_inst_enabled()
643 scf_pg_destroy(gpg); in set_inst_enabled()
653 scf_propertygroup_t *gpg = NULL; in delete_inst_enabled() local
661 if ((gpg = scf_pg_create(h)) == NULL || in delete_inst_enabled()
666 if (scf_instance_get_pg(inst, pgname, gpg) != 0) in delete_inst_enabled()
669 if (scf_transaction_start(tx, gpg) == -1 || in delete_inst_enabled()
677 if (committed == 0 && scf_pg_update(gpg) == -1) in delete_inst_enabled()
695 scf_pg_destroy(gpg); in delete_inst_enabled()