Lines Matching refs:min_index
4531 int min_index;
4556 for (min_index = -1, cl_index1 = 0; cl_index1 < wbp->cl_number; cl_index1++) {
4559 if (min_index == -1)
4560 min_index = cl_index1;
4561 else if (wbp->cl_clusters[cl_index1].b_addr < wbp->cl_clusters[min_index].b_addr)
4562 min_index = cl_index1;
4564 if (min_index == -1)
4566 l_clusters[cl_index].b_addr = wbp->cl_clusters[min_index].b_addr;
4567 l_clusters[cl_index].e_addr = wbp->cl_clusters[min_index].e_addr;
4568 l_clusters[cl_index].io_flags = wbp->cl_clusters[min_index].io_flags;
4570 wbp->cl_clusters[min_index].b_addr = wbp->cl_clusters[min_index].e_addr;