/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_conf.c | 97 static char plat[SYS_NMLN]; local 112 (void) strncpy(plat, plataddr, sizeof (plat)); 113 plat[sizeof (plat) - 1] = '\0'; 115 return (plat);
|
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/pcibus/ |
H A D | pci_sun4v.c | 105 char *nm, *plat, *pp, **cp; local 114 FM_FMRI_AUTH_PRODUCT, &plat, &err) < 0) { 119 pp = strchr(plat, ','); 121 pp = plat; 133 topo_mod_strfree(mod, plat);
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | pcibus_labels.c | 224 char *plat, *pp, *l, *ancestor_l = NULL, *new_l = NULL; local 360 FM_FMRI_AUTH_PRODUCT, &plat, &err) < 0) { 367 pp = strchr(plat, ','); 369 pp = plat; 398 topo_mod_strfree(mod, plat);
|
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/xaui/ |
H A D | xaui.c | 392 char *plat, *pp; local 403 FM_FMRI_AUTHORITY, FM_FMRI_AUTH_PRODUCT, &plat, &err) < 0) { 409 pp = strchr(plat, ','); 411 pp = plat; 430 topo_mod_strfree(mod, plat);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/frutree/ |
H A D | piclfrutree.c | 933 is_added_device(char *plat, char *fru) argument 939 err = ptree_get_node_by_path(plat, &plath); 971 is_removed_device(char *plat, char *fru) argument 978 err = ptree_get_node_by_path(plat, &plath);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/daktari/frutree/ |
H A D | piclfrutree.c | 1057 is_added_device(char *plat, char *fru) argument 1063 err = ptree_get_node_by_path(plat, &plath); 1095 is_removed_device(char *plat, char *fru) argument 1102 err = ptree_get_node_by_path(plat, &plath);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/littleneck/frutree/ |
H A D | piclfrutree.c | 819 is_added_device(char *plat, char *fru) argument 825 err = ptree_get_node_by_path(plat, &plath); 857 is_removed_device(char *plat, char *fru) argument 864 err = ptree_get_node_by_path(plat, &plath);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/libtopo/ |
H A D | libtopo.c | 69 char uuid[36], root[36], plat[36], isa[36], machine[36], product[36]; local 87 if (mdb_readstr(plat, sizeof (plat), (uintptr_t)th.th_platform) < 0) { 88 (void) mdb_snprintf(plat, sizeof (plat), "<%p>", 121 mdb_printf("%-12s %-36s %-30s\n", "th_platform", plat, "Platform name");
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_log.c | 136 const char *osrel, *osver, *plat; local 143 (void) fmd_conf_getprop(fmd.d_conf, "platform", &plat); 157 err |= ea_set_item(&i4, CAT_FMA_PLAT, plat, 0);
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pgcore.c | 1041 char plat[SYS_NMLN]; local 1082 (void) Pplatform(P, plat, sizeof (plat)); 1083 platlen = strlen(plat) + 1; 1272 if (write_note(fd, NT_PLATFORM, plat, platlen, &doff) != 0) 1359 if (write_note(fd, NT_PLATFORM, plat, platlen, &doff) != 0 ||
|
H A D | Pcore.c | 752 char *plat; local 757 if (nbytes != 0 && ((plat = malloc(nbytes + 1)) != NULL)) { 758 if (read(P->asfd, plat, nbytes) != nbytes) { 760 free(plat); 763 plat[nbytes - 1] = '\0'; 764 core->core_platform = plat;
|