Searched refs:adist (Results 1 – 3 of 3) sorted by relevance
536 int adist = MEMTIER_ADISTANCE_DRAM; in set_node_memory_tier() local545 mt_calc_adistance(node, &adist); in set_node_memory_tier()547 memtype = mt_find_alloc_memory_type(adist, &default_memory_types); in set_node_memory_tier()663 struct memory_dev_type *mt_find_alloc_memory_type(int adist, struct list_head *memory_types) in mt_find_alloc_memory_type() argument668 if (mtype->adistance == adist) in mt_find_alloc_memory_type()671 mtype = alloc_memory_type(adist); in mt_find_alloc_memory_type()785 int mt_perf_to_adistance(struct access_coordinate *perf, int *adist) in mt_perf_to_adistance() argument805 *adist = MEMTIER_ADISTANCE_DRAM * in mt_perf_to_adistance()865 int mt_calc_adistance(int node, int *adist) in mt_calc_adistance() argument867 return blocking_notifier_call_chain(&mt_adistance_algorithms, node, adist); in mt_calc_adistance()
978 int *adist = data; in hmat_calculate_adistance() local992 if (mt_perf_to_adistance(perf, adist)) in hmat_calculate_adistance()
2554 int *adist = data; in cxl_region_calculate_adistance() local2567 if (mt_perf_to_adistance(perf, adist)) in cxl_region_calculate_adistance()