Searched refs:filename_cache_fp (Results 1 – 2 of 2) sorted by relevance
37 static FILE *filename_cache_fp; in main() local52 filename_cache_fp = fopen("ioshark_filenames", "r"); in main()53 if (filename_cache_fp == NULL) { in main()70 filename_cache_fp) != (size_t)filename_cache_num_entries) { in main()79 fclose(filename_cache_fp); in main()
116 static FILE *filename_cache_fp; in init_filename_cache() local134 filename_cache_fp = fopen("ioshark_filenames", "r"); in init_filename_cache()135 if (filename_cache_fp == NULL) { in init_filename_cache()153 filename_cache_fp) != (size_t)filename_cache_num_entries) { in init_filename_cache()159 fclose(filename_cache_fp); in init_filename_cache()197 static FILE *filename_cache_fp; in store_filename_cache() local199 filename_cache_fp = fopen("ioshark_filenames", "w+"); in store_filename_cache()200 if (filename_cache_fp == NULL) { in store_filename_cache()208 filename_cache_fp) != (size_t)filename_cache_num_entries) { in store_filename_cache()213 fclose(filename_cache_fp); in store_filename_cache()