Home
last modified time | relevance | path

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

/Linux-v6.1/mm/
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()
548 struct memory_dev_type *alloc_memory_type(int adistance) in alloc_memory_type() argument
556 memtype->adistance = adistance; in alloc_memory_type()
/Linux-v6.1/include/linux/
Dmemory-tiers.h28 int adistance; member
36 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