Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/base/
Dmemory.c33 #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 …]
Dnode.c402 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/
Dnode.h30 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()
Dmemory.h26 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 *);
Dmemory_hotplug.h14 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/
Dmemtrace.c56 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/
Dacpi_memhotplug.c178 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/
Dmemory_hotplug.c894 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/
Dhotplug-memory.c245 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/
Ddsp_defs.h140 word memory_block; member