/titanic_41/usr/src/lib/scsi/plugins/ses/ses2/common/ |
H A D | ses2_element_ctl.c | 1443 nvlist_t *props = ses_node_props(np); in elem_setdef_threshold() local 1445 SES_NV_CTL64(props, SES_PROP_THRESH_CRIT_HI, tip->sti_high_crit); in elem_setdef_threshold() 1446 SES_NV_CTL64(props, SES_PROP_THRESH_CRIT_LO, tip->sti_low_crit); in elem_setdef_threshold() 1447 SES_NV_CTL64(props, SES_PROP_THRESH_WARN_HI, tip->sti_high_warn); in elem_setdef_threshold() 1448 SES_NV_CTL64(props, SES_PROP_THRESH_WARN_LO, tip->sti_low_warn); in elem_setdef_threshold() 1458 nvlist_t *props = ses_node_props(np); in elem_setdef_device() local 1460 SES_NV_CTLBOOL(props, SES_PROP_IDENT, dip->sdci_rqst_ident); in elem_setdef_device() 1461 SES_NV_CTLBOOL(props, SES_PROP_RMV, dip->sdci_rqst_remove); in elem_setdef_device() 1462 SES_NV_CTLBOOL(props, SES_DEV_PROP_READY_TO_INSERT, in elem_setdef_device() 1464 SES_NV_CTLBOOL(props, SES_DEV_PROP_REQ_MISSING, in elem_setdef_device() [all …]
|
H A D | ses2_pages.c | 42 nvlist_t *props = ses_node_props(np); in ses2_ctl_common_setdef() local 47 SES_NV_CTLBOOL_INVERT(props, SES_PROP_SWAP, eip->seci_rst_swap); in ses2_ctl_common_setdef() 48 SES_NV_CTLBOOL(props, SES_PROP_DISABLED, eip->seci_disable); in ses2_ctl_common_setdef() 49 SES_NV_CTLBOOL(props, SES_PROP_PRDFAIL, eip->seci_prdfail); in ses2_ctl_common_setdef() 63 nvlist_t *props = ses_node_props(np); in ses2_aes_index() local 68 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_ONLY_INDEX, in ses2_aes_index() 70 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_TYPE, in ses2_aes_index() 130 nvlist_t *props = ses_node_props(np); in ses2_threshold_index() local 134 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_INDEX, in ses2_threshold_index() 152 nvlist_t *props = ses_node_props(np); in ses2_element_index() local [all …]
|
H A D | ses2_enclosure_ctl.c | 42 nvlist_t *props = ses_node_props(np); in enc_do_ucode() local 64 if (nvlist_lookup_uint64(props, SES_EN_PROP_UCODE_SZ, in enc_do_ucode() 73 (void) nvlist_lookup_uint64(props, SES_EN_PROP_UCODE_BUF, in enc_do_ucode() 168 nvlist_t *props = ses_node_props(np); in enc_ctl_string() local 173 VERIFY(nvlist_lookup_uint64(props, SES_EN_PROP_EID, &eid) == 0); in enc_ctl_string() 206 nvlist_t *props = ses_node_props(np); in enc_ctl_nick() local 215 VERIFY(nvlist_lookup_uint64(props, SES_EN_PROP_EID, &eid) == 0); in enc_ctl_nick() 291 nvlist_t *props = ses_node_props(np); in enc_setdef_one() local 296 SES_NV_CTLBOOL(props, SES_PROP_IDENT, tp->seci_rqst_ident); in enc_setdef_one() 297 SES_NV_CTLBOOL(props, SES_PROP_WARN_REQ, in enc_setdef_one() [all …]
|
/titanic_41/usr/src/lib/nsswitch/ad/common/ |
H A D | ad_common.c | 44 nssad_cfg_free_props(nssad_prop_t *props) in nssad_cfg_free_props() argument 46 if (props->domain_name != NULL) { in nssad_cfg_free_props() 47 free(props->domain_name); in nssad_cfg_free_props() 48 props->domain_name = NULL; in nssad_cfg_free_props() 50 if (props->domain_controller != NULL) { in nssad_cfg_free_props() 51 free(props->domain_controller); in nssad_cfg_free_props() 52 props->domain_controller = NULL; in nssad_cfg_free_props() 58 nssad_prop_t *props) in nssad_cfg_discover_props() argument 63 if (props->domain_controller == NULL) in nssad_cfg_discover_props() 64 props->domain_controller = in nssad_cfg_discover_props() [all …]
|
/titanic_41/usr/src/uts/sparc/os/ |
H A D | cpr_sparc.c | 64 #define CPR_PROP_PTR(dfp, idx) &(dfp)->props[idx] 115 cpr_update_nvram(cprop_t *props) in cpr_update_nvram() argument 126 for (tail = props + CPR_MAXPROP; props < tail; props++) { in cpr_update_nvram() 129 props->mod, props->name, props->value); in cpr_update_nvram() 131 if (props->mod == PROP_NOMOD) in cpr_update_nvram() 138 len = strlen(props->value); in cpr_update_nvram() 139 rc = prom_setprop(node, props->name, props->value, len + 1); in cpr_update_nvram() 140 if (rc < 0 || prom_getproplen(node, props->name) != len) { in cpr_update_nvram() 142 props->name, props->value); in cpr_update_nvram() 158 cprop_t *props; in cpr_set_properties() local [all …]
|
/titanic_41/usr/src/cmd/fm/scripts/ |
H A D | dictck.pl | 100 my %props; 139 $props{$lhs} = $rhs; 146 unless defined($props{'version'}); 148 unless defined($props{'name'}); 150 unless defined($props{'maxkey'}); 153 die "$name:$line: unexpected version: \"$props{'version'}\"\n" 154 unless $props{'version'} eq "1"; 157 die "$name:$line: name \"$props{'name'}\" doesn't match \"$dname\" from filename\n" 158 unless $props{'name'} eq $dname; 162 unless $props{'maxkey'} =~ /^\d+$/; [all …]
|
/titanic_41/usr/src/lib/scsi/plugins/ses/SUN-Storage-J4500/common/ |
H A D | loki.c | 44 nvlist_t *props = ses_node_props(np); in sun_loki_fix_bay() local 66 SES_NV_ADD(uint64, nverr, props, SES_PROP_BAY_NUMBER, in sun_loki_fix_bay() 76 nvlist_t *props = ses_node_props(np); in sun_loki_parse_node() local 94 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_TYPE, in sun_loki_parse_node() 104 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_CLASS_INDEX, in sun_loki_parse_node() 126 VERIFY(nvlist_lookup_nvlist(props, SES_EN_PROP_LID, &lid) == 0); in sun_loki_parse_node() 130 SES_NV_ADD(string, nverr, props, LIBSES_EN_PROP_CSN, serial); in sun_loki_parse_node() 158 SES_NV_ADD(fixed_string_trunc, nverr, props, in sun_loki_parse_node() 182 props, LIBSES_PROP_PART, in sun_loki_parse_node() 208 props, LIBSES_PROP_PART, in sun_loki_parse_node()
|
/titanic_41/usr/src/lib/scsi/plugins/ses/libses/common/ |
H A D | libses.c | 39 nvlist_t *props; in libses_parse_node() local 45 props = ses_node_props(np); in libses_parse_node() 47 if (nvlist_lookup_uint64(props, SES_PROP_ELEMENT_TYPE, in libses_parse_node() 53 SES_NV_ADD(string, nverr, props, in libses_parse_node() 64 if (nvlist_lookup_nvlist(props, SES_EN_PROP_LID, &lid) != 0) in libses_parse_node() 70 SES_NV_ADD(string, nverr, props, LIBSES_EN_PROP_CSN, csn); in libses_parse_node()
|
/titanic_41/usr/src/lib/fm/topo/modules/common/ses/ |
H A D | ses_facility.c | 135 nvlist_t *args, *pargs, *props; in ses_indicator_mode() local 161 verify((props = ses_node_props(np)) != NULL); in ses_indicator_mode() 201 if (nvlist_lookup_boolean_value(props, in ses_indicator_mode() 209 if (altprop != NULL && nvlist_lookup_boolean_value(props, in ses_indicator_mode() 246 nvlist_t *args, *props; in ses_sensor_reading() local 273 verify((props = ses_node_props(np)) != NULL); in ses_sensor_reading() 275 if (nvlist_lookup_uint64(props, prop, ¤t) == 0) { in ses_sensor_reading() 277 } else if (nvlist_lookup_int64(props, prop, &scurrent) == 0) { in ses_sensor_reading() 315 nvlist_t *nvl, *args, *props; in ses_sensor_state() local 333 verify((props = ses_node_props(np)) != NULL); in ses_sensor_state() [all …]
|
H A D | ses.c | 996 nvlist_t *props, *nvl; in ses_present() local 1002 verify((props = ses_node_props(np)) != NULL); in ses_present() 1003 verify(nvlist_lookup_uint64(props, in ses_present() 1132 ses_create_disk(ses_enum_data_t *sdp, tnode_t *pnode, nvlist_t *props) in ses_create_disk() argument 1144 if (nvlist_lookup_uint64(props, SES_PROP_STATUS_CODE, &status) != 0) in ses_create_disk() 1237 nvlist_t *props; in ses_add_bay_props() local 1249 props = ses_node_props(np); in ses_add_bay_props() 1251 if (nvlist_lookup_nvlist_array(props, SES_SAS_PROP_PHYS, in ses_add_bay_props() 1267 props = ses_node_props(np); in ses_add_bay_props() 1269 if (nvlist_lookup_nvlist_array(props, SES_SAS_PROP_PHYS, in ses_add_bay_props() [all …]
|
/titanic_41/usr/src/lib/libzfs_core/common/ |
H A D | libzfs_core.c | 173 lzc_create(const char *fsname, dmu_objset_type_t type, nvlist_t *props) in lzc_create() argument 178 if (props != NULL) in lzc_create() 179 fnvlist_add_nvlist(args, "props", props); in lzc_create() 187 nvlist_t *props) in lzc_clone() argument 192 if (props != NULL) in lzc_clone() 193 fnvlist_add_nvlist(args, "props", props); in lzc_clone() 215 lzc_snapshot(nvlist_t *snaps, nvlist_t *props, nvlist_t **errlist) in lzc_snapshot() argument 233 if (props != NULL) in lzc_snapshot() 234 fnvlist_add_nvlist(args, "props", props); in lzc_snapshot() 551 lzc_receive_impl(const char *snapname, nvlist_t *props, const char *origin, in lzc_receive_impl() argument [all …]
|
/titanic_41/usr/src/cmd/fwflash/plugins/transport/common/ |
H A D | ses.c | 153 static int get_status(nvlist_t *props, ucode_status_t *sp); 298 nvlist_t *props; in fw_identify() local 432 if ((props = ses_node_props(rootnodep)) == NULL) { in fw_identify() 444 if ((nvlist_lookup_string(props, SCSI_PROP_VENDOR, in fw_identify() 446 (nvlist_lookup_string(props, SCSI_PROP_PRODUCT, in fw_identify() 448 (nvlist_lookup_string(props, SCSI_PROP_REVISION, in fw_identify() 463 if ((props = ses_node_props(nodep)) == NULL) { in fw_identify() 481 if (nvlist_lookup_string(props, LIBSES_EN_PROP_CSN, in fw_identify() 584 get_status(nvlist_t *props, ucode_status_t *sp) in get_status() argument 589 if (nvlist_lookup_uint64(props, SES_EN_PROP_UCODE, &status) != 0) { in get_status() [all …]
|
/titanic_41/usr/src/cmd/scsi/sestopo/common/ |
H A D | sestopo.c | 57 nvlist_t *props; in node() local 62 if ((props = ses_node_props(np)) == NULL) { in node() 67 (void) nvlist_lookup_uint64(props, SES_PROP_ELEMENT_TYPE, &val); in node() 68 if (nvlist_lookup_string(props, LIBSES_PROP_ELEMENT_TYPE_NAME, in node() 73 nvlist_print(stdout, props); in node()
|
/titanic_41/usr/src/lib/libc/port/locale/ |
H A D | wctype.c | 48 } props[] = { in wctype_l() local 71 while (props[i].name != NULL && strcmp(props[i].name, property) != 0) in wctype_l() 74 return (props[i].mask); in wctype_l()
|
/titanic_41/usr/src/lib/fm/libdiagcode/common/ |
H A D | diagcode.c | 61 } *props; member 215 dhp->props = NULL; in fm_dc_opendict() 285 propp->next = dhp->props; in fm_dc_opendict() 286 dhp->props = propp; in fm_dc_opendict() 323 struct fm_dc_prop *props; in fm_dc_closedict() local 334 props = dhp->props; in fm_dc_closedict() 335 while (props) { in fm_dc_closedict() 336 if (props->lhs != NULL) in fm_dc_closedict() 337 free((void *) props->lhs); in fm_dc_closedict() 338 if (props->rhs != NULL) in fm_dc_closedict() [all …]
|
/titanic_41/usr/src/uts/sun4u/montecarlo/io/ |
H A D | pcf8591_nct.c | 702 ddi_prop_free(unitp->props.name); in pcf8591_do_detach() 703 if (unitp->props.num_chans_used) { in pcf8591_do_detach() 704 ddi_prop_free(unitp->props.channels_in_use); in pcf8591_do_detach() 707 if (unitp->props.channels_description) { in pcf8591_do_detach() 708 ddi_prop_free(unitp->props.channels_description); in pcf8591_do_detach() 956 unitp->props.channels_description[0]); in pcf8591_add_kstats() 1109 "name", &unitp->props.name); in pcf8591_read_props() 1118 found %s ", "name", unitp->props.name); 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() [all …]
|
/titanic_41/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | dm_platform.c | 184 platform_update_fru(nvlist_t *props, dm_fru_t *frup) in platform_update_fru() argument 191 if (nvlist_lookup_uint64(props, "gid", &gid) != 0 || in platform_update_fru() 192 nvlist_lookup_uint64(props, "hdd", &hdd) != 0) { in platform_update_fru() 261 platform_set_sensor(nvlist_t *props) in platform_set_sensor() argument 270 am_present = nvlist_lookup_uint64(props, "amask", &assertmask) == 0; in platform_set_sensor() 271 dam_present = nvlist_lookup_uint64(props, "dmask", &deassertmask) == 0; in platform_set_sensor() 273 if (nvlist_lookup_uint64(props, "sid", &sid) != 0 || in platform_set_sensor() 371 nvlist_t *props; in do_action() local 386 if (parse_action_string(actionp, &cmd, &props)) { in do_action() 388 rv = platform_update_fru(props, fru); in do_action() [all …]
|
H A D | diskmon_conf.c | 144 dm_prop_lookup(nvlist_t *props, const char *prop_name) in dm_prop_lookup() argument 148 if (nvlist_lookup_string(props, prop_name, &str) == 0) in dm_prop_lookup() 155 dm_prop_lookup_int(nvlist_t *props, const char *prop_name, int *value) in dm_prop_lookup_int() argument 157 const char *prop = dm_prop_lookup(props, prop_name); in dm_prop_lookup_int() 339 dmp->props = nvlp; in new_diskmon() 341 (void) nvlist_alloc(&dmp->props, NV_UNIQUE_NAME, 0); in new_diskmon() 378 if (dmp->props) in diskmon_free() 379 nvlist_free(dmp->props); in diskmon_free() 402 cdp->props = namevalpr_to_nvlist(nvp); in new_cfgdata() 403 else if (nvlist_alloc(&cdp->props, NV_UNIQUE_NAME, 0) != 0) { in new_cfgdata() [all …]
|
/titanic_41/usr/src/lib/scsi/plugins/ses/SUN-Storage-J4400/common/ |
H A D | riverwalk.c | 76 nvlist_t *props = ses_node_props(np); in sun_riverwalk_parse_node() local 115 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_TYPE, in sun_riverwalk_parse_node() 117 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_CLASS_INDEX, in sun_riverwalk_parse_node() 196 SES_NV_ADD(string, nverr, props, LIBSES_PROP_PART, in sun_riverwalk_parse_node() 203 SES_NV_ADD(string, nverr, props, LIBSES_PROP_SERIAL, in sun_riverwalk_parse_node() 219 SES_NV_ADD(string, nverr, props, LIBSES_EN_PROP_CSN, in sun_riverwalk_parse_node()
|
/titanic_41/usr/src/uts/common/tnf/ |
H A D | tnf_types.h | 148 #define TNF_ARRAY_TAG(type, eltag, props, slots, kind) \ argument 154 &props, \ 170 #define TNF_DERIVED_TAG(type, basetag, props, size, align, kind) \ argument 176 &props, \ 183 #define TNF_STD_DERIVED_TAG(type, base, props, kind) \ argument 184 TNF_DERIVED_TAG(type, &TAG_DATA(base), props, \ 192 #define TNF_STRUCT_TAG(type, props, slots, names, size) \ argument 198 &props, \ 216 #define TNF_METATAG(type, props, slots, desc) \ argument 222 &props, \
|
/titanic_41/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | sasl.c | 909 char **props = NULL; in nsldapi_sasl_secprops() local 927 props = ldap_str2charray( inp, "," ); in nsldapi_sasl_secprops() 930 if( props == NULL || secprops == NULL ) { in nsldapi_sasl_secprops() 934 for( i=0; props[i]; i++ ) { in nsldapi_sasl_secprops() 935 if( strcasecmp(props[i], "none") == 0 ) { in nsldapi_sasl_secprops() 938 } else if( strcasecmp(props[i], "noactive") == 0 ) { in nsldapi_sasl_secprops() 942 } else if( strcasecmp(props[i], "noanonymous") == 0 ) { in nsldapi_sasl_secprops() 946 } else if( strcasecmp(props[i], "nodict") == 0 ) { in nsldapi_sasl_secprops() 950 } else if( strcasecmp(props[i], "noplain") == 0 ) { in nsldapi_sasl_secprops() 954 } else if( strcasecmp(props[i], "forwardsec") == 0 ) { in nsldapi_sasl_secprops() [all …]
|
/titanic_41/usr/src/lib/libpool/common/ |
H A D | pool.c | 1235 pool_value_t *props[] = { NULL, NULL }; in pool_resource_create() local 1260 props[0] = &val; in pool_resource_create() 1262 if (pool_value_set_string(props[0], sz_type) != PO_SUCCESS || in pool_resource_create() 1263 pool_value_set_name(props[0], c_type) != PO_SUCCESS) { in pool_resource_create() 1267 if ((resources = pool_query_resources(conf, &nelem, props)) == NULL) { in pool_resource_create() 1706 const pool_prop_t *props = provider_get_props(elem); in pool_walk_any_properties() local 1714 if (props == NULL) { in pool_walk_any_properties() 1727 for (i = 0; props[i].pp_pname != NULL; i++) { in pool_walk_any_properties() 1733 if (strcmp(props[i].pp_pname, c_type) == 0) { in pool_walk_any_properties() 1736 if (pool_value_set_name(&val, props[i].pp_pname) == in pool_walk_any_properties() [all …]
|
/titanic_41/usr/src/lib/pyzfs/common/ |
H A D | dataset.py | 100 def __init__(self, name, props=None, argument 127 if not props: 128 props = zfs.ioctl.dataset_props(name) 129 self.__props = props 162 (name, cookie, props) = \ 164 ds = Dataset(name, props)
|
/titanic_41/usr/src/lib/scsi/plugins/ses/LSILOGIC-SASX28-A.0/common/ |
H A D | lsilogic.c | 43 nvlist_t *props; in lsilogic_parse_node() local 48 props = ses_node_props(np); in lsilogic_parse_node() 50 SES_NV_ADD(boolean_value, nverr, props, LIBSES_EN_PROP_INTERNAL, in lsilogic_parse_node()
|
/titanic_41/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | Defaults.java | 178 Properties props = System.getProperties(); 179 props.put(DATable.SA_ONLY_SCOPES_PROP, localHostName); in props.put() 180 props.put(DATable.DA_TABLE_CLASS_PROP, SUN_DATABLE); in props.put() 181 System.setProperties(props);
|