Lines Matching defs:path
48 char *d_path; /* path of modules directory */
93 * load -t <type> <path>
97 * load <path> <options>
411 /* locate the file on the load path */
493 /* locate file with the module on the search path */
504 * Load specified KLD. If path is omitted, then try to locate it via
505 * search path.
659 * Check if the given file is in place and return full path to it.
662 file_lookup(const char *path, const char *name, int namelen, char **extlist)
668 pathlen = strlen(path);
680 bcopy(path, result, pathlen);
711 * to construct a path using entries in the environment variable
714 * The path we return a pointer to need never be freed, as we manage
957 char *path;
962 path = moduledir_fullpath(mdp, "linker.hints");
963 if (stat(path, &st) != 0 ||
965 st.st_size > LINKER_HINTS_MAX || (fd = open(path, O_RDONLY)) < 0) {
966 free(path);
970 free(path);
1000 const char *path, *cp, *ep;
1003 path = getenv("module_path");
1004 if (path == NULL)
1005 path = default_searchpath;
1012 for (ep = path; *ep != 0; ep++) {