Lines Matching refs:devpath
582 char devpath[PATH_MAX];
585 (void) strcpy(devpath, "/devices");
588 (void) getsocpath(devpath, (int *)&devcnt);
838 getsocpath(char *devpath, int *devcnt)
845 if (lstat(devpath, &statbuf) < 0) {
847 MSGSTR(4539, "Error: %s lstat() error\n"), devpath);
859 if (strstr(devpath, ONBOARD_SOCAL))
862 if (strstr(devpath, SOCAL_STR)) {
864 if ((loadsocpath(devpath, devcnt)) < 0) {
867 devpath);
883 ptr = devpath + strlen(devpath);
888 if (strcmp(devpath, "/devices/pseudo/") == 0)
891 if ((dp = opendir(devpath)) == NULL) {
893 MSGSTR(4541, "Error: %s Can't read directory\n"), devpath);
904 getsocpath(devpath, devcnt);
909 MSGSTR(4542, "Error: %s Can't close directory\n"), devpath);