Home
last modified time | relevance | path

Searched refs:adistance (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/mm/
H A Dmemory-tiers.c167 int adistance = memtype->adistance; in find_create_memory_tier() local
172 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()
547 struct memory_dev_type *alloc_memory_type(int adistance) in alloc_memory_type() argument
555 memtype->adistance = adistance; in alloc_memory_type()
/openbmc/linux/include/linux/
H A Dmemory-tiers.h27 int adistance; member
35 struct memory_dev_type *alloc_memory_type(int adistance);
66 static inline struct memory_dev_type *alloc_memory_type(int adistance) in alloc_memory_type() argument