Lines Matching defs:propname
239 * Returns 0, ECANCELED if pg is deleted, ENOENT if propname doesn't exist,
244 get_bool_prop(scf_propertygroup_t *pg, const char *propname, uint8_t *bp)
254 if (scf_pg_get_property(pg, propname, prop) != 0) {
318 set_bool_prop(scf_propertygroup_t *pg, const char *propname, boolean_t b)
348 if (scf_transaction_property_change_type(tx, ent, propname,
353 if (scf_transaction_property_new(tx, ent, propname,
394 * Gets the single astring value of the propname property of pg. prop & v are
396 * -ENOENT - pg has no property named propname
401 get_astring_prop(const scf_propertygroup_t *pg, const char *propname,
406 if (scf_pg_get_property(pg, propname, prop) != 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);
935 "lacks \"%s\" property.)\n"), fmri, pgname, propname);
940 "is not single-valued.)\n"), fmri, pgname, propname);
945 "is not of astring type.)\n"), fmri, pgname, propname);
1562 uint32_t pgflags, const char *propname, const char *str)
1631 if (scf_transaction_property_change_type(tx, txent, propname,
1636 if (scf_transaction_property_new(tx, txent, propname,
1656 propname);