/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | mlsetup.c | 112 char prop_str[BP_MAX_STRLEN]; in mlsetup() local 159 if (bootprop_getstr("nmi", prop_str, sizeof (prop_str)) == 0) { in mlsetup() 160 if (strcmp(prop_str, "ignore") == 0) { in mlsetup() 162 } else if (strcmp(prop_str, "panic") == 0) { in mlsetup() 164 } else if (strcmp(prop_str, "kmdb") == 0) { in mlsetup() 168 prop_str); in mlsetup() 195 if (bootprop_getstr("smt_enabled", prop_str, sizeof (prop_str)) == 0) { in mlsetup() 196 if (strcasecmp(prop_str, "false") == 0 || in mlsetup() 197 strcmp(prop_str, "0") == 0) in mlsetup()
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xpvd.c | 328 void *prop_str; in xpvd_prop_op() local 343 prop_str = NULL; in xpvd_prop_op() 344 if ((xenbus_read(XBT_NULL, pdp->xd_xsdev.nodename, name, &prop_str, in xpvd_prop_op() 345 &len) == 0) && (prop_str != NULL) && (strlen(prop_str) != 0)) in xpvd_prop_op() 348 prop_str = NULL; in xpvd_prop_op() 350 (xenbus_read(XBT_NULL, pdp->xd_xsdev.otherend, name, &prop_str, in xpvd_prop_op() 351 &len) == 0) && (prop_str != NULL) && (strlen(prop_str) != 0)) in xpvd_prop_op() 359 prop_len = strlen(prop_str) + 1; in xpvd_prop_op() 383 bcopy(prop_str, buff, prop_len); in xpvd_prop_op() 387 kmem_free(prop_str, len); in xpvd_prop_op() [all …]
|
/illumos-gate/usr/src/lib/libbe/common/ |
H A D | be_list.c | 1005 char *prop_str = NULL; in be_get_node_data() local 1137 &prop_str) == 0); in be_get_node_data() 1138 if (prop_str == NULL || strcmp(prop_str, "-") == 0 || in be_get_node_data() 1139 strcmp(prop_str, "") == 0) in be_get_node_data() 1143 be_node->be_policy_type = strdup(prop_str); in be_get_node_data() 1149 &prop_str) == 0) { in be_get_node_data() 1150 be_node->be_uuid_str = strdup(prop_str); in be_get_node_data() 1155 ZPROP_VALUE, &prop_str) == 0) { in be_get_node_data() 1156 be_node->be_uuid_str = strdup(prop_str); in be_get_node_data() 1198 char *prop_str = NULL; in be_get_ds_data() local [all …]
|
/illumos-gate/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 …]
|
/illumos-gate/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()
|
/illumos-gate/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()
|
/illumos-gate/usr/src/uts/common/xen/os/ |
H A D | xvdi.c | 255 void *prop_str; in xvdi_init_dev() local 349 if (xenbus_read(XBT_NULL, xsname, "mac", (void *)&prop_str, in xvdi_init_dev() 353 prop_str); in xvdi_init_dev() 354 kmem_free(prop_str, prop_len); in xvdi_init_dev() 362 &prop_str, &prop_len) != 0) in xvdi_init_dev() 365 "dev-address", prop_str); in xvdi_init_dev() 366 kmem_free(prop_str, prop_len); in xvdi_init_dev()
|
/illumos-gate/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()
|
/illumos-gate/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 | 6973 char *prop_str; in emlxs_get_fcode_version() local 6977 prop_str = NULL; in emlxs_get_fcode_version() 6980 "fcode-version", (char **)&prop_str); in emlxs_get_fcode_version() 6983 bcopy(prop_str, vpd->fcode_version, strlen(prop_str)); in emlxs_get_fcode_version() 6984 (void) ddi_prop_free((void *)prop_str); in emlxs_get_fcode_version() 7001 char *prop_str; in emlxs_hba_attach() local 7157 prop_str = NULL; in emlxs_hba_attach() 7159 (dev_info_t *)dip, 0, "name", (char **)&prop_str); in emlxs_hba_attach() 7162 if (strncmp(prop_str, "lpfs", 4) == 0) { in emlxs_hba_attach() 7166 (void) ddi_prop_free((void *)prop_str); in emlxs_hba_attach()
|
/illumos-gate/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()
|
/illumos-gate/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()
|