/osnet-11/usr/src/lib/fm/topo/modules/common/ipmi/common/ |
H A D | ipmi_methods.c | 62 store_prop_val(topo_mod_t *mod, void *buf, char *propname, topo_type_t type, argument 69 if (nvlist_add_string(*out, TOPO_PROP_VAL_NAME, propname) != 0) {
|
/osnet-11/usr/src/lib/libpower/common/ |
H A D | pm_kernel.c | 57 char *propname; local 137 propname = pm_parse_propname(tok, &authname); 160 propname, proptype, propval, 1); 169 propname, proptype, propval, 1); 179 propname, proptype, propval, 1); 220 const char *propname; local 237 propname = nvpair_name(nvp); 240 errno = nvlist_lookup_nvlist(newlist, propname, &newval); 260 __FUNCTION__, propname); 279 propname, val [all...] |
H A D | libpower_subr.c | 82 const char *propname, data_type_t proptype, void *propv, uint_t propc) 89 if (result == NULL || propname == NULL || propv == NULL) { 107 errno = nvlist_lookup_nvlist(rp, propname, &nvl); 113 err = pm_result_create(rp, authority, pgname, propname, 125 propname, pm_strerror(err)); 146 const char *propname, data_type_t proptype, void *propv, uint_t propc) 169 errno = nvlist_add_nvlist(nvl, propname, plist); 267 char *propname; local 300 propname = pm_parse_propname(tok, &pgname); 306 errno = nvlist_lookup_nvlist(nvl, propname, 81 pm_result_add(nvlist_t **result, pm_authority_t authority, const char *pgname, const char *propname, data_type_t proptype, void *propv, uint_t propc) argument 145 pm_result_create(nvlist_t *nvl, pm_authority_t authority, const char *pgname, const char *propname, data_type_t proptype, void *propv, uint_t propc) argument 376 pm_result_merge(nvlist_t **result, nvlist_t *nvl, const char *propname, pm_authority_t authority) argument 460 char *propname; local [all...] |
H A D | pm_smf.c | 95 const char *propname; local 117 propname = scf_simple_prop_name(prop); 129 if (strncmp(propname, *pp, strlen(*pp)) == 0) { 136 pgname, propname, proptype, propval, propc); 140 __FUNCTION__, propname); 149 __FUNCTION__, propname); 193 char *propname; local 218 propname = pm_parse_propname(val, &pgname); 233 if (strncmp(propname, np, nlen) == 0) { 244 __FUNCTION__, propname, instanc 313 char *propname; local 389 char *propname; local 460 char *propname; local [all...] |
/osnet-11/usr/src/lib/efcode/fcdriver/ |
H A D | property.c | 43 getproplen(common_data_t *cdp, fc_phandle_t node, char *propname, int inherit) argument 52 fc_ptr2cell(propname), &len); 60 getprop(common_data_t *cdp, fc_phandle_t node, char *propname, char *buf, argument 70 fc_ptr2cell(buf), fc_ptr2cell(propname), &len);
|
/osnet-11/usr/src/lib/libshare/common/ |
H A D | libshare_proto.c | 356 const char *propname) 368 if (ops->sap_proto_get_property(sectname, propname, &propval) == SA_OK) 376 const char *propname, const char *propval) 387 return (ops->sap_proto_set_property(sectname, propname, propval)); 355 sa_proto_get_property(sa_proto_t proto, const char *sectname, const char *propname) argument 375 sa_proto_set_property(sa_proto_t proto, const char *sectname, const char *propname, const char *propval) argument
|
/osnet-11/usr/src/lib/libshare_plugins/autofs/ |
H A D | libshare_autofs.c | 234 findprotoopt(const char *propname) argument 239 if (strcmp(autofs_proto_options[i].name, propname) == 0) 474 sa_autofs_proto_get_property(const char *sectname, const char *propname, argument 486 if (nvlist_lookup_string(autofs_proto_proplist, propname, &val) == 0) { 501 sa_autofs_proto_set_property(const char *sectname, const char *propname, argument 509 if (propname == NULL) 515 if ((index = findprotoopt(propname)) < 0) 524 ret = autofs_smf_set_prop((char *)propname, value, NULL, sctype,
|
/osnet-11/usr/src/lib/libsmb/common/ |
H A D | smb_scfutil.c | 344 char *propname, char *valstr) 361 propname, SCF_TYPE_ASTRING) == 0 || 363 propname, SCF_TYPE_ASTRING) == 0) { 407 smb_smf_get_string_property(smb_scfhandle_t *handle, char *propname, argument 420 (scf_pg_get_property(handle->scf_pg, propname, prop) == 0)) { 444 smb_smf_set_count_property(smb_scfhandle_t *handle, char *propname, argument 462 propname, SCF_TYPE_COUNT) == 0 || 464 propname, SCF_TYPE_COUNT) == 0) { 502 smb_smf_set_integer_property(smb_scfhandle_t *handle, char *propname, argument 520 propname, SCF_TYPE_INTEGE 343 smb_smf_set_string_property(smb_scfhandle_t *handle, char *propname, char *valstr) argument 559 smb_smf_get_count_property(smb_scfhandle_t *handle, char *propname, uint64_t *valuint) argument 596 smb_smf_get_integer_property(smb_scfhandle_t *handle, char *propname, int64_t *valint) argument 634 smb_smf_set_boolean_property(smb_scfhandle_t *handle, char *propname, uint8_t valbool) argument 691 smb_smf_get_boolean_property(smb_scfhandle_t *handle, char *propname, uint8_t *valbool) argument 727 smb_smf_set_opaque_property(smb_scfhandle_t *handle, char *propname, void *voidval, size_t sz) argument 790 smb_smf_get_opaque_property(smb_scfhandle_t *handle, char *propname, void *v, size_t sz) argument 825 smb_smf_delete_property(smb_scfhandle_t *handle, char *propname) argument [all...] |
/osnet-11/usr/src/lib/libsmbfs/common/ |
H A D | smbfs_file.c | 383 smbfs_fh_getbool(const char *propname, boolean_t dflt) argument 392 rc = smbfs_fh_scf_getbool(hd, propname, &vbool); 408 smbfs_fh_getint(const char *propname, int64_t *vint) argument 416 rc = smbfs_fh_scf_getint(hd, propname, vint); 501 smbfs_fh_scf_getbool(smb_scfhandle_t *hd, const char *propname, uint8_t *vbool) argument 516 if (scf_pg_get_property(hd->scf_pg, propname, prop) == 0) { 531 smbfs_fh_scf_getint(smb_scfhandle_t *hd, const char *propname, int64_t *vint) argument 546 if (scf_pg_get_property(hd->scf_pg, propname, prop) == 0) {
|
/osnet-11/usr/src/lib/libfedfs/common/ |
H A D | smf_params.c | 386 char *propname, char *propvalue) 396 fprintf(stderr, "set_pg_value: setting %s=%s\n", propname, propvalue); 405 new = (scf_pg_get_property(pg, propname, prop) != 0); 413 propname, SCF_TYPE_ASTRING) == -1) 417 propname, SCF_TYPE_ASTRING) == -1) 385 set_pg_value(scf_handle_t *h, scf_propertygroup_t *pg, char *propname, char *propvalue) argument
|
/osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_method.c | 392 char *propname, *sim_fmri = NULL, *fac_fmristr = NULL; local 437 TOPO_PROP_VAL_NAME, &propname) != 0) 440 if (strcmp(propname, TOPO_FACILITY_TYPE) == 0) { 443 } else if (strcmp(propname, TOPO_SENSOR_STATE) == 0) { 446 } else if (strcmp(propname, TOPO_SENSOR_UNITS) == 0) { 449 } else if (strcmp(propname, TOPO_SENSOR_READING) == 0) {
|
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/chip/common/ |
H A D | chip_label.c | 66 store_prop_val(topo_mod_t *mod, char *buf, char *propname, nvlist_t **out) argument 72 if (nvlist_add_string(*out, TOPO_PROP_VAL_NAME, propname) != 0) {
|
/osnet-11/usr/src/lib/libbe/common/ |
H A D | be_zones.c | 487 nvlist_t *propname = NULL; local 511 &propname) != 0 || nvlist_lookup_string(propname, ZPROP_VALUE, 688 nvlist_t *propname = NULL; local 701 if (nvlist_lookup_nvlist(userprops, BE_ZONE_ACTIVE_PROPERTY, &propname) 702 != 0 || nvlist_lookup_string(propname, ZPROP_VALUE, &active_str)
|
/osnet-11/usr/src/lib/libbe/tbeadm/ |
H A D | tbeadm.c | 160 char *propname = NULL; local 203 propname = optarg; 204 if ((propval = strchr(propname, '=')) == NULL) { 211 if (nvlist_lookup_string(zfs_props, propname, 214 "specified multiple times\n", propname); 217 if (nvlist_add_string(zfs_props, propname, propval)
|
/osnet-11/usr/src/lib/libwanboot/common/ |
H A D | bootinfo_aux.c | 201 get_prop(const char *nodename, const char *propname, size_t *lenp) argument 223 * Scan all properties of /nodename for the 'propname' property. 228 if (strcmp(propname, di_prom_prop_name(pp)) == 0) {
|
/osnet-11/usr/src/lib/fm/topo/modules/common/ses/common/ |
H A D | ses_facility.c | 102 #define TOPO_METH_SES_READING_PROP "propname" 105 #define TOPO_METH_SES_STATE_PROP "propname" 141 char *propname, *altprop; local 152 &propname) != 0) { 188 nvlist_add_boolean_value(nvl, propname, 207 propname, ¤t) != 0) { 209 "properties\n", propname); 522 int type, const char *name, const char *propname, const char *altprop) 553 propname) != 0 || 521 ses_add_indicator(topo_mod_t *mod, tnode_t *pnode, uint64_t nodeid, int type, const char *name, const char *propname, const char *altprop) argument
|
/osnet-11/usr/src/lib/libbootmgmt/common/ |
H A D | libbootmgmt.c | 80 char *propname = "efi-systab"; local 92 if (strcmp(propname, di_prop_name(prop)) == 0) {
|
/osnet-11/usr/src/lib/pyzfs/common/ |
H A D | ioctl.c | 373 char *name, *propname; local 379 if (!PyArg_ParseTuple(args, "ss", &name, &propname)) 383 if (strcmp(propname, zfs_userquota_prop_prefixes[type]) == 0) 386 PyErr_SetString(PyExc_KeyError, propname); 426 seterr(_("cannot get %s property on %s"), propname, name);
|
/osnet-11/usr/src/lib/libscf/common/ |
H A D | notify_params.c | 681 char *propname = malloc(bufsz); local 695 if (propname == NULL) { 770 if (snprintf(propname, bufsz, "%s,%s", 779 if (prep_transaction(tx, te, propname, type) != 808 free(propname);
|
/osnet-11/usr/src/lib/libndmp/common/ |
H A D | libndmp_prop.c | 684 ndmp_smf_delete_property(ndmp_scfhandle_t *handle, char *propname) argument 694 propname) != 0) { 717 char *propname, char *valstr) 735 ((scf_pg_get_property(handle->scf_pg, propname, 740 handle->scf_trans, entry, propname, 743 handle->scf_trans, entry, propname, 803 ndmp_smf_get_property(ndmp_scfhandle_t *handle, char *propname, argument 816 (scf_pg_get_property(handle->scf_pg, propname, prop) == 0)) { 716 ndmp_smf_set_property(ndmp_scfhandle_t *handle, char *propname, char *valstr) argument
|
/osnet-11/usr/src/lib/libntsvcs/common/ |
H A D | svcctl_scm.c | 99 scf_propertygroup_t *pg, const char *propname, scf_type_t ty, void *vp, 107 if (scf_pg_get_property(pg, propname, mgr_ctx->mc_scf_gprop) == -1) 212 const char *pgname, const char *propname, scf_type_t ty, void *vp, 230 r = svcctl_scm_pg_get_val(mgr_ctx, mgr_ctx->mc_scf_gpg, propname, ty, 98 svcctl_scm_pg_get_val(svcctl_manager_context_t *mgr_ctx, scf_propertygroup_t *pg, const char *propname, scf_type_t ty, void *vp, size_t sz, uint_t flags) argument 211 svcctl_scm_inst_get_val(svcctl_manager_context_t *mgr_ctx, scf_instance_t *inst, const char *pgname, const char *propname, scf_type_t ty, void *vp, size_t sz, uint_t flags, int use_running, int composed) argument
|
/osnet-11/usr/src/lib/libnwam/common/ |
H A D | libnwam_enm.c | 273 nwam_enm_delete_prop(nwam_enm_handle_t enmh, const char *propname, argument 281 assert(enmh != NULL && propname != NULL); 283 if ((err = nwam_enm_prop_read_only(propname, &ro)) != NWAM_SUCCESS) 290 if (strcmp(propname, NWAM_ENM_PROP_ENABLED) != 0) 306 if ((err = nwam_delete_prop(enmh->nwh_data, propname)) 323 nwam_enm_set_prop_value(nwam_enm_handle_t enmh, const char *propname, argument 329 assert(enmh != NULL && propname != NULL && value != NULL); 331 if ((err = nwam_enm_validate_prop(enmh, propname, value)) 333 (err = nwam_enm_prop_read_only(propname, &ro)) != NWAM_SUCCESS) 338 return (nwam_set_prop_value(enmh->nwh_data, propname, valu 342 nwam_enm_get_prop_value(nwam_enm_handle_t enmh, const char *propname, nwam_value_t *valuep) argument 378 nwam_enm_get_prop_description(const char *propname, const char **descriptionp) argument 385 nwam_enm_prop_read_only(const char *propname, boolean_t *readp) argument 525 nwam_enm_validate_prop(nwam_enm_handle_t enmh, const char *propname, nwam_value_t value) argument 535 nwam_enm_get_prop_type(const char *propname, nwam_value_type_t *typep) argument 541 nwam_enm_prop_multivalued(const char *propname, boolean_t *multip) argument [all...] |
H A D | libnwam_known_wlan.c | 320 nwam_known_wlan_delete_prop(nwam_known_wlan_handle_t kwh, const char *propname, argument 326 assert(kwh != NULL && propname != NULL); 335 if ((err = nwam_delete_prop(kwh->nwh_data, propname)) != NWAM_SUCCESS) { 353 const char *propname, nwam_value_t value, uint64_t flags) 357 assert(kwh != NULL && propname != NULL && value != NULL); 359 if ((err = nwam_known_wlan_validate_prop(kwh, propname, value)) 363 return (nwam_set_prop_value(kwh->nwh_data, propname, value)); 368 const char *propname, nwam_value_t *valuep) 372 return (nwam_get_prop_value(kwh->nwh_data, propname, valuep)); 512 nwam_known_wlan_get_prop_description(const char *propname, argument 352 nwam_known_wlan_set_prop_value(nwam_known_wlan_handle_t kwh, const char *propname, nwam_value_t value, uint64_t flags) argument 367 nwam_known_wlan_get_prop_value(nwam_known_wlan_handle_t kwh, const char *propname, nwam_value_t *valuep) argument 572 nwam_known_wlan_validate_prop(nwam_known_wlan_handle_t kwh, const char *propname, nwam_value_t value) argument 583 nwam_known_wlan_get_prop_type(const char *propname, nwam_value_type_t *typep) argument 589 nwam_known_wlan_prop_multivalued(const char *propname, boolean_t *multip) argument [all...] |
H A D | libnwam_object.c | 295 char *lastpropname = NULL, *propname; local 305 &propname, &value)) == NWAM_SUCCESS) { 307 if (strcmp(propname, NETCFG_OBJECT_ID_LIST) == 0) { 309 lastpropname = propname; 313 ret = cb(propname, value, data); 320 lastpropname = propname; 537 nwam_get_prop_table_entry(struct nwam_prop_table table, const char *propname) argument 542 assert(propname != NULL); 545 if (strcmp(propname, cur->prop_name) == 0) 552 nwam_get_prop_description(struct nwam_prop_table table, const char *propname, argument 569 nwam_get_prop_type(struct nwam_prop_table table, const char *propname, nwam_value_type_t *typep) argument 585 nwam_prop_multivalued(struct nwam_prop_table table, const char *propname, boolean_t *multip) argument 604 nwam_prop_read_only(struct nwam_prop_table table, const char *propname, boolean_t *readp) argument 635 nwam_validate_prop_internal(const char *propname, nwam_value_t value, void *arg) argument 696 nwam_validate_prop(struct nwam_prop_table table, struct nwam_handle *hp, const char *propname, nwam_value_t value) argument [all...] |
H A D | libnwam_util.c | 920 const char *propname, char **valuep) 954 scf_pg_get_property(pg, propname, prop) != 0 || 976 const char *propname, const char *propval) 1009 scf_transaction_property_change(tx, ent, propname, SCF_TYPE_ASTRING) 919 nwam_get_smf_string_property(const char *fmri, const char *pgname, const char *propname, char **valuep) argument 975 nwam_set_smf_string_property(const char *fmri, const char *pgname, const char *propname, const char *propval) argument
|