Lines Matching refs:d_path
57 char *d_path; /* path of modules directory */ member
1025 result = file_lookup(mdp->d_path, name, namelen, extlist); in file_search()
1092 result = file_lookup(mdp->d_path, (char *)cp, clen, NULL); in mod_search_hints()
1094 result = file_lookup(mdp->d_path, (char *)best, blen, NULL); in mod_search_hints()
1101 result = file_lookup(mdp->d_path, modname, modnamelen, in mod_search_hints()
1254 cp = malloc(strlen(mdp->d_path) + strlen(fname) + 2); in moduledir_fullpath()
1257 strcpy(cp, mdp->d_path); in moduledir_fullpath()
1334 if (strlen(mdp->d_path) != cplen || in moduledir_rebuild()
1335 bcmp(cp, mdp->d_path, cplen) != 0) in moduledir_rebuild()
1344 mdp->d_path = (char *)(mdp + 1); in moduledir_rebuild()
1345 bcopy(cp, mdp->d_path, cplen); in moduledir_rebuild()
1346 mdp->d_path[cplen] = 0; in moduledir_rebuild()