Lines Matching defs:path
147 doobj(const char *path, caddr_t addr, FILE *out)
160 "/usr/bin/objdump --section-headers %s", path);
179 fprintf(out, "add-symbol-file %s 0x%jx", path, textaddr);
203 err(2, "can't begin traversing module path");
209 err(2, "error while traversing path %s", ftsent->fts_path);
238 err(2, "couldn't complete traversing module path");
249 "%*s [modules-path [outfile]]\n\n"
251 "\t-f\tfind the module in any subdirectory of modules-path\n"
257 "\t-s\tdon't prepend subdir for module path\n"
280 char path[PATH_MAX];
285 const char *modules_path = "modules"; /* path to kernel build directory */
389 errx(2, "only %d module path elements can be specified", MAXPATHS);
404 snprintf(path, sizeof(path),
410 if (stat(path, &st) == 0) {
411 doobj(path, kfp->addr, out);
418 warnx("module %s not found in search path", kfp->name);