Lines Matching defs:cpubuf
329 static char cpubuf[5 * OBP_MAXDRVNAME];
338 nlen > sizeof (cpubuf) ||
339 prom_getprop(node, OBP_NAME, cpubuf) <= 0)
357 if ((clen + nlen) > sizeof (cpubuf))
361 &cpubuf[nlen]) != clen)
367 if (cpubuf[i] == '\0')
368 cpubuf[i] = ':';
377 if (strcmp("SUNW,UltraSPARC", cpubuf) == 0)
378 (void) strcpy(cpubuf, "SUNW,UltraSPARC-II");
380 return (cpubuf);