Lines Matching refs:pathname
53 find_file(char *pathname, struct stat *statbuf, int *isvalid) in find_file() argument
71 if (strcmp(pathname, last_pathname) == 0 && file[0]) { in find_file()
74 if (strcmp(pathname, file) == 0) in find_file()
79 if (strlen(pathname) > sizeof(file) + 3) { in find_file()
80 error("%s: Name to large for buffer.", pathname); in find_file()
87 (void) strlcpy(last_pathname, pathname, sizeof(last_pathname)); in find_file()
89 if (*pathname == '/') in find_file()
90 (void) strlcpy(file, pathname, sizeof(file)); in find_file()
98 (void) strlcat(file, pathname, sizeof(file)); in find_file()
123 pathname); in find_file()
128 error("%s: lstat failed: %s", pathname, SYSERR); in find_file()
158 if (strcmp(pathname, file) == 0) in find_file()
284 getmntpt(char *pathname, struct stat *statbuf, int *isvalid) in getmntpt() argument
300 if (!find_file(pathname, pstat, isvalid)) in getmntpt()
325 error("%s: Could not find mount point", pathname); in getmntpt()