Home
last modified time | relevance | path

Searched refs:propval (Results 1 – 25 of 73) sorted by relevance

123

/titanic_41/usr/src/cmd/svc/shell/
H A Drouting_include.sh213 propval=`/sbin/routeadm -l $1 | /usr/bin/nawk -v PROP=$2 \
216 echo "$propval"
227 propval=`get_routeadm_property $1 $2`
228 if [ "$propval" = "$4" ]; then
241 propval=`get_routeadm_property $1 $2`
242 if [ "$propval" != "$4" ]; then
243 echo "-${3} $propval"
276 propval=`get_routeadm_property $1 $2`
277 if [ -n "$propval" -a "$propval" != "$3" ]; then
278 echo "$propval"
/titanic_41/usr/src/lib/fm/topo/maps/Joyent,Joyent-Compute-Platform-1101/
H A DJoyent-Compute-Platform-1101-disk-hc-topology.xmlgenksh23 <propval name='label' type='string' value='${2}' />
27 <propval name='driver' type='string' value='mpt_sas' />
28 <propval name='devctl' type='string' value='${3}' />
29 <propval name='enclosure' type='uint32' value='${4}' />
30 <propval name='slot' type='uint32' value='${5}' />
43 <propval name='type' type='uint32' value='0' />
52 <propval name='type' type='uint32' value='1' />
61 <propval name='type' type='uint32' value='2' />
/titanic_41/usr/src/lib/libsasl/lib/
H A Dauxprop.c69 struct propval *values;
70 struct propval *prev_val; /* Previous value used by set/setvalues */
134 const unsigned VALUES_SIZE = PROP_DEFAULT * sizeof(struct propval); in prop_init()
141 ctx->values = (struct propval *)ctx->mem_base->data; in prop_init()
206 values_size = (retval->allocated_values * sizeof(struct propval)); in prop_dup()
290 max_in_pool = ctx->mem_base->size / sizeof(struct propval); in prop_request()
297 ctx->mem_base->size - (sizeof(struct propval) in prop_request()
309 new_size = new_alloc_length * sizeof(struct propval); in prop_request()
319 ctx->values = (struct propval *)ctx->mem_base->data; in prop_request()
322 - sizeof(struct propval) * ctx->allocated_values; in prop_request()
[all …]
/titanic_41/usr/src/cmd/sendmail/libsm/
H A Dniprop.c70 char *propval = NULL; variable
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;
/titanic_41/usr/src/uts/i86pc/boot/
H A Dboot_console.c361 static char propval[20]; in get_mode_value() local
363 propval[0] = 0; in get_mode_value()
366 (void) do_bsys_getprop(NULL, name, propval); in get_mode_value()
367 return (propval); in get_mode_value()
380 char *propval; in serial_adjust_prop() local
388 propval = get_mode_value(propname); in serial_adjust_prop()
389 if (propval == NULL) in serial_adjust_prop()
390 propval = "9600,8,n,1,-"; in serial_adjust_prop()
397 p = propval; in serial_adjust_prop()
483 propval = get_mode_value(propname); in serial_adjust_prop()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Drstp.c280 uint_t propval, valcnt; in get_init_port_cfg() local
299 DLADM_PROP_VAL_PERSISTENT, "stp_priority", &propval, &valcnt); in get_init_port_cfg()
301 cfg->port_priority = propval; in get_init_port_cfg()
305 DLADM_PROP_VAL_PERSISTENT, "stp", &propval, &valcnt); in get_init_port_cfg()
307 cfg->admin_non_stp = !propval; in get_init_port_cfg()
311 DLADM_PROP_VAL_PERSISTENT, "stp_edge", &propval, &valcnt); in get_init_port_cfg()
313 cfg->admin_edge = propval; in get_init_port_cfg()
317 DLADM_PROP_VAL_PERSISTENT, "stp_cost", &propval, &valcnt); in get_init_port_cfg()
319 cfg->admin_port_path_cost = propval; in get_init_port_cfg()
323 DLADM_PROP_VAL_PERSISTENT, "stp_p2p", &propval, &valcnt); in get_init_port_cfg()
[all …]
/titanic_41/usr/src/uts/common/fs/zfs/
H A Ddsl_prop.c889 nvlist_t *propval; in dsl_prop_get_all_impl() local
965 VERIFY(nvlist_alloc(&propval, NV_UNIQUE_NAME, KM_SLEEP) == 0); in dsl_prop_get_all_impl()
978 VERIFY(nvlist_add_string(propval, ZPROP_VALUE, in dsl_prop_get_all_impl()
986 (void) nvlist_add_uint64(propval, ZPROP_VALUE, in dsl_prop_get_all_impl()
990 VERIFY(nvlist_add_string(propval, ZPROP_SOURCE, source) == 0); in dsl_prop_get_all_impl()
991 VERIFY(nvlist_add_nvlist(nv, propname, propval) == 0); in dsl_prop_get_all_impl()
992 nvlist_free(propval); in dsl_prop_get_all_impl()
1121 nvlist_t *propval; in dsl_prop_nvlist_add_uint64() local
1125 if (nvlist_lookup_nvlist(nv, propname, &propval) == 0) { in dsl_prop_nvlist_add_uint64()
1126 VERIFY(nvlist_add_uint64(propval, ZPROP_VALUE, value) == 0); in dsl_prop_nvlist_add_uint64()
[all …]
/titanic_41/usr/src/lib/libsasl/include/
H A Dprop.h40 struct propval { struct
97 const struct propval *prop_get(struct propctx *ctx);
113 struct propval *vals);
/titanic_41/usr/src/uts/sun4u/montecarlo/io/ttymux_dacf/
H A Dttymux_dacf.c342 read_prop(pnode_t node, char *propname, char **propval) in read_prop() argument
350 *propval = kmem_zalloc(proplen + 1, KM_SLEEP); in read_prop()
351 (void) prom_getprop(node, propname, *propval); in read_prop()
745 char *propval; in find_consoles() local
754 if ((len = read_prop(node, INPUT_ALIAS, &propval)) > 0) { in find_consoles()
755 parse(ms, propval, add_aconsole, (void *)FORINPUT); in find_consoles()
756 kmem_free(propval, len + 1); in find_consoles()
758 if ((len = read_prop(node, OUTPUT_ALIAS, &propval)) > 0) { in find_consoles()
759 parse(ms, propval, add_aconsole, (void *)FOROUTPUT); in find_consoles()
760 kmem_free(propval, len + 1); in find_consoles()
[all …]
/titanic_41/usr/src/cmd/svc/milestone/
H A Dmake-console-login-xml108 <propval name='duration' type='astring' value='child' />
109 <propval name='ignore_error' type='astring'
111 <propval name='utmpx_prefix' type='astring' value='co' />
115 <propval name='action_authorization' type='astring'
117 <propval name='value_authorization' type='astring'
/titanic_41/usr/src/lib/libbe/common/
H A Dbe_list.c1006 nvlist_t *propval = NULL; in be_get_node_data() local
1123 &propval) != 0 || propval == NULL) { in be_get_node_data()
1127 verify(nvlist_lookup_string(propval, ZPROP_VALUE, in be_get_node_data()
1138 BE_ZONE_PARENTBE_PROPERTY, &propval) != 0 && in be_get_node_data()
1139 nvlist_lookup_string(propval, ZPROP_VALUE, in be_get_node_data()
1145 &propval) == 0 && nvlist_lookup_string(propval, in be_get_node_data()
1187 nvlist_t *propval = NULL; in be_get_ds_data() local
1236 BE_POLICY_PROPERTY, &propval) != 0 || in be_get_ds_data()
1237 propval == NULL) { in be_get_ds_data()
1241 verify(nvlist_lookup_string(propval, in be_get_ds_data()
[all …]
/titanic_41/usr/src/common/fs/
H A Dbootfsops.c141 uint64_t propval; in bbootfs_init() local
164 (void) do_bsys_getprop(NULL, propname, &propval); in bbootfs_init()
165 fp->bf_addr = (void *)(uintptr_t)propval; in bbootfs_init()
173 (void) do_bsys_getprop(NULL, propname, &propval); in bbootfs_init()
174 fp->bf_size = (size_t)propval; in bbootfs_init()
/titanic_41/usr/src/cmd/eeprom/i386/
H A Dbenv_kvm.c194 unsigned char *propval; in get_proplist() local
208 propval = prom_getprop(curprop, &npp->prop_len); in get_proplist()
210 if (propval != NULL) { in get_proplist()
214 memcpy(npp->prop_val, propval, npp->prop_len); in get_proplist()
/titanic_41/usr/src/cmd/ndmpadm/
H A Dndmpadm_main.c212 char *propval; in ndmp_get_config() local
221 if (ndmp_get_prop(prop_table[i], &propval)) { in ndmp_get_config()
226 prop_table[i], propval); in ndmp_get_config()
227 free(propval); in ndmp_get_config()
266 char *propval; in ndmp_get_config_process() local
270 if (ndmp_get_prop(arg, &propval)) { in ndmp_get_config_process()
274 arg, propval); in ndmp_get_config_process()
275 free(propval); in ndmp_get_config_process()
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dshare_mount_001_neg.ksh53 for propval in "legacy" "none"; do
54 log_must $ZFS set mountpoint=$propval $fs
/titanic_41/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_method.c387 nvlist_t *nvl, *props, *propval, *tmp; in topo_method_sensor_failure() local
423 (void) nvpair_value_nvlist(elem, &propval); in topo_method_sensor_failure()
424 if (nvlist_lookup_string(propval, in topo_method_sensor_failure()
429 (void) nvlist_lookup_uint32(propval, in topo_method_sensor_failure()
432 (void) nvlist_lookup_uint32(propval, in topo_method_sensor_failure()
435 (void) nvlist_lookup_uint32(propval, in topo_method_sensor_failure()
439 (void) nvlist_lookup_double(propval, in topo_method_sensor_failure()
/titanic_41/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_cmn.c67 #define eib_prop_get_and_test(inst, dp, propname, propval) \ argument
69 (propval) = ddi_prop_get_int(DDI_DEV_T_ANY, (dp), \
71 if ((propval) == -1) { \
79 #define eib_prop64_get_and_test(inst, dp, propname, propval) \ argument
81 (propval) = ddi_prop_get_int64(DDI_DEV_T_ANY, (dp), \
83 if ((propval) == -1) { \
/titanic_41/usr/src/cmd/picl/plugins/sun4v/snmp/
H A Dsnmpplugin.c266 static int add_string_prop(picl_nodehdl_t node, char *propname, char *propval);
1194 int propval; in read_volprop() local
1232 &propval, &snmp_syserr); in read_volprop()
1247 if (propval == SSOS_DISABLED) { in read_volprop()
1249 } else if (propval == SSOS_ENABLED) { in read_volprop()
1254 propval, vol_props[ndx].row); in read_volprop()
1260 (void) memcpy(buf, &propval, sizeof (propval)); in read_volprop()
1264 if (propval == ST_TRUE) { in read_volprop()
1286 } else if (propval == ST_FALSE) { in read_volprop()
1311 propval, vol_props[ndx].row); in read_volprop()
[all …]
/titanic_41/usr/src/cmd/zpool/
H A Dzpool_main.c402 add_prop_list(const char *propname, char *propval, nvlist_t **props, in add_prop_list() argument
464 if (nvlist_add_string(proplist, normnm, propval) != 0) { in add_prop_list()
654 char *propval; in zpool_do_create() local
675 &propval) == 0) in zpool_do_create()
686 if ((propval = strchr(optarg, '=')) == NULL) { in zpool_do_create()
691 *propval = '\0'; in zpool_do_create()
692 propval++; in zpool_do_create()
694 if (add_prop_list(optarg, propval, &props, B_TRUE)) in zpool_do_create()
705 ver = strtoull(propval, &end, 10); in zpool_do_create()
712 altroot = propval; in zpool_do_create()
[all …]
/titanic_41/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; in nge_nd_param_init() local
/titanic_41/usr/src/uts/sun4v/promif/
H A Dpromif_stree.c382 void *propval; in create_node() local
403 propval = NULL; in create_node()
405 propval = kmem_zalloc(proplen, KM_SLEEP); in create_node()
406 (void) prom_getprop(node, propname, propval); in create_node()
408 create_prop(pnp, propname, propval, proplen); in create_node()
/titanic_41/usr/src/uts/common/io/e1000g/
H A De1000g_main.c3888 int propval; in e1000g_get_conf() local
3908 : DEFAULT_NUM_TX_DESCRIPTOR, &propval); in e1000g_get_conf()
3909 Adapter->tx_desc_num = propval; in e1000g_get_conf()
3918 : DEFAULT_NUM_RX_DESCRIPTOR, &propval); in e1000g_get_conf()
3919 Adapter->rx_desc_num = propval; in e1000g_get_conf()
3928 : DEFAULT_NUM_RX_FREELIST, &propval); in e1000g_get_conf()
3929 Adapter->rx_freelist_limit = propval; in e1000g_get_conf()
3938 : DEFAULT_NUM_TX_FREELIST, &propval); in e1000g_get_conf()
3939 Adapter->tx_freelist_num = propval; in e1000g_get_conf()
3946 e1000_fc_none, 4, DEFAULT_FLOW_CONTROL, &propval); in e1000g_get_conf()
[all …]
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_send/
H A Dzfs_send_002_pos.ksh122 set -A propval "on lzjb" "on fletcher2 fletcher4 sha256" \
131 for value in ${propval[i]}
/titanic_41/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; in bge_nd_param_init() local
/titanic_41/usr/src/lib/libdladm/common/
H A Dpropfuncs.c265 char **propval; in process_prop_init() local
276 propval = malloc(sizeof (char *) * valcnt); in process_prop_init()
277 if (propval == NULL) { in process_prop_init()
283 propval[i] = (char *)lvp->lv_name; in process_prop_init()
286 propval, valcnt, DLADM_OPT_ACTIVE, NULL); in process_prop_init()
296 free(propval); in process_prop_init()

123