Lines Matching refs:d_path
51 char *d_path; /* path of modules directory */ member
1150 result = file_lookup(mdp->d_path, name, namelen, extlist); in file_search()
1215 result = file_lookup(mdp->d_path, (const char *)cp, clen, NULL); in mod_search_hints()
1217 result = file_lookup(mdp->d_path, (const char *)best, blen, NULL); in mod_search_hints()
1224 result = file_lookup(mdp->d_path, modname, modnamelen, kld_ext_list); in mod_search_hints()
1685 cp = malloc(strlen(mdp->d_path) + strlen(fname) + 2); in moduledir_fullpath()
1688 strcpy(cp, mdp->d_path); in moduledir_fullpath()
1764 if (strlen(mdp->d_path) != cplen || bcmp(cp, mdp->d_path, cplen) != 0) in moduledir_rebuild()
1773 mdp->d_path = (char*)(mdp + 1); in moduledir_rebuild()
1774 bcopy(cp, mdp->d_path, cplen); in moduledir_rebuild()
1775 mdp->d_path[cplen] = 0; in moduledir_rebuild()