Lines Matching refs:d_path
48 char *d_path; /* path of modules directory */ member
727 result = file_lookup(mdp->d_path, name, namelen, extlist); in file_search()
792 result = file_lookup(mdp->d_path, cp, clen, NULL); in mod_search_hints()
794 result = file_lookup(mdp->d_path, best, blen, NULL); in mod_search_hints()
801 result = file_lookup(mdp->d_path, modname, modnamelen, kld_ext_list); in mod_search_hints()
926 cp = malloc(strlen(mdp->d_path) + strlen(fname) + 2); in moduledir_fullpath()
929 strcpy(cp, mdp->d_path); in moduledir_fullpath()
1007 if (strlen(mdp->d_path) != cplen || bcmp(cp, mdp->d_path, cplen) != 0) in moduledir_rebuild()
1016 mdp->d_path = (char*)(mdp + 1); in moduledir_rebuild()
1017 bcopy(cp, mdp->d_path, cplen); in moduledir_rebuild()
1018 mdp->d_path[cplen] = 0; in moduledir_rebuild()