Searched defs:propval (Results 1 - 25 of 53) sorted by relevance

123

/illumos-gate/usr/src/lib/libsasl/include/
H A Dprop.h22 * (in the vbase field) which will be used for an array of "struct propval"
40 struct propval { struct
91 * return array of struct propval from the context
97 const struct propval *prop_get(struct propctx *ctx);
100 * Fill in an array of struct propval based on a list of property names
113 struct propval *vals);
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dniprop.c70 char *propval = NULL; local
110 ** root domain) set propval to the property's value
114 for (i = 0; i < MAX_NI_LEVELS && propval == NULL; i++)
187 propval = p = sm_malloc(alen);
188 if (propval == NULL)
210 sm_dprintf("ni_propval returns: '%s'\n", propval);
213 return propval;
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_ndd.c78 if (nge_nd_get_prop_val(dip, propname, 0, 1, &propval)) \
79 ngep->fieldname = propval; \
88 int propval; local
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_ndd.c77 if (bge_nd_get_prop_val(dip, propname, 0, 1, &propval)) \
78 bgep->fieldname = propval; \
88 int propval; local
/illumos-gate/usr/src/cmd/eeprom/i386/
H A Dbenv_kvm.c194 unsigned char *propval; local
208 propval = prom_getprop(curprop, &npp->prop_len);
210 if (propval != NULL) {
214 memcpy(npp->prop_val, propval, npp->prop_len);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Devents.c188 uint_t propval, valcnt; local
272 DLADM_PROP_VAL_PERSISTENT, "forward", &propval, &valcnt);
274 port->admin_status = propval;
278 DLADM_PROP_VAL_PERSISTENT, "default_tag", &propval, &valcnt);
280 bsv.bsv_vlan = propval;
H A Drstp.c280 uint_t propval, valcnt; local
299 DLADM_PROP_VAL_PERSISTENT, "stp_priority", &propval, &valcnt);
301 cfg->port_priority = propval;
305 DLADM_PROP_VAL_PERSISTENT, "stp", &propval, &valcnt);
307 cfg->admin_non_stp = !propval;
311 DLADM_PROP_VAL_PERSISTENT, "stp_edge", &propval, &valcnt);
313 cfg->admin_edge = propval;
317 DLADM_PROP_VAL_PERSISTENT, "stp_cost", &propval, &valcnt);
319 cfg->admin_port_path_cost = propval;
323 DLADM_PROP_VAL_PERSISTENT, "stp_p2p", &propval,
[all...]
/illumos-gate/usr/src/uts/sun4v/promif/
H A Dpromif_stree.c382 void *propval; local
403 propval = NULL;
405 propval = kmem_zalloc(proplen, KM_SLEEP);
406 (void) prom_getprop(node, propname, propval);
408 create_prop(pnp, propname, propval, proplen);
/illumos-gate/usr/src/common/fs/
H A Dbootfsops.c141 uint64_t propval; local
164 (void) do_bsys_getprop(NULL, propname, &propval);
165 fp->bf_addr = (void *)(uintptr_t)propval;
173 (void) do_bsys_getprop(NULL, propname, &propval);
174 fp->bf_size = (size_t)propval;
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_method.c432 nvlist_t *nvl, *props, *propval, *tmp; local
465 (void) nvpair_value_nvlist(elem, &propval);
466 if (nvlist_lookup_string(propval,
471 (void) nvlist_lookup_uint32(propval,
474 (void) nvlist_lookup_uint32(propval,
477 (void) nvlist_lookup_uint32(propval,
481 (void) nvlist_lookup_double(propval,
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzcp_get.c489 const char *propval; local
490 error = zfs_prop_index_to_string(zfs_prop, numval, &propval);
495 (void) lua_pushstring(state, propval);
536 const char *propval; local
538 &propval);
540 (void) lua_pushstring(state, propval);
H A Ddsl_prop.c943 nvlist_t *propval; local
1019 VERIFY(nvlist_alloc(&propval, NV_UNIQUE_NAME, KM_SLEEP) == 0);
1032 VERIFY(nvlist_add_string(propval, ZPROP_VALUE,
1040 (void) nvlist_add_uint64(propval, ZPROP_VALUE,
1044 VERIFY(nvlist_add_string(propval, ZPROP_SOURCE, source) == 0);
1045 VERIFY(nvlist_add_nvlist(nv, propname, propval) == 0);
1046 nvlist_free(propval);
1176 nvlist_t *propval; local
1180 if (nvlist_lookup_nvlist(nv, propname, &propval) == 0) {
1181 VERIFY(nvlist_add_uint64(propval, ZPROP_VALU
1199 nvlist_t *propval; local
[all...]
/illumos-gate/usr/src/lib/libdladm/common/
H A Dpropfuncs.c265 char **propval; local
269 * Construct the propval array and fill it with
276 propval = malloc(sizeof (char *) * valcnt);
277 if (propval == NULL) {
283 propval[i] = (char *)lvp->lv_name;
286 propval, valcnt, DLADM_OPT_ACTIVE, NULL);
296 free(propval);
H A Dlibdlbridge.c529 const char *propname, uint64_t propval)
544 scf_value_set_count(value, propval);
560 const char *propname, const char *propval)
575 if (scf_value_set_astring(value, propval) != 0)
592 const char *propname, const char *propval)
607 if (scf_value_set_from_string(value, SCF_TYPE_FMRI, propval) != 0)
528 set_count_property(scf_handle_t *handle, scf_transaction_t *tran, const char *propname, uint64_t propval) argument
559 set_string_property(scf_handle_t *handle, scf_transaction_t *tran, const char *propname, const char *propval) argument
591 set_fmri_property(scf_handle_t *handle, scf_transaction_t *tran, const char *propname, const char *propval) argument
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dndd.c284 char propval[MAXPROPVALLEN], allprop[64536]; local
296 pvalp = propval;
297 pvalsz = sizeof (propval);
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_dtime.c839 nvlist_t *propval = NULL; local
867 zfs_dumpdate_props[i], &propval) == 0) {
872 if (propval == NULL ||
873 nvlist_lookup_string(propval, ZPROP_VALUE,
/illumos-gate/usr/src/lib/libshare/common/
H A Dlibshare_impl.h96 union propval { union in struct:propertylist
/illumos-gate/usr/src/cmd/ndmpadm/
H A Dndmpadm_main.c213 char *propval; local
222 if (ndmp_get_prop(prop_table[i], &propval)) {
227 prop_table[i], propval);
228 free(propval);
267 char *propval; local
271 if (ndmp_get_prop(arg, &propval)) {
275 arg, propval);
276 free(propval);
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_util.c929 const char *propname, const char *propval)
947 scf_value_set_astring(val, propval) != 0 ||
928 nwam_set_smf_string_property(const char *fmri, const char *pgname, const char *propname, const char *propval) argument
/illumos-gate/usr/src/cmd/picl/plugins/common/devtree/
H A Dpicldevtree.h106 char *propval; member in struct:asr_prop_triplet
/illumos-gate/usr/src/uts/common/io/usb/hcd/uhci/
H A Duhci.c211 char *propval; local
214 "usb-polling", &propval) != DDI_SUCCESS)
218 ret = (strcmp(propval, "true") == 0);
219 ddi_prop_free(propval);
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_list.c998 nvlist_t *propval = NULL; local
1115 &propval) != 0 || propval == NULL) {
1119 verify(nvlist_lookup_string(propval, ZPROP_VALUE,
1130 BE_ZONE_PARENTBE_PROPERTY, &propval) != 0 &&
1131 nvlist_lookup_string(propval, ZPROP_VALUE,
1137 &propval) == 0 && nvlist_lookup_string(propval,
1179 nvlist_t *propval = NULL; local
1228 BE_POLICY_PROPERTY, &propval) !
1274 nvlist_t *propval = NULL; local
[all...]
/illumos-gate/usr/src/uts/i86pc/boot/
H A Dboot_console.c385 static char propval[20];
387 propval[0] = 0;
390 (void) do_bsys_getprop(NULL, name, propval);
391 return (propval);
404 const char *propval; local
412 propval = get_mode_value(propname);
413 if (propval == NULL)
414 propval = "9600,8,n,1,-";
421 p = propval;
509 propval
623 const char *propval; local
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dopenprom.c1156 char *propname, *propval, *buf1, *buf2; local
1172 propval = kmem_zalloc(proplen + 1, KM_SLEEP);
1173 (void) prom_getprop(nodeid, "name", propval);
1174 (void) nvlist_add_string(nvl, "name", propval);
1175 kmem_free(propval, proplen + 1);
1197 propval = kmem_zalloc(proplen + 1, KM_SLEEP);
1198 (void) prom_getprop(nodeid, propname, propval);
1200 (uchar_t *)propval, proplen + 1);
1201 kmem_free(propval, proplen + 1);
/illumos-gate/usr/src/lib/libfru/libfrupicl/
H A Dfrupicl.c1021 char *propval; local
1038 if ((propval = malloc(propinfo.size)) == NULL)
1041 if ((status = picl_get_propval(proph, propval, propinfo.size))
1043 free(propval);
1047 *name = propval;

Completed in 510 milliseconds

123