Searched refs:memory_block (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/drivers/base/ |
D | memory.c | 33 #define to_memory_block(dev) container_of(dev, struct memory_block, dev) 82 struct memory_block *mem = to_memory_block(dev); in memory_block_release() 115 struct memory_block *mem = to_memory_block(dev); in show_mem_start_phys_index() 130 struct memory_block *mem = to_memory_block(dev); in show_mem_removable() 152 struct memory_block *mem = to_memory_block(dev); in show_mem_state() 261 static int memory_block_change_state(struct memory_block *mem, in memory_block_change_state() 283 struct memory_block *mem = to_memory_block(dev); in memory_subsys_online() 308 struct memory_block *mem = to_memory_block(dev); in memory_subsys_offline() 324 struct memory_block *mem = to_memory_block(dev); in store_mem_state() 391 struct memory_block *mem = to_memory_block(dev); in show_phys_device() [all …]
|
D | node.c | 402 int register_mem_sect_under_node(struct memory_block *mem_blk, void *arg) in register_mem_sect_under_node() 452 int unregister_mem_sect_under_nodes(struct memory_block *mem_blk, in unregister_mem_sect_under_nodes()
|
/Linux-v4.19/include/linux/ |
D | node.h | 30 struct memory_block; 73 extern int register_mem_sect_under_node(struct memory_block *mem_blk, 75 extern int unregister_mem_sect_under_nodes(struct memory_block *mem_blk, 103 static inline int register_mem_sect_under_node(struct memory_block *mem_blk, in register_mem_sect_under_node() 108 static inline int unregister_mem_sect_under_nodes(struct memory_block *mem_blk, in unregister_mem_sect_under_nodes()
|
D | memory.h | 26 struct memory_block { struct 34 int (*phys_callback)(struct memory_block *); argument 121 extern struct memory_block *find_memory_block_hinted(struct mem_section *, 122 struct memory_block *); 123 extern struct memory_block *find_memory_block(struct mem_section *);
|
D | memory_hotplug.h | 14 struct memory_block; 324 void *arg, int (*func)(struct memory_block *, void *)); 332 extern bool is_memblock_offlined(struct memory_block *mem);
|
/Linux-v4.19/arch/powerpc/platforms/powernv/ |
D | memtrace.c | 56 static int check_memblock_online(struct memory_block *mem, void *arg) in check_memblock_online() 64 static int change_memblock_state(struct memory_block *mem, void *arg) in change_memblock_state() 195 static int online_mem_block(struct memory_block *mem, void *arg) in online_mem_block()
|
/Linux-v4.19/drivers/acpi/ |
D | acpi_memhotplug.c | 178 static int acpi_bind_memblk(struct memory_block *mem, void *arg) in acpi_bind_memblk() 191 static int acpi_unbind_memblk(struct memory_block *mem, void *arg) in acpi_unbind_memblk()
|
/Linux-v4.19/mm/ |
D | memory_hotplug.c | 894 struct memory_block *mem; in online_pages() 1109 static int online_memory_block(struct memory_block *mem, void *arg) in online_memory_block() 1725 void *arg, int (*func)(struct memory_block *, void *)) in walk_memory_range() argument 1727 struct memory_block *mem = NULL; in walk_memory_range() 1762 static int check_memblock_offlined_cb(struct memory_block *mem, void *arg) in check_memblock_offlined_cb()
|
/Linux-v4.19/arch/powerpc/platforms/pseries/ |
D | hotplug-memory.c | 245 static struct memory_block *lmb_to_memblock(struct drmem_lmb *lmb) in lmb_to_memblock() 249 struct memory_block *mem_block; in lmb_to_memblock() 289 struct memory_block *mem_block; in dlpar_change_lmb_state()
|
/Linux-v4.19/drivers/isdn/hardware/eicon/ |
D | dsp_defs.h | 140 word memory_block; member
|