Lines Matching refs:path
22 #include "path.h"
387 * Parses kernel module specified in @path and updates
390 * @comp - true if @path contains supported compression suffix,
392 * @kmod - true if @path contains '.ko' suffix in right position,
396 * base name of @path
402 int __kmod_path__parse(struct kmod_path *m, const char *path,
405 const char *name = strrchr(path, '/');
406 const char *ext = strrchr(path, '.');
410 name = name ? name + 1 : path;
1428 char path[PATH_MAX];
1432 sprintf(path, "%s/sys/kernel/notes", machine->root_dir);
1433 if (sysfs__read_build_id(path, &dso->bid) == 0)