/illumos-gate/usr/src/lib/libsasl/include/ |
H A D | prop.h | 22 * (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 D | niprop.c | 70 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 D | nge_ndd.c | 78 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 D | bge_ndd.c | 77 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 D | benv_kvm.c | 194 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/lib/fm/topo/libtopo/common/ |
H A D | topo_method.c | 387 nvlist_t *nvl, *props, *propval, *tmp; local 423 (void) nvpair_value_nvlist(elem, &propval); 424 if (nvlist_lookup_string(propval, 429 (void) nvlist_lookup_uint32(propval, 432 (void) nvlist_lookup_uint32(propval, 435 (void) nvlist_lookup_uint32(propval, 439 (void) nvlist_lookup_double(propval,
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | events.c | 188 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 D | rstp.c | 280 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 D | promif_stree.c | 382 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 D | bootfsops.c | 141 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/libshare/common/ |
H A D | libshare_impl.h | 95 union propval { union in struct:propertylist
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | propfuncs.c | 265 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);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | ndd.c | 284 char propval[MAXPROPVALLEN], allprop[64536]; local 296 pvalp = propval; 297 pvalsz = sizeof (propval);
|
/illumos-gate/usr/src/cmd/ndmpadm/ |
H A D | ndmpadm_main.c | 212 char *propval; local 221 if (ndmp_get_prop(prop_table[i], &propval)) { 226 prop_table[i], propval); 227 free(propval); 266 char *propval; local 270 if (ndmp_get_prop(arg, &propval)) { 274 arg, propval); 275 free(propval);
|
/illumos-gate/usr/src/uts/i86pc/boot/ |
H A D | boot_console.c | 361 static char propval[20]; 363 propval[0] = 0; 366 (void) do_bsys_getprop(NULL, name, propval); 367 return (propval); 380 char *propval; local 388 propval = get_mode_value(propname); 389 if (propval == NULL) 390 propval = "9600,8,n,1,-"; 397 p = propval; 483 propval [all...] |
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_dtime.c | 839 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/libbe/common/ |
H A D | be_list.c | 1008 nvlist_t *propval = NULL; local 1125 &propval) != 0 || propval == NULL) { 1129 verify(nvlist_lookup_string(propval, ZPROP_VALUE, 1140 BE_ZONE_PARENTBE_PROPERTY, &propval) != 0 && 1141 nvlist_lookup_string(propval, ZPROP_VALUE, 1147 &propval) == 0 && nvlist_lookup_string(propval, 1189 nvlist_t *propval = NULL; local 1238 BE_POLICY_PROPERTY, &propval) ! 1284 nvlist_t *propval = NULL; local [all...] |
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_util.c | 929 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 D | picldevtree.h | 106 char *propval; member in struct:asr_prop_triplet
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | openprom.c | 1258 char *propname, *propval, *buf1, *buf2; local 1274 propval = kmem_zalloc(proplen + 1, KM_SLEEP); 1275 (void) prom_getprop(nodeid, "name", propval); 1276 (void) nvlist_add_string(nvl, "name", propval); 1277 kmem_free(propval, proplen + 1); 1299 propval = kmem_zalloc(proplen + 1, KM_SLEEP); 1300 (void) prom_getprop(nodeid, propname, propval); 1302 (uchar_t *)propval, proplen + 1); 1303 kmem_free(propval, proplen + 1);
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/uhci/ |
H A D | uhci.c | 211 char *propval; local 214 "usb-polling", &propval) != DDI_SUCCESS) 218 ret = (strcmp(propval, "true") == 0); 219 ddi_prop_free(propval);
|
/illumos-gate/usr/src/uts/sun/io/ttymux/ |
H A D | ttymux_ioctl.c | 133 char *propname, *propval; local 158 propval = kmem_zalloc(proplen + 1, KM_SLEEP); 159 (void) prom_getprop(node, propname, propval); 161 if (strcmp(propval, path) == 0) { 162 kmem_free(propval, proplen + 1); 168 kmem_free(propval, proplen + 1); 294 read_prop(pnode_t node, char *propname, char **propval) argument 300 *propval = kmem_zalloc(proplen + 1, KM_SLEEP); 302 (void) prom_getprop(node, propname, *propval); 304 *propval [all...] |
/illumos-gate/usr/src/uts/sun4u/montecarlo/io/ttymux_dacf/ |
H A D | ttymux_dacf.c | 338 * Read an OBP property and return the result in propval. 342 read_prop(pnode_t node, char *propname, char **propval) argument 350 *propval = kmem_zalloc(proplen + 1, KM_SLEEP); 351 (void) prom_getprop(node, propname, *propval); 745 char *propval; local 754 if ((len = read_prop(node, INPUT_ALIAS, &propval)) > 0) { 755 parse(ms, propval, add_aconsole, (void *)FORINPUT); 756 kmem_free(propval, len + 1); 758 if ((len = read_prop(node, OUTPUT_ALIAS, &propval)) > 0) { 759 parse(ms, propval, add_aconsol [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dsl_prop.c | 939 nvlist_t *propval; local 1015 VERIFY(nvlist_alloc(&propval, NV_UNIQUE_NAME, KM_SLEEP) == 0); 1028 VERIFY(nvlist_add_string(propval, ZPROP_VALUE, 1036 (void) nvlist_add_uint64(propval, ZPROP_VALUE, 1040 VERIFY(nvlist_add_string(propval, ZPROP_SOURCE, source) == 0); 1041 VERIFY(nvlist_add_nvlist(nv, propname, propval) == 0); 1042 nvlist_free(propval); 1171 nvlist_t *propval; local 1175 if (nvlist_lookup_nvlist(nv, propname, &propval) == 0) { 1176 VERIFY(nvlist_add_uint64(propval, ZPROP_VALU 1194 nvlist_t *propval; local [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_ctl.c | 722 int *propval; local 740 &propval) == 1) { 778 &propval) == 1) {
|