Lines Matching refs:path
87 static const char *linker_basename(const char *path);
1906 * - preloaded (result is just the module name) - on disk (result is full path
1909 * If the module name is qualified in any way (contains path, etc.) the we
1912 * The search path can be manipulated via sysctl. Note that we use the ';'
1920 sizeof(linker_path), "module load search path");
1936 linker_lookup_file(const char *path, int pathlen, const char *name,
1953 sep = (path[pathlen - 1] != '/') ? "/" : "";
1958 snprintf(result, reclen, "%.*s%s%.*s%s", pathlen, path, sep,
1961 * Attempt to open the file, and return the path if
1991 linker_hints_lookup(const char *path, int pathlen, const char *modname,
2007 sep = (path[pathlen - 1] != '/') ? "/" : "";
2011 snprintf(pathbuf, reclen, "%.*s%s%s", pathlen, path, sep,
2091 result = linker_lookup_file(path, pathlen, cp, clen, &mattr);
2093 result = linker_lookup_file(path, pathlen, best, blen, &mattr);
2114 result = linker_lookup_file(path, pathlen, modname,
2129 * traverse the linker path
2157 /* traverse the linker path */
2171 linker_basename(const char *path)
2175 filename = strrchr(path, '/');
2177 return path;
2281 * the same basename but different path because they can