Searched refs:sector2cluster (Results 1 – 1 of 1) sorted by relevance
/external/qemu/block/ |
D | vvfat.c | 817 static inline uint32_t sector2cluster(BDRVVVFATState* s,off_t sector_num) in sector2cluster() function 879 s->cluster_count=sector2cluster(s, s->sector_count); in init_directories() 1888 for (i = 0; i < sector2cluster(s, s->sector_count); i++) in is_consistent() 1909 for (i = check; i < sector2cluster(s, s->sector_count); i++) { in is_consistent() 2645 memset(s->used_clusters, 0, sector2cluster(s, s->sector_count)); in do_commit() 2679 for (i = sector2cluster(s, sector_num); in vvfat_write() 2680 i <= sector2cluster(s, sector_num + nb_sectors - 1);) { in vvfat_write() 2739 for (i = sector2cluster(s, sector_num); in vvfat_write() 2740 i <= sector2cluster(s, sector_num + nb_sectors - 1); i++) in vvfat_write() 2786 int size = sector2cluster(s, s->sector_count); in enable_write_target()
|