Home
last modified time | relevance | path

Searched refs:cluster_num (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/block/
H A Dvvfat.c890 static inline off_t cluster2sector(BDRVVVFATState* s, uint32_t cluster_num) in cluster2sector() argument
892 return s->offset_to_root_dir + s->sectors_per_cluster * cluster_num; in cluster2sector()
1316 * return value is the index of the last mapping for which end>cluster_num
1318 static inline int find_mapping_for_cluster_aux(BDRVVVFATState* s,int cluster_num,int index1,int index2) in find_mapping_for_cluster_aux() argument
1326 if(mapping->begin>=cluster_num) { in find_mapping_for_cluster_aux()
1333 return mapping->end<=cluster_num ? index2 : index1; in find_mapping_for_cluster_aux()
1338 assert(mapping->begin<=cluster_num); in find_mapping_for_cluster_aux()
1341 mapping->end>cluster_num))); in find_mapping_for_cluster_aux()
1345 static inline mapping_t* find_mapping_for_cluster(BDRVVVFATState* s,int cluster_num) in find_mapping_for_cluster() argument
1347 int index=find_mapping_for_cluster_aux(s,cluster_num, in find_mapping_for_cluster()
1377 read_cluster(BDRVVVFATState * s,int cluster_num) read_cluster() argument
1525 cluster_num=sector/s->sectors_per_cluster; vvfat_read() local
1802 cluster_was_modified(BDRVVVFATState * s,uint32_t cluster_num) cluster_was_modified() argument
1881 uint32_t cluster_num = begin_of_direntry(direntry); get_cluster_count_for_direntry() local
2012 check_directory_consistency(BDRVVVFATState * s,int cluster_num,const char * path) check_directory_consistency() argument
[all...]