Lines Matching refs:BDRVVVFATState

300 typedef struct BDRVVVFATState {  struct
339 } BDRVVVFATState; argument
365 static void init_mbr(BDRVVVFATState *s, int cyls, int heads, int secs) in init_mbr()
402 static direntry_t *create_long_filename(BDRVVVFATState *s, const char *filename) in create_long_filename()
524 static direntry_t *create_short_filename(BDRVVVFATState *s, in create_short_filename()
643 static inline void fat_set(BDRVVVFATState* s,unsigned int cluster,uint32_t value) in fat_set()
667 static inline uint32_t fat_get(BDRVVVFATState* s,unsigned int cluster) in fat_get()
681 static inline int fat_eof(BDRVVVFATState* s,uint32_t fat_entry) in fat_eof()
688 static inline void init_fat(BDRVVVFATState* s) in init_fat()
710 static inline direntry_t* create_short_and_long_name(BDRVVVFATState* s, in create_short_and_long_name()
745 static int read_directory(BDRVVVFATState* s, int mapping_index) in read_directory()
886 static inline int32_t sector2cluster(BDRVVVFATState* s,off_t sector_num) in sector2cluster()
891 static inline off_t cluster2sector(BDRVVVFATState* s, uint32_t cluster_num) in cluster2sector()
896 static int init_directories(BDRVVVFATState* s, in init_directories()
1051 static BDRVVVFATState *vvv = NULL;
1055 static int coroutine_fn is_consistent(BDRVVVFATState *s);
1140 BDRVVVFATState *s = bs->opaque; in vvfat_open()
1304 static inline void vvfat_close_current_file(BDRVVVFATState *s) in vvfat_close_current_file()
1319 static inline int find_mapping_for_cluster_aux(BDRVVVFATState* s,int cluster_num,int index1,int ind… in find_mapping_for_cluster_aux()
1346 static inline mapping_t* find_mapping_for_cluster(BDRVVVFATState* s,int cluster_num) in find_mapping_for_cluster()
1359 static int open_file(BDRVVVFATState* s,mapping_t* mapping) in open_file()
1378 static inline int read_cluster(BDRVVVFATState *s,int cluster_num) in read_cluster()
1478 BDRVVVFATState *s = bs->opaque; in vvfat_read()
1543 BDRVVVFATState *s = bs->opaque; in vvfat_co_preadv()
1602 static void clear_commits(BDRVVVFATState* s) in clear_commits()
1618 static void schedule_rename(BDRVVVFATState* s, in schedule_rename()
1627 static void schedule_writeout(BDRVVVFATState* s, in schedule_writeout()
1637 static void schedule_new_file(BDRVVVFATState* s, in schedule_new_file()
1646 static void schedule_mkdir(BDRVVVFATState* s, uint32_t cluster, char* path) in schedule_mkdir()
1734 static int parse_short_name(BDRVVVFATState* s, in parse_short_name()
1780 static inline uint32_t modified_fat_get(BDRVVVFATState* s, in modified_fat_get()
1803 cluster_was_modified(BDRVVVFATState *s, uint32_t cluster_num) in cluster_was_modified()
1859 get_cluster_count_for_direntry(BDRVVVFATState* s, direntry_t* direntry, const char* path) in get_cluster_count_for_direntry()
2013 check_directory_consistency(BDRVVVFATState *s, int cluster_num, const char* path) in check_directory_consistency()
2140 is_consistent(BDRVVVFATState* s) in is_consistent()
2214 static inline void adjust_mapping_indices(BDRVVVFATState* s, in adjust_mapping_indices()
2233 static mapping_t* insert_mapping(BDRVVVFATState* s, in insert_mapping()
2274 static int remove_mapping(BDRVVVFATState* s, int mapping_index) in remove_mapping()
2297 static void adjust_dirindices(BDRVVVFATState* s, int offset, int adjust) in adjust_dirindices()
2310 static direntry_t* insert_direntries(BDRVVVFATState* s, in insert_direntries()
2324 static int remove_direntries(BDRVVVFATState* s, int dir_index, int count) in remove_direntries()
2339 static int commit_mappings(BDRVVVFATState* s, in commit_mappings()
2417 commit_direntries(BDRVVVFATState* s, int dir_index, int parent_mapping_index) in commit_direntries()
2508 commit_one_file(BDRVVVFATState* s, int dir_index, uint32_t offset) in commit_one_file()
2589 static void check1(BDRVVVFATState* s) in check1()
2609 static void check2(BDRVVVFATState* s) in check2()
2656 static int handle_renames_and_mkdirs(BDRVVVFATState* s) in handle_renames_and_mkdirs()
2774 static int coroutine_fn GRAPH_RDLOCK handle_commits(BDRVVVFATState* s) in handle_commits()
2851 static int handle_deletes(BDRVVVFATState* s) in handle_deletes()
2918 static int coroutine_fn GRAPH_RDLOCK do_commit(BDRVVVFATState* s) in do_commit()
2968 static int coroutine_fn GRAPH_RDLOCK try_commit(BDRVVVFATState* s) in try_commit()
2981 BDRVVVFATState *s = bs->opaque; in vvfat_write()
3114 BDRVVVFATState *s = bs->opaque; in vvfat_co_pwritev()
3160 BDRVVVFATState *s = bs->opaque; in enable_write_target()
3231 BDRVVVFATState *s = bs->opaque; in vvfat_close()
3257 .instance_size = sizeof(BDRVVVFATState),