Lines Matching defs:fs

96 print_chain (PedFileSystem* fs, FatCluster start)
98 FatSpecific* fs_info = FAT_SPECIFIC (fs);
131 flag_traverse_fat (PedFileSystem* fs, const char* chain_name, FatCluster start,
134 FatSpecific* fs_info = FAT_SPECIFIC (fs);
220 PedFileSystem* fs = trav_info->fs;
236 if (!fat_dir_entry_has_first_cluster (this_entry, fs))
242 first_cluster = fat_dir_entry_get_first_cluster(this_entry, fs);
248 print_chain (fs, first_cluster);
275 if (!flag_traverse_fat (fs, file_name, first_cluster,
286 if (!flag_traverse_fat (fs, file_name, first_cluster,
297 _mark_bad_clusters (PedFileSystem* fs)
299 FatSpecific* fs_info = FAT_SPECIFIC (fs);
315 fat_collect_cluster_info (PedFileSystem* fs) {
316 FatSpecific* fs_info = FAT_SPECIFIC (fs);
324 trav_info = fat_traverse_begin (fs, fs_info->root_cluster,
328 if (!flag_traverse_fat (fs, "\\", fs_info->root_cluster,
332 trav_info = fat_traverse_begin (fs, FAT_ROOT, "\\");
337 _mark_bad_clusters (fs);
342 fat_get_cluster_flag (PedFileSystem* fs, FatCluster cluster)
344 FatSpecific* fs_info = FAT_SPECIFIC (fs);
350 fat_get_cluster_usage (PedFileSystem* fs, FatCluster cluster)
352 FatSpecific* fs_info = FAT_SPECIFIC (fs);
366 fat_get_fragment_flag (PedFileSystem* fs, FatFragment frag)
368 FatSpecific* fs_info = FAT_SPECIFIC (fs);
369 FatCluster cluster = fat_frag_to_cluster (fs, frag);
377 flag = fat_get_cluster_flag (fs, cluster);
380 last_frag_used = (fat_get_cluster_usage (fs, cluster) - 1)
389 fat_is_fragment_active (PedFileSystem* fs, FatFragment frag)
391 switch (fat_get_fragment_flag (fs, frag)) {