Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/i86pc/os/
H A Dmlsetup.c105 u_longlong_t prop_value; in mlsetup() local
131 if (bootprop_getval("cpuid_feature_ecx_include", &prop_value) != 0) in mlsetup()
134 cpuid_feature_ecx_include = (uint32_t)prop_value; in mlsetup()
136 if (bootprop_getval("cpuid_feature_ecx_exclude", &prop_value) != 0) in mlsetup()
139 cpuid_feature_ecx_exclude = (uint32_t)prop_value; in mlsetup()
141 if (bootprop_getval("cpuid_feature_edx_include", &prop_value) != 0) in mlsetup()
144 cpuid_feature_edx_include = (uint32_t)prop_value; in mlsetup()
146 if (bootprop_getval("cpuid_feature_edx_exclude", &prop_value) != 0) in mlsetup()
149 cpuid_feature_edx_exclude = (uint32_t)prop_value; in mlsetup()
387 if (bootprop_getval(PLAT_DR_OPTIONS_NAME, &prop_value) == 0) { in mlsetup()
[all …]
H A Dfakebop.c2602 bootprop_getval(const char *prop_name, u_longlong_t *prop_value) in bootprop_getval() argument
2614 if (prop_value) in bootprop_getval()
2615 *prop_value = value; in bootprop_getval()
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_unshare/
H A Dzfs_unshare_003_pos.ksh66 typeset prop_value
68 prop_value=$(get_prop "sharenfs" $filesystem)
70 if [[ $prop_value == "off" ]]; then
H A Dzfs_unshare_001_pos.ksh85 typeset prop_value
87 prop_value=$(get_prop "sharenfs" $filesystem)
89 if [[ $prop_value == "off" ]]; then
/titanic_41/usr/src/cmd/isns/isnsd/xml/
H A Ddata.c452 xmlChar *prop_value; in parse_xml_prop() local
468 prop_value = xmlGetProp(node, prop_name); in parse_xml_prop()
470 if (prop_value) { in parse_xml_prop()
474 prop_value, in parse_xml_prop()
476 xmlFree(prop_value); in parse_xml_prop()
635 xmlChar *prop_value; in locate_xml_node() local
660 prop_value = xmlGetProp(curr, prop_name); in locate_xml_node()
661 if (prop_value) { in locate_xml_node()
662 uid = atoi((const char *)prop_value); in locate_xml_node()
663 xmlFree(prop_value); in locate_xml_node()
[all …]
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/
H A Ddevinfo.c574 is_printable_string(unsigned char *prop_value) in is_printable_string() argument
576 while (*prop_value != 0) in is_printable_string()
577 if (!isprint(*prop_value++)) in is_printable_string()
615 unsigned char *prop_value, int prop_value_len) in devinfo_print_props_value() argument
623 char *p = (char *)prop_value; in devinfo_print_props_value()
635 mdb_nhconvert(prop_value, prop_value, elem_size); in devinfo_print_props_value()
636 mdb_printf("%02x", *prop_value); in devinfo_print_props_value()
639 mdb_nhconvert(&prop_value[i], in devinfo_print_props_value()
640 &prop_value[i], elem_size); in devinfo_print_props_value()
644 mdb_printf("%02x", prop_value[i]); in devinfo_print_props_value()
[all …]
/titanic_41/usr/src/cmd/pools/poolcfg/
H A Dpoolcfg.y543 pool_value_set_int64($$->prop_value, $4.i);
546 pool_value_set_uint64($$->prop_value, $4.u);
549 pool_value_set_bool($$->prop_value, $4.b);
552 pool_value_set_double($$->prop_value, $4.d);
555 pool_value_set_string($$->prop_value, $4.s);
1238 pool_value_free(tmp->prop_value); in free_cmd()
1286 if ((prop->prop_value = pool_value_alloc()) == NULL) { in alloc_prop()
1379 prop->prop_value) != 0) in prop_list_walk()
1588 (void) pool_value_get_uint64(minprop->prop_value, &smin); in process_min_max()
1590 (void) pool_value_get_uint64(maxprop->prop_value, &smax); in process_min_max()
[all …]
H A Dpoolcfg.h53 pool_value_t *prop_value; member
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/snowbird/common/
H A Dsnowbird.c234 char *prop_value; in picldiag_get_string_propval() local
246 prop_value = malloc(pinfo.size); in picldiag_get_string_propval()
247 if (prop_value == NULL) in picldiag_get_string_propval()
250 err = picl_get_propval(proph, prop_value, pinfo.size); in picldiag_get_string_propval()
252 free(prop_value); in picldiag_get_string_propval()
256 *outbuf = prop_value; in picldiag_get_string_propval()
/titanic_41/usr/src/cmd/cmd-inet/sbin/netstrategy/
H A Dnetstrategy.c141 char *prop_value; in boot_properties_present() local
153 dn, *prop, &prop_value) != 1) { in boot_properties_present()
/titanic_41/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dtopo_gather.c468 char *prop_name, *prop_value; in topo_add_bay() local
659 &prop_value) != 0) in topo_add_bay()
663 if (nvlist_add_string(diskprops, prop_name, prop_value) != 0) in topo_add_bay()
666 "value `%s'\n", prop_name, prop_value); in topo_add_bay()
/titanic_41/usr/src/uts/sun4u/montecarlo/io/
H A Dpcf8591_nct.c1080 uint32_t *prop_value = NULL; in pcf8591_read_props() local
1123 "reg", (caddr_t)&prop_value, &prop_len); in pcf8591_read_props()
1125 unitp->props.i2c_bus = (uint16_t)prop_value[0]; in pcf8591_read_props()
1126 unitp->props.slave_address = (uint16_t)prop_value[1]; in pcf8591_read_props()
1127 kmem_free(prop_value, prop_len); in pcf8591_read_props()
H A Dpcf8574_nct.c1601 uint32_t *prop_value = NULL; in pcf8574_read_props() local
1646 "reg", (caddr_t)&prop_value, &prop_len); in pcf8574_read_props()
1648 unitp->props.i2c_bus = (uint16_t)prop_value[0]; in pcf8574_read_props()
1650 (uint8_t)prop_value[1]; in pcf8574_read_props()
1651 kmem_free(prop_value, prop_len); in pcf8574_read_props()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/
H A Dnwamcfg.c2525 nwam_value_t prop_value; in set_func() local
2557 prop_value = str_to_nwam_value(object_type, cmd->cmd_argv[0], pt_type, in set_func()
2559 if (prop_value == NULL) { in set_func()
2567 ret = nwam_ncu_set_prop_value(ncu_h, prop, prop_value); in set_func()
2570 ret = nwam_loc_set_prop_value(loc_h, prop, prop_value); in set_func()
2573 ret = nwam_enm_set_prop_value(enm_h, prop, prop_value); in set_func()
2576 ret = nwam_known_wlan_set_prop_value(wlan_h, prop, prop_value); in set_func()
2579 nwam_value_free(prop_value); in set_func()
3747 nwam_value_t prop_value; in get_func() local
3778 ret = nwam_ncu_get_prop_value(ncu_h, prop, &prop_value); in get_func()
[all …]
/titanic_41/usr/src/uts/common/io/skd/
H A Dskd.c4469 int prop_value; in skd_get_properties() local
4474 prop_value = ddi_prop_get_int(DDI_DEV_T_ANY, dip, 0, in skd_get_properties()
4476 if (prop_value >= 1 && prop_value <= SKD_MAX_QUEUE_DEPTH) in skd_get_properties()
4477 skd_max_queue_depth = prop_value; in skd_get_properties()
4479 prop_value = ddi_prop_get_int(DDI_DEV_T_ANY, dip, 0, in skd_get_properties()
4481 if (prop_value >= 1 && prop_value <= SKD_MAX_REQ_PER_MSG) in skd_get_properties()
4482 skd_max_req_per_msg = prop_value; in skd_get_properties()
4484 prop_value = ddi_prop_get_int(DDI_DEV_T_ANY, dip, 0, in skd_get_properties()
4486 if (prop_value >= 1 && prop_value <= SKD_MAX_N_SG_PER_REQ) in skd_get_properties()
4487 skd_sgs_per_request = prop_value; in skd_get_properties()
[all …]
/titanic_41/usr/src/uts/i86pc/sys/
H A Drootnex.h83 int prop_value; member
/titanic_41/usr/src/uts/sun4/io/
H A Drootnex.c195 caddr_t prop_value; member
305 rpp->prop_name, *((int *)rpp->prop_value)); in add_root_props()
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/schumacher/common/
H A Dschumacher.c241 char *prop_value; in picldiag_get_string_propval() local
253 prop_value = malloc(pinfo.size); in picldiag_get_string_propval()
254 if (prop_value == NULL) in picldiag_get_string_propval()
257 err = picl_get_propval(proph, prop_value, pinfo.size); in picldiag_get_string_propval()
259 free(prop_value); in picldiag_get_string_propval()
263 *outbuf = prop_value; in picldiag_get_string_propval()
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/desktop/common/
H A Dpicldiag.c280 char *prop_value; in picldiag_get_string_propval() local
292 prop_value = malloc(pinfo.size); in picldiag_get_string_propval()
293 if (prop_value == NULL) in picldiag_get_string_propval()
296 err = picl_get_propval(proph, prop_value, pinfo.size); in picldiag_get_string_propval()
298 free(prop_value); in picldiag_get_string_propval()
302 *outbuf = prop_value; in picldiag_get_string_propval()
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/lw8/common/
H A Dlw8.c275 char *prop_value; in picldiag_get_string_propval() local
287 prop_value = malloc(pinfo.size); in picldiag_get_string_propval()
288 if (prop_value == NULL) in picldiag_get_string_propval()
291 err = picl_get_propval(proph, prop_value, pinfo.size); in picldiag_get_string_propval()
293 free(prop_value); in picldiag_get_string_propval()
297 *outbuf = prop_value; in picldiag_get_string_propval()
/titanic_41/usr/src/cmd/svc/svccfg/
H A Dsvccfg_xml.c1993 astring_prop_value(property_t **p, const char *prop_name, char *prop_value, in astring_prop_value() argument
2010 v->sc_u.sc_string = prop_value; in astring_prop_value()
2308 char *prop_value; in lxml_get_tm_range() local
2331 prop_value = safe_malloc(max_scf_value_len + 1); in lxml_get_tm_range()
2332 if (snprintf(prop_value, max_scf_value_len + 1, "%s,%s", min, max) >= in lxml_get_tm_range()
2347 astring_prop_value(&p, prop_name, prop_value, B_TRUE); in lxml_get_tm_range()
/titanic_41/usr/src/uts/common/io/pciex/hotplug/
H A Dpcishpc.c55 char *prop_value; member
437 pcishpc_props[i].prop_value) != 0) { in pcishpc_slot_get_property()
H A Dpciehpc.c54 char *prop_value; member
1573 pciehpc_props[i].prop_value) != 0) { in pciehpc_slot_get_property()
/titanic_41/usr/src/cmd/svc/configd/
H A Drc_node.c3459 char *prop_value; in _smf_audit_event() local
3493 prop_value = ""; in _smf_audit_event()
3495 prop_value = data->ed_prop_value; in _smf_audit_event()
3511 event->adt_smf_change_prop.value = prop_value; in _smf_audit_event()
3535 event->adt_smf_create_prop.value = prop_value; in _smf_audit_event()
/titanic_41/usr/src/uts/i86pc/io/
H A Drootnex.c609 rpp[i].prop_name, rpp[i].prop_value); in rootnex_add_props()