Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dmemory-tiers.h23 struct memory_dev_type { struct
35 struct memory_dev_type *alloc_memory_type(int adistance); argument
36 void put_memory_type(struct memory_dev_type *memtype);
37 void init_node_memory_type(int node, struct memory_dev_type *default_type);
38 void clear_node_memory_type(int node, struct memory_dev_type *memtype);
66 static inline struct memory_dev_type *alloc_memory_type(int adistance) in alloc_memory_type()
71 static inline void put_memory_type(struct memory_dev_type *memtype) in put_memory_type()
76 static inline void init_node_memory_type(int node, struct memory_dev_type *default_type) in init_node_memory_type()
81 static inline void clear_node_memory_type(int node, struct memory_dev_type *memtype) in clear_node_memory_type()
/openbmc/linux/mm/
H A Dmemory-tiers.c32 struct memory_dev_type *memtype;
39 static struct memory_dev_type *default_dram_type;
116 struct memory_dev_type *memtype; in get_memtier_nodemask()
478 struct memory_dev_type *memtype; in set_node_memory_tier()
523 struct memory_dev_type *memtype; in clear_node_memory_tier()
541 struct memory_dev_type *memtype; in release_memtype()
543 memtype = container_of(kref, struct memory_dev_type, kref); in release_memtype()
547 struct memory_dev_type *alloc_memory_type(int adistance) in alloc_memory_type()
549 struct memory_dev_type *memtype; in alloc_memory_type()
563 void put_memory_type(struct memory_dev_type *memtype) in put_memory_type()
[all …]
/openbmc/linux/drivers/dax/
H A Dkmem.c52 static struct memory_dev_type *dax_slowmem_type;