Lines Matching refs:gpg
482 scf_propertygroup_t *gpg = NULL; in get_inst_enabled() local
492 if ((gpg = scf_pg_create(h)) == NULL || in get_inst_enabled()
497 if (scf_instance_get_pg(inst, pgname, gpg) || in get_inst_enabled()
498 scf_pg_get_property(gpg, SCF_PROPERTY_ENABLED, eprop) || in get_inst_enabled()
505 scf_pg_destroy(gpg); in get_inst_enabled()
527 scf_propertygroup_t *gpg = NULL; in set_inst_enabled() local
539 if ((gpg = scf_pg_create(h)) == NULL || in set_inst_enabled()
549 if (scf_instance_get_pg(inst, SCF_PG_GENERAL, gpg) == -1) { in set_inst_enabled()
554 SCF_GROUP_FRAMEWORK, SCF_PG_GENERAL_FLAGS, gpg) == -1) { in set_inst_enabled()
563 if (scf_instance_get_pg(inst, pgname, gpg) == -1) { in set_inst_enabled()
568 SCF_GROUP_FRAMEWORK, pgflags, gpg) == -1) { in set_inst_enabled()
576 if (scf_pg_get_property(gpg, SCF_PROPERTY_ENABLED, eprop) == -1) { in set_inst_enabled()
609 if (scf_transaction_start(tx, gpg) == -1) in set_inst_enabled()
663 if (scf_pg_update(gpg) == -1) in set_inst_enabled()
677 scf_pg_destroy(gpg); in set_inst_enabled()
688 scf_propertygroup_t *gpg = NULL; in delete_inst_enabled() local
696 if ((gpg = scf_pg_create(h)) == NULL || in delete_inst_enabled()
702 if (scf_instance_get_pg(inst, pgname, gpg) != 0) in delete_inst_enabled()
705 if (scf_transaction_start(tx, gpg) == -1) in delete_inst_enabled()
727 if (committed == 0 && scf_pg_update(gpg) == -1) in delete_inst_enabled()
746 scf_pg_destroy(gpg); in delete_inst_enabled()