Lines Matching defs:index2
1096 /* mappings between index1 and index2-1 are supposed to be ordered
1099 static inline int find_mapping_for_cluster_aux(BDRVVVFATState* s,int cluster_num,int index1,int index2)
1104 index3=(index1+index2)/2;
1108 assert(index2!=index3 || index2==0);
1109 if(index2==index3)
1111 index2=index3;
1114 return mapping->end<=cluster_num ? index2 : index1;
1117 assert(index1<=index2);
1120 assert(index2 >= s->mapping.next ||
1121 ((mapping = array_get(&(s->mapping),index2)) &&