Searched refs:platbuf (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/ |
H A D | ontario.c | 304 char platbuf[MAXSTRLEN]; in sun4v_display_pci() local 328 if (sysinfo(SI_PLATFORM, platbuf, sizeof (platbuf)) == -1) { in sun4v_display_pci() 329 (void) strcpy(platbuf, ONTARIO_PLATFORM); in sun4v_display_pci() 335 if ((strncmp(platbuf, ONTARIO_PLATFORM, in sun4v_display_pci() 337 (strncmp(platbuf, ONTARIO_PLATFORM2, in sun4v_display_pci() 343 } else if ((strncmp(platbuf, PELTON_PLATFORM, in sun4v_display_pci() 349 } else if ((strncmp(platbuf, STPAUL_PLATFORM, in sun4v_display_pci() 353 } else if ((strncmp(platbuf, HURON_1U_PLATFORM, in sun4v_display_pci() 354 strlen(HURON_1U_PLATFORM)) == 0) || (strncmp(platbuf, in sun4v_display_pci() 510 char platbuf[MAXSTRLEN]; in sun4v_display_hw_revisions() local [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_conf.c | 44 static char platbuf[MAXNAMELEN]; in mdb_conf_platform() local 46 if (sysinfo(SI_PLATFORM, platbuf, MAXNAMELEN) != -1) in mdb_conf_platform() 47 return (platbuf); in mdb_conf_platform()
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/montoya/common/ |
H A D | montoya.c | 275 char platbuf[MAXSTRLEN]; in sun4v_display_pci() local 299 if (sysinfo(SI_PLATFORM, platbuf, sizeof (platbuf)) == -1) { in sun4v_display_pci() 300 (void) strcpy(platbuf, MONTOYA_PLATFORM); in sun4v_display_pci() 440 char platbuf[MAXSTRLEN]; in sun4v_display_hw_revisions() local 467 if (sysinfo(SI_PLATFORM, platbuf, sizeof (platbuf)) == -1) { in sun4v_display_hw_revisions() 468 (void) strcpy(platbuf, MONTOYA_PLATFORM); in sun4v_display_hw_revisions()
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/monza/common/ |
H A D | monza.c | 312 char platbuf[MAXSTRLEN]; in sun4v_display_pci() local 336 if (sysinfo(SI_PLATFORM, platbuf, sizeof (platbuf)) == -1) { in sun4v_display_pci() 337 (void) strcpy(platbuf, MONZA_PLATFORM); in sun4v_display_pci() 487 char platbuf[MAXSTRLEN]; in sun4v_display_hw_revisions() local 514 if (sysinfo(SI_PLATFORM, platbuf, sizeof (platbuf)) == -1) { in sun4v_display_hw_revisions() 515 (void) strcpy(platbuf, MONZA_PLATFORM); in sun4v_display_hw_revisions()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/piclsbl/ |
H A D | piclsbl.c | 381 char platbuf[SYS_NMLN]; in piclsbl_init() local 384 if ((sysinfo(SI_PLATFORM, platbuf, SYS_NMLN) != -1) && in piclsbl_init() 385 ((strcmp(platbuf, ERIE_PLATFORM) == 0) || in piclsbl_init() 386 (strcmp(platbuf, ERIE_PLATFORM2) == 0))) in piclsbl_init()
|