Lines Matching defs:fpath
784 static int process_mapfile(FILE *outfp, char *fpath)
794 pr_info("%s: Processing mapfile %s\n", prog, fpath);
800 mapfp = fopen(fpath, "r");
803 fpath);
830 prog, fpath, line_num);
909 static int is_leaf_dir(const char *fpath)
915 d = opendir(fpath);
930 sprintf(path, "%s/%s", fpath, dir->d_name);
960 static int preprocess_arch_std_files(const char *fpath, const struct stat *sb,
966 if (level == 1 && is_file && is_json_file(fpath))
967 return json_events(fpath, save_arch_std_events, (void *)sb);
972 static int process_one_file(const char *fpath, const struct stat *sb,
987 bname = (char *) fpath + ftwbuf->base - 2;
995 bname = (char *) fpath + ftwbuf->base;
999 level, sb->st_size, bname, fpath);
1007 if ((level == 1 && is_dir && is_leaf_dir(fpath)) ||
1036 mapfile = strdup(fpath);
1040 pr_info("%s: Ignoring file %s\n", prog, fpath);
1051 fpath);
1077 err = json_events(fpath, print_events_table_entry, &data);