Lines Matching defs:distance
466 * Find the distance through the nearest common upstream bridge between
485 * The distance is 4 because we traverse from Device A through the downstream
560 * pci_p2pdma_distance_many - Determine the cumulative distance between
582 int distance;
608 pci_client, &distance);
611 &distance, NULL, NULL);
621 total_dist += distance;
643 * the specified list of clients and shortest distance (as determined
652 * distance away, one will be chosen at random.
661 int distance;
676 distance = pci_p2pdma_distance_many(pdev, clients,
678 if (distance < 0 || distance > closest_distance)
681 if (distance == closest_distance && dev_cnt >= max_devs)
684 if (distance < closest_distance) {
689 closest_distance = distance;