Searched defs:propname (Results 1 - 25 of 106) 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/cmd/mdb/intel/kmdb/
H A Dkmdb_promif_isadep.c66 kmdb_prom_get_ddi_prop(kmdb_auxv_t *kav, char *propname) argument
73 if (strcmp(nv->kanv_name, propname) == 0)
/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/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.c272 get_prom_prop(const char *nodename, const char *propname, uchar_t **propvaluep, argument
312 * scan all properties of /nodename for the 'propname' property
322 if (strcmp(propname, di_prom_prop_name(pp)) == 0) {
/illumos-gate/usr/src/common/zfs/
H A Dzpool_prop.c139 zpool_name_to_prop(const char *propname) argument
141 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.c467 zfs_name_to_prop(const char *propname) argument
469 return (zprop_name_to_prop(propname, ZFS_TYPE_DATASET));
/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/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/lib/fm/topo/libtopo/common/
H A Dtopo_method.c392 char *propname; local
425 TOPO_PROP_VAL_NAME, &propname) != 0)
428 if (strcmp(propname, TOPO_FACILITY_TYPE) == 0) {
431 } else if (strcmp(propname, TOPO_SENSOR_STATE) == 0) {
434 } else if (strcmp(propname, TOPO_SENSOR_UNITS) == 0) {
437 } else if (strcmp(propname, TOPO_SENSOR_READING) == 0) {
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_label.c67 store_prop_val(topo_mod_t *mod, char *buf, char *propname, nvlist_t **out) argument
73 if (nvlist_add_string(*out, TOPO_PROP_VAL_NAME, propname) != 0) {
/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/lib/libwanboot/common/
H A Dbootinfo_aux.c201 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) {
/illumos-gate/usr/src/lib/libndmp/common/
H A Dlibndmp_prop.c409 ndmp_smf_delete_property(ndmp_scfhandle_t *handle, const char *propname) argument
419 propname) != 0) {
441 ndmp_smf_set_property(ndmp_scfhandle_t *handle, const char *propname, argument
459 (scf_pg_get_property(handle->scf_pg, propname, prop) != 0) ||
466 if ((scf_transaction_property_change(handle->scf_trans, entry, propname,
468 (scf_transaction_property_new(handle->scf_trans, entry, propname,
520 ndmp_smf_get_property(ndmp_scfhandle_t *handle, const char *propname, argument
533 (scf_pg_get_property(handle->scf_pg, propname, prop) == 0)) {
/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/cmd/mdb/sparc/kmdb/
H A Dkmdb_promif_isadep.c74 kmdb_prom_get_ddi_prop(kmdb_auxv_t *kav, char *propname) argument
83 if ((len = prom_getproplen(node, propname)) < 0)
88 if (prom_bounded_getprop(node, propname, val, len) != len) {
/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/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/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/lib/pyzfs/common/
H A Dioctl.c371 char *name, *propname; local
377 if (!PyArg_ParseTuple(args, "ss", &name, &propname))
381 if (strcmp(propname, zfs_userquota_prop_prefixes[type]) == 0)
384 PyErr_SetString(PyExc_KeyError, propname);
424 seterr(_("cannot get %s property on %s"), propname, name);

Completed in 68 milliseconds

12345