Lines Matching refs:namebuf
464 char namebuf[PATH_MAX];
471 (void) strlcpy(namebuf, "/devices", PATH_MAX);
476 len = strlen(namebuf);
478 namebuf + len, sizeof (namebuf) - len) != PICL_SUCCESS) {
484 ptr = strrchr(namebuf, '/');
489 dirp = opendir(namebuf);
508 sizeof (namebuf) - (ptr - namebuf));
509 if (stat(namebuf, &statbuf) < 0)
517 return (strdup(namebuf));