/titanic_41/usr/src/uts/common/xen/io/ |
H A D | xpvd.c | 319 void *prop_str; in xpvd_prop_op() local 334 prop_str = NULL; in xpvd_prop_op() 335 if ((xenbus_read(XBT_NULL, pdp->xd_xsdev.nodename, name, &prop_str, in xpvd_prop_op() 336 &len) == 0) && (prop_str != NULL) && (strlen(prop_str) != 0)) in xpvd_prop_op() 339 prop_str = NULL; in xpvd_prop_op() 341 (xenbus_read(XBT_NULL, pdp->xd_xsdev.otherend, name, &prop_str, in xpvd_prop_op() 342 &len) == 0) && (prop_str != NULL) && (strlen(prop_str) != 0)) in xpvd_prop_op() 350 prop_len = strlen(prop_str) + 1; in xpvd_prop_op() 373 bcopy(prop_str, buff, prop_len); in xpvd_prop_op() 376 kmem_free(prop_str, len); in xpvd_prop_op() [all …]
|
/titanic_41/usr/src/lib/libbe/common/ |
H A D | be_list.c | 1008 char *prop_str = NULL; in be_get_node_data() local 1128 &prop_str) == 0); in be_get_node_data() 1129 if (prop_str == NULL || strcmp(prop_str, "-") == 0 || in be_get_node_data() 1130 strcmp(prop_str, "") == 0) in be_get_node_data() 1134 be_node->be_policy_type = strdup(prop_str); in be_get_node_data() 1140 &prop_str) == 0) { in be_get_node_data() 1141 be_node->be_uuid_str = strdup(prop_str); in be_get_node_data() 1146 ZPROP_VALUE, &prop_str) == 0) { in be_get_node_data() 1147 be_node->be_uuid_str = strdup(prop_str); in be_get_node_data() 1189 char *prop_str = NULL; in be_get_ds_data() local [all …]
|
/titanic_41/usr/src/uts/sun/io/audio/drv/audiocs/ |
H A D | audio_4231.c | 1037 char *prop_str; in audiocs_init_state() local 1052 "dma-model", &prop_str) == DDI_PROP_SUCCESS) { in audiocs_init_state() 1053 if (strcmp(prop_str, "eb2dma") == 0) { in audiocs_init_state() 1060 ddi_prop_free(prop_str); in audiocs_init_state() 1149 char *prop_str; in audiocs_get_ports() local 1163 "model", &prop_str) == DDI_PROP_SUCCESS) { in audiocs_get_ports() 1164 if (strcmp(prop_str, "SUNW,CS4231h") == 0) { in audiocs_get_ports() 1169 } else if (strcmp(prop_str, "SUNW,CS4231g") == 0) { in audiocs_get_ports() 1177 } else if (strcmp(prop_str, "SUNW,CS4231f") == 0) { in audiocs_get_ports() 1181 audio_dev_set_version(adev, prop_str); in audiocs_get_ports() [all …]
|
/titanic_41/usr/src/cmd/devctl/ |
H A D | devctl.c | 396 add_prop(devctl_ddef_t ddef_hdl, char *prop_str) in add_prop() argument 402 tmp = strchr(prop_str, '='); in add_prop() 404 (void) fprintf(stderr, "invalid property %s", prop_str); in add_prop() 408 (void) printf("prop string: %s\n", prop_str); in add_prop() 409 pname = prop_str; in add_prop()
|
/titanic_41/usr/src/cmd/fm/modules/sun4v/etm/ |
H A D | etm_xport_api_dd.c | 325 char *prop_str; /* property string */ in etm_xport_get_fn() local 342 prop_str = fmd_prop_get_string(hdl, ETM_PROP_NM_XPORT_ADDRS); in etm_xport_get_fn() 345 prop_str); in etm_xport_get_fn() 348 if (strlen(prop_str) == 0) { in etm_xport_get_fn() 372 (void) strncpy(fn_wr, prop_str, PATH_MAX - 1); in etm_xport_get_fn() 378 if ((cp = strchr(prop_str, '|')) != NULL) { in etm_xport_get_fn() 381 cp = prop_str; in etm_xport_get_fn() 393 fmd_prop_free_string(hdl, prop_str); in etm_xport_get_fn()
|
/titanic_41/usr/src/lib/libv12n/sparc/ |
H A D | libv12n.c | 279 char *prop_str; in v12n_scan_md_nodes() local 296 if (md_get_prop_str(mdp, nodes[i], node_str_prop, &prop_str)) in v12n_scan_md_nodes() 299 if (strcmp(prop_str, props[j]) == 0) { in v12n_scan_md_nodes()
|
/titanic_41/usr/src/uts/common/xen/os/ |
H A D | xvdi.c | 245 void *prop_str; in xvdi_init_dev() local 339 if (xenbus_read(XBT_NULL, xsname, "mac", (void *)&prop_str, in xvdi_init_dev() 343 prop_str); in xvdi_init_dev() 344 kmem_free(prop_str, prop_len); in xvdi_init_dev() 352 &prop_str, &prop_len) != 0) in xvdi_init_dev() 355 "dev-address", prop_str); in xvdi_init_dev() 356 kmem_free(prop_str, prop_len); in xvdi_init_dev()
|
/titanic_41/usr/src/lib/libbsm/common/ |
H A D | audit_scf.c | 84 add_prop_vect_scf(scf_propvec_t *vector, const char *prop_str, in add_prop_vect_scf() argument 87 vector->pv_prop = prop_str; in add_prop_vect_scf()
|
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_dhchap.c | 63 emlxs_auth_cfg_t *config, char *prop_str); 77 emlxs_auth_key_t *auth_key, char *prop_str); 8000 char *prop_str; in emlxs_auth_cfg_read() local 8024 prop_str = arrayp[i]; in emlxs_auth_cfg_read() 8025 if (prop_str == NULL) { in emlxs_auth_cfg_read() 8029 if (emlxs_auth_cfg_parse(hba, &auth_cfg, prop_str) == 0) { in emlxs_auth_cfg_read() 8063 char *prop_str) in emlxs_auth_cfg_parse() argument 8075 s = prop_str; in emlxs_auth_cfg_parse() 8654 char *prop_str; in emlxs_auth_key_read() local 8678 prop_str = arrayp[i]; in emlxs_auth_key_read() [all …]
|
H A D | emlxs_solaris.c | 6960 char *prop_str; in emlxs_get_fcode_version() local 6964 prop_str = NULL; in emlxs_get_fcode_version() 6967 "fcode-version", (char **)&prop_str); in emlxs_get_fcode_version() 6970 bcopy(prop_str, vpd->fcode_version, strlen(prop_str)); in emlxs_get_fcode_version() 6971 (void) ddi_prop_free((void *)prop_str); in emlxs_get_fcode_version() 6988 char *prop_str; in emlxs_hba_attach() local 7137 prop_str = NULL; in emlxs_hba_attach() 7139 (dev_info_t *)dip, 0, "name", (char **)&prop_str); in emlxs_hba_attach() 7142 if (strncmp(prop_str, "lpfs", 4) == 0) { in emlxs_hba_attach() 7146 (void) ddi_prop_free((void *)prop_str); in emlxs_hba_attach()
|
/titanic_41/usr/src/uts/sun/io/dada/targets/ |
H A D | dad.c | 902 char prop_str[32]; in dcd_doattach() local 1017 (void) sprintf(prop_str, prop_template, target); in dcd_doattach() 1019 prop_str, -1); in dcd_doattach()
|
/titanic_41/usr/src/uts/sun/io/scsi/adapters/ |
H A D | fas.c | 540 char prop_str[32]; in fas_attach() local 864 (void) sprintf(prop_str, prop_template, i); in fas_attach() 866 DDI_DEV_T_ANY, dip, 0, prop_str, -1); in fas_attach()
|