Lines Matching refs:path
48 char *d_path; /* path of modules directory */
93 * load -t <type> <path>
97 * load <path> <options>
420 /* locate the file on the load path */
501 /* locate file with the module on the search path */
513 * Load specified KLD. If path is omitted, then try to locate it via
514 * search path.
672 * Check if the given file is in place and return full path to it.
675 file_lookup(const char *path, const char *name, int namelen, const char **extlist)
682 pathlen = strlen(path);
694 bcopy(path, result, pathlen);
725 * to construct a path using entries in the environment variable
728 * The path we return a pointer to need never be freed, as we manage
971 char *path;
976 path = moduledir_fullpath(mdp, "linker.hints");
977 if (stat(path, &st) != 0 ||
979 st.st_size > LINKER_HINTS_MAX || (fd = open(path, O_RDONLY)) < 0) {
980 free(path);
984 free(path);
1014 const char *path, *cp, *ep;
1017 path = getenv("module_path");
1018 if (path == NULL)
1019 path = default_searchpath;
1026 for (ep = path; *ep != 0; ep++) {