Lines Matching refs:distance
18 * start value of abstract distance. memory tier maps
19 * an abstract distance range,
392 int distance, best_distance;
423 * Find all the nodes in the memory tier node list of same best distance.
432 distance = node_distance(node, target);
433 if (distance == best_distance || best_distance == -1) {
434 best_distance = distance;
454 * abstract distance below the max value of this memtier
661 * will be used as base to calculate the abstract distance of
681 " disable default DRAM node performance based abstract distance algorithm.\n");
705 * The abstract distance of a memory node is in direct proportion to
707 * memory bandwidth (read + write). The abstract distance, memory
723 * register_mt_adistance_algorithm() - Register memory tiering abstract distance algorithm
728 * Every memory tiering abstract distance algorithm provider needs to
730 * calculate the abstract distance for a specified memory node, the
739 * returned abstract distance (that is, "int *adist"). If the
751 * unregister_mt_adistance_algorithm() - Unregister memory tiering abstract distance algorithm
763 * mt_calc_adistance() - Calculate abstract distance with registered algorithms
764 * @node: the node to calculate abstract distance for
765 * @adist: the returned abstract distance
768 * abstract distance algorithm provides the result, and return it via