Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/base/
Dmemory.c33 #define to_memory_block(dev) container_of(dev, struct memory_block, dev) macro
92 struct memory_block *mem = to_memory_block(dev); in memory_block_release()
109 struct memory_block *mem = to_memory_block(dev); in phys_index_show()
125 struct memory_block *mem = to_memory_block(dev); in removable_show()
149 struct memory_block *mem = to_memory_block(dev); in state_show()
280 struct memory_block *mem = to_memory_block(dev); in memory_subsys_online()
304 struct memory_block *mem = to_memory_block(dev); in memory_subsys_offline()
319 struct memory_block *mem = to_memory_block(dev); in state_store()
377 struct memory_block *mem = to_memory_block(dev); in phys_device_show()
398 struct memory_block *mem = to_memory_block(dev); in valid_zones_show()
[all …]