Searched refs:adistance (Results 1 – 2 of 2) sorted by relevance
167 int adistance = memtype->adistance; in find_create_memory_tier() local172 adistance = round_down(adistance, memtier_adistance_chunk_size); in find_create_memory_tier()179 if (adistance == memtier->adistance_start) in find_create_memory_tier()187 if (adistance == memtier->adistance_start) { in find_create_memory_tier()189 } else if (adistance < memtier->adistance_start) { in find_create_memory_tier()199 new_memtier->adistance_start = adistance; in find_create_memory_tier()207 new_memtier->dev.id = adistance >> MEMTIER_CHUNK_BITS; in find_create_memory_tier()548 struct memory_dev_type *alloc_memory_type(int adistance) in alloc_memory_type() argument556 memtype->adistance = adistance; in alloc_memory_type()
28 int adistance; member36 struct memory_dev_type *alloc_memory_type(int adistance);67 static inline struct memory_dev_type *alloc_memory_type(int adistance) in alloc_memory_type() argument