Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dmemory-tiers.h24 struct memory_dev_type { struct
40 extern struct memory_dev_type *default_dram_type; argument
41 struct memory_dev_type *alloc_memory_type(int adistance);
42 void put_memory_type(struct memory_dev_type *memtype);
43 void init_node_memory_type(int node, struct memory_dev_type *default_type);
44 void clear_node_memory_type(int node, struct memory_dev_type *memtype);
51 struct memory_dev_type *mt_find_alloc_memory_type(int adist,
82 static inline struct memory_dev_type *alloc_memory_type(int adistance) in alloc_memory_type()
87 static inline void put_memory_type(struct memory_dev_type *memtype) in put_memory_type()
97 static inline void clear_node_memory_type(int node, struct memory_dev_type *memtype) in clear_node_memory_type()
[all …]
/linux/mm/
H A Dmemory-tiers.c33 struct memory_dev_type *memtype;
45 struct memory_dev_type *default_dram_type;
131 struct memory_dev_type *memtype; in get_memtier_nodemask()
515 struct memory_dev_type *memtype = default_dram_type; in set_node_memory_tier()
570 struct memory_dev_type *memtype; in clear_node_memory_tier()
588 struct memory_dev_type *memtype; in release_memtype()
594 struct memory_dev_type *alloc_memory_type(int adistance) in alloc_memory_type()
596 struct memory_dev_type *memtype; in alloc_memory_type()
610 void put_memory_type(struct memory_dev_type *memtype) in put_memory_type()
645 struct memory_dev_type *mtype; in mt_find_alloc_memory_type()
[all …]
/linux/drivers/dax/
H A Dkmem.c56 static struct memory_dev_type *kmem_find_alloc_memory_type(int adist) in kmem_find_alloc_memory_type()
73 struct memory_dev_type *mtype; in dev_dax_kmem_probe()