Searched defs:propname (Results 1 - 25 of 104) sorted by relevance

12345

/illumos-gate/usr/src/uts/intel/zfs/
H A Dspa_boot.c39 spa_get_bootprop(char *propname) argument
44 DDI_PROP_DONTPASS, propname, &value) != DDI_SUCCESS)
/illumos-gate/usr/src/uts/sparc/zfs/
H A Dspa_boot.c38 spa_get_bootprop(char *propname) argument
43 proplen = BOP_GETPROPLEN(bootops, propname);
48 if (BOP_GETPROP(bootops, propname, value) == -1) {
57 spa_free_bootprop(char *propname) argument
59 kmem_free(propname, strlen(propname) + 1);
/illumos-gate/usr/src/stand/lib/sa/sparc/
H A Dprom_misc.c33 prom_create_encoded_prop(char *propname, void *prop_data, int prop_datalen, argument
63 (uintptr_t)prop_data, strlen(propname), (uintptr_t)propname);
/illumos-gate/usr/src/lib/fm/topo/modules/common/ipmi/
H A Dipmi_methods.c63 store_prop_val(topo_mod_t *mod, void *buf, char *propname, topo_type_t type, argument
70 if (nvlist_add_string(*out, TOPO_PROP_VAL_NAME, propname) != 0) {
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/
H A Dkmdb_promif_isadep.c65 kmdb_prom_get_ddi_prop(kmdb_auxv_t *kav, char *propname) argument
72 if (strcmp(nv->kanv_name, propname) == 0)
/illumos-gate/usr/src/lib/efcode/fcdriver/
H A Dproperty.c43 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);
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dadopt.c271 get_prom_prop(const char *nodename, const char *propname, uchar_t **propvaluep, argument
311 * scan all properties of /nodename for the 'propname' property
321 if (strcmp(propname, di_prom_prop_name(pp)) == 0) {
/illumos-gate/usr/src/common/zfs/
H A Dzpool_prop.c157 zpool_name_to_prop(const char *propname) argument
159 return (zprop_name_to_prop(propname, ZFS_TYPE_POOL));
H A Dzprop_common.c212 const char *propname = prop_entry->pd_name; local
218 if (len == strlen(propname) &&
219 strncmp(p, propname, len) == 0)
237 const char *propname; member in struct:name_to_prop_cb
246 if (propname_match(data->propname, strlen(data->propname),
254 zprop_name_to_prop(const char *propname, zfs_type_t type) argument
259 cb_data.propname = propname;
H A Dzfs_prop.c554 zfs_name_to_prop(const char *propname) argument
556 return (zprop_name_to_prop(propname, ZFS_TYPE_DATASET));
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_scfutil.c190 char *propname, char *valstr)
207 propname, SCF_TYPE_ASTRING) == 0 ||
209 propname, SCF_TYPE_ASTRING) == 0) {
253 smb_smf_get_string_property(smb_scfhandle_t *handle, char *propname, argument
266 (scf_pg_get_property(handle->scf_pg, propname, prop) == 0)) {
290 smb_smf_set_integer_property(smb_scfhandle_t *handle, char *propname, argument
308 propname, SCF_TYPE_INTEGER) == 0 ||
310 propname, SCF_TYPE_INTEGER) == 0) {
347 smb_smf_get_integer_property(smb_scfhandle_t *handle, char *propname, argument
360 (scf_pg_get_property(handle->scf_pg, propname, pro
189 smb_smf_set_string_property(smb_scfhandle_t *handle, char *propname, char *valstr) argument
385 smb_smf_set_boolean_property(smb_scfhandle_t *handle, char *propname, uint8_t valbool) argument
442 smb_smf_get_boolean_property(smb_scfhandle_t *handle, char *propname, uint8_t *valbool) argument
478 smb_smf_set_opaque_property(smb_scfhandle_t *handle, char *propname, void *voidval, size_t sz) argument
541 smb_smf_get_opaque_property(smb_scfhandle_t *handle, char *propname, void *v, size_t sz) argument
576 smb_smf_delete_property(smb_scfhandle_t *handle, char *propname) argument
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/fdd-msg/
H A Dfdd_msg.c67 char *propname; member in struct:cpu_tbl
150 for (cl = fma_cap_list; cl->propname != NULL; cl++) {
164 fma_cap = fmd_prop_get_int32(hdl, cl->propname);
/illumos-gate/usr/src/lib/libshare/smbfs/
H A Dsmbfs_scfutil.c529 smb_smf_delete_property(smb_scfhandle_t *handle, char *propname) argument
545 propname) != 0) {
574 char *propname, char *valstr)
592 propname, SCF_TYPE_ASTRING) == 0 ||
594 propname, SCF_TYPE_ASTRING) == 0) {
638 smb_smf_get_string_property(smb_scfhandle_t *handle, char *propname, argument
652 (scf_pg_get_property(handle->scf_pg, propname, prop) == 0)) {
676 smb_smf_set_integer_property(smb_scfhandle_t *handle, char *propname, argument
695 propname, SCF_TYPE_INTEGER) == 0 ||
697 propname, SCF_TYPE_INTEGE
573 smb_smf_set_string_property(smb_scfhandle_t *handle, char *propname, char *valstr) argument
734 smb_smf_get_integer_property(smb_scfhandle_t *handle, char *propname, int64_t *valint) argument
773 smb_smf_set_boolean_property(smb_scfhandle_t *handle, char *propname, uint8_t valbool) argument
831 smb_smf_get_boolean_property(smb_scfhandle_t *handle, char *propname, uint8_t *valbool) argument
868 smb_smf_set_opaque_property(smb_scfhandle_t *handle, char *propname, void *voidval, size_t sz) argument
932 smb_smf_get_opaque_property(smb_scfhandle_t *handle, char *propname, void *v, size_t sz) argument
[all...]
/illumos-gate/usr/src/cmd/acctadm/
H A Daconf.c54 char *propname; member in struct:props
343 p->propname, p->proptype) == -1)
356 free(p->propname);
448 aconf_get_string(const char *pgname, const char *propname, char *buf, argument
466 scf_pg_get_property(pg, propname, prop) == -1 ||
478 aconf_get_bool(const char *pgname, const char *propname, uint8_t *rval) argument
495 scf_pg_get_property(pg, propname, prop) == -1 ||
507 aconf_set_string(const char *propname, const char *value) argument
511 if ((p = aconf_prop(propname, SCF_TYPE_ASTRING)) == NULL)
520 aconf_set_bool(const char *propname, boolean_ argument
532 aconf_prop(const char *propname, int proptype) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dutil.c550 set_property_value(scf_resources_t *res, const char *propname, argument
557 new = (scf_pg_get_property(res->sr_pg, propname, res->sr_prop) != 0);
564 propname, proptype) == -1) {
569 propname, proptype) == -1) {
585 "for %s; retrying", propname);
/illumos-gate/usr/src/uts/sun4v/promif/
H A Dpromif_stree.c180 char *propname; local
188 propname = nextprop(pnp, name);
189 if (propname == NULL)
192 (void) prom_strcpy(next, propname);
380 char propname[OBP_MAXPROPNAME]; local
398 (void) prom_nextprop(node, prvname, propname);
399 if (prom_strlen(propname) == 0)
401 if ((proplen = prom_getproplen(node, propname)) == -1)
406 (void) prom_getprop(node, propname, propval);
408 create_prop(pnp, propname, propva
[all...]
/illumos-gate/usr/src/common/fs/
H A Dbootfsops.c140 char propname[32]; local
145 (void) snprintf(propname, sizeof (propname),
147 if (do_bsys_getproplen(NULL, propname) < 0)
155 (void) do_bsys_getprop(NULL, propname, cpath);
158 (void) snprintf(propname, sizeof (propname),
160 if (do_bsys_getproplen(NULL, propname) != sizeof (uint64_t)) {
164 (void) do_bsys_getprop(NULL, propname, &propval);
167 (void) snprintf(propname, sizeo
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/lockd/
H A Dlockd.c143 char *propname = NULL; local
176 propname = "grace_period"; /* also -g */
177 ret = nfs_smf_get_iprop(propname, &val,
182 "Invalid %s from SMF"), propname);
187 "value", propname);
190 propname = "lockd_listen_backlog"; /* also -l */
191 ret = nfs_smf_get_iprop(propname, &val,
196 "Invalid %s from SMF"), propname);
201 "value", propname);
204 propname
[all...]
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_zones.c349 nvlist_t *propname = NULL; local
373 &propname) != 0 || nvlist_lookup_string(propname, ZPROP_VALUE,
604 nvlist_t *propname = NULL; local
617 if (nvlist_lookup_nvlist(userprops, BE_ZONE_ACTIVE_PROPERTY, &propname)
618 != 0 || nvlist_lookup_string(propname, ZPROP_VALUE, &active_str)
/illumos-gate/usr/src/lib/libndmp/common/
H A Dlibndmp_prop.c410 ndmp_smf_delete_property(ndmp_scfhandle_t *handle, const char *propname) argument
420 propname) != 0) {
442 ndmp_smf_set_property(ndmp_scfhandle_t *handle, const char *propname, argument
460 (scf_pg_get_property(handle->scf_pg, propname, prop) != 0) ||
467 if ((scf_transaction_property_change(handle->scf_trans, entry, propname,
469 (scf_transaction_property_new(handle->scf_trans, entry, propname,
521 ndmp_smf_get_property(ndmp_scfhandle_t *handle, const char *propname, argument
534 (scf_pg_get_property(handle->scf_pg, propname, prop) == 0)) {
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_method.c437 char *propname; local
467 TOPO_PROP_VAL_NAME, &propname) != 0)
470 if (strcmp(propname, TOPO_FACILITY_TYPE) == 0) {
473 } else if (strcmp(propname, TOPO_SENSOR_STATE) == 0) {
476 } else if (strcmp(propname, TOPO_SENSOR_UNITS) == 0) {
479 } else if (strcmp(propname, TOPO_SENSOR_READING) == 0) {
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/
H A Dkmdb_promif_isadep.c72 kmdb_prom_get_ddi_prop(kmdb_auxv_t *kav, char *propname) argument
81 if ((len = prom_getproplen(node, propname)) < 0)
86 if (prom_bounded_getprop(node, propname, val, len) != len) {
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_label.c69 store_prop_val(topo_mod_t *mod, char *buf, char *propname, nvlist_t **out) argument
75 if (nvlist_add_string(*out, TOPO_PROP_VAL_NAME, propname) != 0) {
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_object.c328 char *lastpropname = NULL, *propname; local
338 &propname, &value)) == NWAM_SUCCESS) {
340 ret = cb(propname, value, data);
350 lastpropname = propname;
523 nwam_get_prop_table_entry(struct nwam_prop_table table, const char *propname) argument
528 assert(propname != NULL);
531 if (strcmp(propname, cur->prop_name) == 0)
538 nwam_get_prop_description(struct nwam_prop_table table, const char *propname, argument
543 assert(propname != NULL && descriptionp != NULL);
545 if ((pte = nwam_get_prop_table_entry(table, propname))
555 nwam_get_prop_type(struct nwam_prop_table table, const char *propname, nwam_value_type_t *typep) argument
571 nwam_prop_multivalued(struct nwam_prop_table table, const char *propname, boolean_t *multip) argument
590 nwam_prop_read_only(struct nwam_prop_table table, const char *propname, boolean_t *readp) argument
621 nwam_validate_prop_internal(const char *propname, nwam_value_t value, void *arg) argument
676 nwam_validate_prop(struct nwam_prop_table table, struct nwam_handle *hp, const char *propname, nwam_value_t value) argument
[all...]
H A Dlibnwam_enm.c248 nwam_enm_delete_prop(nwam_enm_handle_t enmh, const char *propname) argument
255 assert(enmh != NULL && propname != NULL);
257 if ((err = nwam_enm_prop_read_only(propname, &ro)) != NWAM_SUCCESS)
264 if (strcmp(propname, NWAM_ENM_PROP_ENABLED) != 0)
280 if ((err = nwam_delete_prop(enmh->nwh_data, propname))
297 nwam_enm_set_prop_value(nwam_enm_handle_t enmh, const char *propname, argument
303 assert(enmh != NULL && propname != NULL && value != NULL);
305 if ((err = nwam_enm_validate_prop(enmh, propname, value))
307 (err = nwam_enm_prop_read_only(propname, &ro)) != NWAM_SUCCESS)
312 return (nwam_set_prop_value(enmh->nwh_data, propname, valu
316 nwam_enm_get_prop_value(nwam_enm_handle_t enmh, const char *propname, nwam_value_t *valuep) argument
350 nwam_enm_get_prop_description(const char *propname, const char **descriptionp) argument
357 nwam_enm_prop_read_only(const char *propname, boolean_t *readp) argument
497 nwam_enm_validate_prop(nwam_enm_handle_t enmh, const char *propname, nwam_value_t value) argument
509 nwam_enm_get_prop_type(const char *propname, nwam_value_type_t *typep) argument
515 nwam_enm_prop_multivalued(const char *propname, boolean_t *multip) argument
[all...]

Completed in 176 milliseconds

12345