Home
last modified time | relevance | path

Searched refs:adist (Results 1 – 3 of 3) sorted by relevance

/linux/mm/
H A Dmemory-tiers.c536 int adist = MEMTIER_ADISTANCE_DRAM; in set_node_memory_tier() local
545 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() argument
668 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() argument
805 *adist = MEMTIER_ADISTANCE_DRAM * in mt_perf_to_adistance()
865 int mt_calc_adistance(int node, int *adist) in mt_calc_adistance() argument
867 return blocking_notifier_call_chain(&mt_adistance_algorithms, node, adist); in mt_calc_adistance()
/linux/drivers/acpi/numa/
H A Dhmat.c978 int *adist = data; in hmat_calculate_adistance() local
992 if (mt_perf_to_adistance(perf, adist)) in hmat_calculate_adistance()
/linux/drivers/cxl/core/
H A Dregion.c2554 int *adist = data; in cxl_region_calculate_adistance() local
2567 if (mt_perf_to_adistance(perf, adist)) in cxl_region_calculate_adistance()