Lines Matching refs:pname
291 char pname[MAXPROPNAMELEN];
321 if (scf_property_get_name(prop, pname, sizeof (pname)) == -1 ||
325 status = i_ipadm_cong_enlist_prop(pname, vstr, prop_list, pool);
543 * Return B_TRUE if 'pname' is one and return algorithm name as 'alg'.
547 ipadm_cong_is_privprop(const char *pname, char **alg)
555 if (strncmp(pname, pre, prelen) != 0)
559 palg = pname + prelen;
580 ipadm_cong_get_persist_propval(const char *alg, const char *pname,
591 if (pname[0] == '_')
592 pname++; /* SMF properties cannot start with '_' */
606 scf_pg_get_property(pg, pname, prop) != 0 ||
630 ipadm_cong_smf_set_prop(const char *alg, const char *pname,
644 if (pname[0] == '_')
645 pname++; /* SMF properties cannot start with '_' */
663 if (scf_pg_get_property(pg, pname, prop) != 0) {
674 scf_transaction_property_new(tx, ent, pname, SCF_TYPE_ASTRING) :
675 scf_transaction_property_change_type(tx, ent, pname,
720 ipadm_cong_smf_delete_prop(const char *alg, const char *pname,
731 if (pname[0] == '_')
732 pname++; /* SMF properties cannot start with '_' */
750 if (scf_transaction_property_delete(tx, ent, pname) != 0) {
789 ipadm_cong_persist_propval(const char *alg, const char *pname, const char *buf,
793 return (ipadm_cong_smf_delete_prop(alg, pname, buf, proto_str));
795 return (ipadm_cong_smf_set_prop(alg, pname, buf, proto_str));