Searched refs:switch_index (Results 1 – 1 of 1) sorted by relevance
87 int switch_index = i; in sort() local89 if (layers[j] < layers[switch_index]) in sort()90 switch_index = j; in sort()92 if (switch_index != i) { in sort()97 layers[i] = layers[switch_index]; in sort()98 scheds[i] = scheds[switch_index]; in sort()99 small_chunks[i] = small_chunks[switch_index]; in sort()100 large_chunks[i] = large_chunks[switch_index]; in sort()101 layers[switch_index] = temp1; in sort()102 scheds[switch_index] = temp2; in sort()[all …]