Searched refs:platbuf (Results 1 – 5 of 5) sorted by relevance
/titanic_44/usr/src/lib/libprtdiag_psr/sparc/ontario/common/ |
H A D | ontario.c | 306 char platbuf[MAXSTRLEN]; in sun4v_display_pci() local 330 if (sysinfo(SI_PLATFORM, platbuf, sizeof (platbuf)) == -1) { in sun4v_display_pci() 331 (void) strcpy(platbuf, ONTARIO_PLATFORM); in sun4v_display_pci() 337 if ((strncmp(platbuf, ONTARIO_PLATFORM, in sun4v_display_pci() 339 (strncmp(platbuf, ONTARIO_PLATFORM2, in sun4v_display_pci() 345 } else if ((strncmp(platbuf, PELTON_PLATFORM, in sun4v_display_pci() 351 } else if ((strncmp(platbuf, STPAUL_PLATFORM, in sun4v_display_pci() 355 } else if ((strncmp(platbuf, HURON_1U_PLATFORM, in sun4v_display_pci() 356 strlen(HURON_1U_PLATFORM)) == 0) || (strncmp(platbuf, in sun4v_display_pci() 512 char platbuf[MAXSTRLEN]; in sun4v_display_hw_revisions() local [all …]
|
/titanic_44/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_conf.c | 46 static char platbuf[MAXNAMELEN]; in mdb_conf_platform() local 48 if (sysinfo(SI_PLATFORM, platbuf, MAXNAMELEN) != -1) in mdb_conf_platform() 49 return (platbuf); in mdb_conf_platform()
|
/titanic_44/usr/src/lib/libprtdiag_psr/sparc/montoya/common/ |
H A D | montoya.c | 277 char platbuf[MAXSTRLEN]; in sun4v_display_pci() local 301 if (sysinfo(SI_PLATFORM, platbuf, sizeof (platbuf)) == -1) { in sun4v_display_pci() 302 (void) strcpy(platbuf, MONTOYA_PLATFORM); in sun4v_display_pci() 442 char platbuf[MAXSTRLEN]; in sun4v_display_hw_revisions() local 469 if (sysinfo(SI_PLATFORM, platbuf, sizeof (platbuf)) == -1) { in sun4v_display_hw_revisions() 470 (void) strcpy(platbuf, MONTOYA_PLATFORM); in sun4v_display_hw_revisions()
|
/titanic_44/usr/src/lib/libprtdiag_psr/sparc/monza/common/ |
H A D | monza.c | 314 char platbuf[MAXSTRLEN]; in sun4v_display_pci() local 338 if (sysinfo(SI_PLATFORM, platbuf, sizeof (platbuf)) == -1) { in sun4v_display_pci() 339 (void) strcpy(platbuf, MONZA_PLATFORM); in sun4v_display_pci() 489 char platbuf[MAXSTRLEN]; in sun4v_display_hw_revisions() local 516 if (sysinfo(SI_PLATFORM, platbuf, sizeof (platbuf)) == -1) { in sun4v_display_hw_revisions() 517 (void) strcpy(platbuf, MONZA_PLATFORM); in sun4v_display_hw_revisions()
|
/titanic_44/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()
|