Lines Matching defs:path
19 #include "path.h"
344 * Parses kernel module specified in @path and updates
347 * @comp - true if @path contains supported compression suffix,
349 * @kmod - true if @path contains '.ko' suffix in right position,
353 * base name of @path
359 int __kmod_path__parse(struct kmod_path *m, const char *path,
362 const char *name = strrchr(path, '/');
363 const char *ext = strrchr(path, '.');
367 name = name ? name + 1 : path;
1355 char path[PATH_MAX];
1359 sprintf(path, "%s/sys/kernel/notes", machine->root_dir);
1360 if (sysfs__read_build_id(path, &dso->bid) == 0)