Lines Matching refs:d_path
52 char *d_path; /* path of modules directory */ member
1148 result = file_lookup(mdp->d_path, name, namelen, extlist); in file_search()
1213 result = file_lookup(mdp->d_path, (const char *)cp, clen, NULL); in mod_search_hints()
1215 result = file_lookup(mdp->d_path, (const char *)best, blen, NULL); in mod_search_hints()
1222 result = file_lookup(mdp->d_path, modname, modnamelen, kld_ext_list); in mod_search_hints()
1683 cp = malloc(strlen(mdp->d_path) + strlen(fname) + 2); in moduledir_fullpath()
1686 strcpy(cp, mdp->d_path); in moduledir_fullpath()
1762 if (strlen(mdp->d_path) != cplen || bcmp(cp, mdp->d_path, cplen) != 0) in moduledir_rebuild()
1771 mdp->d_path = (char*)(mdp + 1); in moduledir_rebuild()
1772 bcopy(cp, mdp->d_path, cplen); in moduledir_rebuild()
1773 mdp->d_path[cplen] = 0; in moduledir_rebuild()