Searched refs:blk_alloc_file (Results 1 – 1 of 1) sorted by relevance
39 FILE *blk_alloc_file = NULL, *base_fs_file = NULL; in main() local47 blk_alloc_file = fopen(argv[1], "r"); in main()48 if (blk_alloc_file == NULL) { in main()57 …if (fscanf(blk_alloc_file, "Base EXT4 version %" ___STRING(MAX_FILE_VERSION) "s", file_version) > … in main()60 rewind(blk_alloc_file); in main()61 while ((c = fgetc(blk_alloc_file)) != EOF) { in main()67 rewind(blk_alloc_file); in main()70 while(fscanf(blk_alloc_file, "%" ___STRING(MAX_PATH) "s ", filename) != EOF) { in main()73 if (getline(&spaced_allocs, &spaced_allocs_len, blk_alloc_file) == -1) { in main()84 fclose(blk_alloc_file); in main()