Searched refs:new_distance (Results 1 – 2 of 2) sorted by relevance
729 sector_t new_distance, best_dist; in read_balance() local 824 new_distance = 0; in read_balance() 828 new_distance = r10_bio->devs[slot].addr; in read_balance() 830 new_distance = abs(r10_bio->devs[slot].addr - in read_balance() 833 if (new_distance < best_dist) { in read_balance() 834 best_dist = new_distance; in read_balance()
4798 ext4_fsblk_t cur_distance, new_distance; in ext4_mb_check_group_pa() local 4805 new_distance = abs(goal_block - pa->pa_pstart); in ext4_mb_check_group_pa() 4807 if (cur_distance <= new_distance) in ext4_mb_check_group_pa()