Searched refs:platbuf (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_conf.c46 static char platbuf[MAXNAMELEN]; local
48 if (sysinfo(SI_PLATFORM, platbuf, MAXNAMELEN) != -1)
49 return (platbuf);
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/
H A Dontario.c306 char platbuf[MAXSTRLEN]; local
330 if (sysinfo(SI_PLATFORM, platbuf, sizeof (platbuf)) == -1) {
331 (void) strcpy(platbuf, ONTARIO_PLATFORM);
337 if ((strncmp(platbuf, ONTARIO_PLATFORM,
339 (strncmp(platbuf, ONTARIO_PLATFORM2,
345 } else if ((strncmp(platbuf, PELTON_PLATFORM,
351 } else if ((strncmp(platbuf, STPAUL_PLATFORM,
355 } else if ((strncmp(platbuf, HURON_1U_PLATFORM,
356 strlen(HURON_1U_PLATFORM)) == 0) || (strncmp(platbuf,
512 char platbuf[MAXSTRLEN]; local
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/montoya/common/
H A Dmontoya.c277 char platbuf[MAXSTRLEN]; local
301 if (sysinfo(SI_PLATFORM, platbuf, sizeof (platbuf)) == -1) {
302 (void) strcpy(platbuf, MONTOYA_PLATFORM);
442 char platbuf[MAXSTRLEN]; local
469 if (sysinfo(SI_PLATFORM, platbuf, sizeof (platbuf)) == -1) {
470 (void) strcpy(platbuf, MONTOYA_PLATFORM);
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/monza/common/
H A Dmonza.c314 char platbuf[MAXSTRLEN]; local
338 if (sysinfo(SI_PLATFORM, platbuf, sizeof (platbuf)) == -1) {
339 (void) strcpy(platbuf, MONZA_PLATFORM);
489 char platbuf[MAXSTRLEN]; local
516 if (sysinfo(SI_PLATFORM, platbuf, sizeof (platbuf)) == -1) {
517 (void) strcpy(platbuf, MONZA_PLATFORM);
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/piclsbl/
H A Dpiclsbl.c381 char platbuf[SYS_NMLN]; local
384 if ((sysinfo(SI_PLATFORM, platbuf, SYS_NMLN) != -1) &&
385 ((strcmp(platbuf, ERIE_PLATFORM) == 0) ||
386 (strcmp(platbuf, ERIE_PLATFORM2) == 0)))

Completed in 76 milliseconds