Lines Matching defs:prop

246 	scf_property_t *prop;
250 if ((prop = scf_property_create(h)) == NULL ||
254 if (scf_pg_get_property(pg, propname, prop) != 0) {
274 if (scf_property_get_value(prop, val) == 0) {
310 scf_property_destroy(prop);
394 * Gets the single astring value of the propname property of pg. prop & v are
402 scf_property_t *prop, scf_value_t *v, char *buf, size_t bufsz)
406 if (scf_pg_get_property(pg, propname, prop) != 0) {
413 if (scf_property_get_value(prop, v) != 0) {
923 const scf_propertygroup_t *pg, const char *propname, scf_property_t *prop,
928 sz = get_astring_prop(pg, propname, prop, v, buf, bufsz);
1029 scf_property_t *prop;
1082 (prop = scf_property_create(h)) == NULL ||
1119 sz = get_astring_prop(pg, SCF_PROPERTY_RESTARTER, prop, v, buf,
1185 if (dep_get_astring(fmri, pgname, pg, SCF_PROPERTY_TYPE, prop,
1193 prop, v, buf, max_scf_fmri_sz) < 0)
1207 if (scf_pg_get_property(pg, SCF_PROPERTY_ENTITIES, prop) ==
1218 if (scf_property_type(prop, &ty) != SCF_SUCCESS)
1228 if (scf_iter_property_values(val_iter, prop) == -1)
1236 if (scf_iter_property_values(val_iter, prop) !=
1264 if (scf_iter_property_values(val_iter, prop) != 0)
1314 scf_property_destroy(prop);
1333 scf_property_t *prop;
1342 (prop = scf_property_create(h)) == NULL ||
1403 if (scf_pg_get_property(pg, action, prop) == -1) {
1416 if (scf_property_get_value(prop, v) == -1) {
1469 scf_property_destroy(prop);
1491 scf_property_t *prop;
1497 (prop = scf_property_create(h)) == NULL ||
1511 szret = get_astring_prop(pg, SCF_PROPERTY_STATE, prop, val, state,
1554 scf_property_destroy(prop);
1566 scf_property_t *prop;
1580 (prop = scf_property_create(h)) == NULL ||
1672 scf_property_destroy(prop);
1951 const char *prop;
1963 prop = (flags & MARK_TEMPORARY) ?
1967 prop = (flags & MARK_TEMPORARY) ?
1972 set_inst_action(wip->fmri, wip->inst, prop);