Lines Matching refs:pg
73 scf_propertygroup_t *pg; in is_enabled() local
76 if ((pg = scf_pg_create(h)) == NULL) in is_enabled()
79 if (scf_instance_get_pg(inst, SCF_PG_GENERAL_OVR, pg) == 0 && in is_enabled()
80 get_bool_prop(pg, SCF_PROPERTY_ENABLED, &bp) == 0) { in is_enabled()
81 scf_pg_destroy(pg); in is_enabled()
85 if (scf_instance_get_pg(inst, SCF_PG_GENERAL, pg) == 0 && in is_enabled()
86 get_bool_prop(pg, SCF_PROPERTY_ENABLED, &bp) == 0) { in is_enabled()
87 scf_pg_destroy(pg); in is_enabled()
91 scf_pg_destroy(pg); in is_enabled()
101 read_astring_prop(scf_propertygroup_t *pg, scf_value_t *val, in read_astring_prop() argument
107 if (scf_pg_get_property(pg, name, prop) == -1) { in read_astring_prop()
145 prop_walk_init(scf_propertygroup_t *pg, const char *name) in prop_walk_init() argument
154 if (scf_pg_get_property(pg, name, prop) != 0) { in prop_walk_init()
455 scf_propertygroup_t *pg; in has_potential() local
467 (pg = scf_pg_create(h)) == NULL || in has_potential()
476 if (scf_instance_get_pg_composed(inst, NULL, SCF_PG_GENERAL, pg) != 0) in has_potential()
479 r = get_astring_prop(pg, SCF_PROPERTY_RESTARTER, prop, val, value, in has_potential()
520 r = scf_iter_next_pg(iter, pg); in has_potential()
529 if ((grouping = read_astring_prop(pg, val, prop, in has_potential()
533 if ((type = read_astring_prop(pg, val, prop, in has_potential()
547 if ((viter = prop_walk_init(pg, SCF_PROPERTY_ENTITIES)) == NULL) in has_potential()
581 scf_pg_destroy(pg); in has_potential()