Lines Matching full:distance

19 	 * start value of abstract distance. memory tier maps
20 * an abstract distance range,
419 int distance, best_distance; in establish_demotion_targets() local
450 * Find all the nodes in the memory tier node list of same best distance. in establish_demotion_targets()
459 distance = node_distance(node, target); in establish_demotion_targets()
460 if (distance == best_distance || best_distance == -1) { in establish_demotion_targets()
461 best_distance = distance; in establish_demotion_targets()
481 * abstract distance below the max value of this memtier in establish_demotion_targets()
757 * will be used as base to calculate the abstract distance of in mt_set_default_dram_perf()
777 " disable default DRAM node performance based abstract distance algorithm.\n"); in mt_set_default_dram_perf()
799 * The abstract distance of a memory node is in direct proportion to in mt_perf_to_adistance()
801 * memory bandwidth (read + write). The abstract distance, memory in mt_perf_to_adistance()
816 * register_mt_adistance_algorithm() - Register memory tiering abstract distance algorithm
821 * Every memory tiering abstract distance algorithm provider needs to
823 * calculate the abstract distance for a specified memory node, the
832 * returned abstract distance (that is, "int *adist"). If the
844 * unregister_mt_adistance_algorithm() - Unregister memory tiering abstract distance algorithm
856 * mt_calc_adistance() - Calculate abstract distance with registered algorithms
857 * @node: the node to calculate abstract distance for
858 * @adist: the returned abstract distance
861 * abstract distance algorithm provides the result, and return it via