Searched refs:current_distance (Results 1 – 2 of 2) sorted by relevance
421 sector_t new_distance, current_distance; in read_balance() local489 current_distance = abs(this_sector - conf->mirrors[disk].head_position); in read_balance()510 if (new_distance < current_distance) { in read_balance()511 current_distance = new_distance; in read_balance()
497 sector_t new_distance, current_distance; in read_balance() local544 current_distance = abs(r10_bio->devs[slot].addr - in read_balance()575 if (new_distance < current_distance) { in read_balance()576 current_distance = new_distance; in read_balance()