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