Searched refs:chunk3 (Results 1 – 1 of 1) sorted by relevance
612 uint32_t chunk1 = 0, chunk2 = s->n_chunks, chunk3; in search_chunk() local614 chunk3 = (chunk1 + chunk2) / 2; in search_chunk()615 if (s->sectors[chunk3] > sector_num) { in search_chunk()616 if (chunk3 == 0) { in search_chunk()619 chunk2 = chunk3 - 1; in search_chunk()620 } else if (s->sectors[chunk3] + s->sectorcounts[chunk3] > sector_num) { in search_chunk()621 return chunk3; in search_chunk()623 chunk1 = chunk3 + 1; in search_chunk()