Searched refs:adistance (Results 1 – 2 of 2) sorted by relevance
202 int adistance = memtype->adistance; in find_create_memory_tier() local207 adistance = round_down(adistance, memtier_adistance_chunk_size); in find_create_memory_tier()214 if (adistance == memtier->adistance_start) in find_create_memory_tier()222 if (adistance == memtier->adistance_start) { in find_create_memory_tier()224 } else if (adistance < memtier->adistance_start) { in find_create_memory_tier()234 new_memtier->adistance_start = adistance; in find_create_memory_tier()242 new_memtier->dev.id = adistance >> MEMTIER_CHUNK_BITS; in find_create_memory_tier()614 struct memory_dev_type *alloc_memory_type(int adistance) in alloc_memory_type() argument622 memtype->adistance = adistance; in alloc_memory_type()668 if (mtype->adistance == adist) in mt_find_alloc_memory_type()
30 int adistance; member42 struct memory_dev_type *alloc_memory_type(int adistance);84 static inline struct memory_dev_type *alloc_memory_type(int adistance) in alloc_memory_type() argument