Home
last modified time | relevance | path

Searched refs:prop_str (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/uts/i86pc/os/
H A Dmlsetup.c112 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 Dxpvd.c328 void *prop_str; in xpvd_prop_op() local
343 prop_str = NULL; 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()
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()
744 char *prop_str; in xpvd_name_child() local
790 (void) strlcpy(addr, prop_str, addrlen); in xpvd_name_child()
[all …]
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_list.c1005 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()
1149 &prop_str) == 0) { in be_get_node_data()
1198 char *prop_str = NULL; in be_get_ds_data() local
1252 if (prop_str == NULL || in be_get_ds_data()
1253 strcmp(prop_str, "-") == 0 || in be_get_ds_data()
1254 strcmp(prop_str, "") == 0) in be_get_ds_data()
1293 char *prop_str = NULL; in be_get_ss_data() local
[all …]
/illumos-gate/usr/src/uts/sun/io/audio/drv/audiocs/
H A Daudio_4231.c1037 char *prop_str; in audiocs_init_state() local
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()
1181 audio_dev_set_version(adev, prop_str); in audiocs_get_ports()
1184 "audio may not work correctly", prop_str); in audiocs_get_ports()
1191 switch (*prop_str) { in audiocs_get_ports()
1200 audio_dev_set_version(adev, prop_str); in audiocs_get_ports()
[all …]
/illumos-gate/usr/src/cmd/devctl/
H A Ddevctl.c396 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 Dlibv12n.c279 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 Dxvdi.c255 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 Daudit_scf.c84 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 Demlxs_dhchap.c63 emlxs_auth_cfg_t *config, 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()
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()
8679 if (prop_str == NULL) { in emlxs_auth_key_read()
8716 char *prop_str) in emlxs_auth_key_parse() argument
[all …]
H A Demlxs_solaris.c6973 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 Ddad.c902 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 Dfas.c540 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()