Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/base/
Dmemory.c32 #define to_memory_block(dev) container_of(dev, struct memory_block, dev)
81 struct memory_block *mem = to_memory_block(dev); in memory_block_release()
114 struct memory_block *mem = to_memory_block(dev); in show_mem_start_phys_index()
129 struct memory_block *mem = to_memory_block(dev); in show_mem_removable()
147 struct memory_block *mem = to_memory_block(dev); in show_mem_state()
254 static int memory_block_change_state(struct memory_block *mem, in memory_block_change_state()
276 struct memory_block *mem = to_memory_block(dev); in memory_subsys_online()
301 struct memory_block *mem = to_memory_block(dev); in memory_subsys_offline()
317 struct memory_block *mem = to_memory_block(dev); in store_mem_state()
381 struct memory_block *mem = to_memory_block(dev); in show_phys_device()
[all …]
Dnode.c379 int register_mem_sect_under_node(struct memory_block *mem_blk, int nid) in register_mem_sect_under_node()
425 int unregister_mem_sect_under_nodes(struct memory_block *mem_blk, in unregister_mem_sect_under_nodes()
465 struct memory_block *mem_blk = NULL; in link_mem_sections()
/linux-4.4.14/include/linux/
Dnode.h29 struct memory_block;
39 extern int register_mem_sect_under_node(struct memory_block *mem_blk,
41 extern int unregister_mem_sect_under_nodes(struct memory_block *mem_blk,
65 static inline int register_mem_sect_under_node(struct memory_block *mem_blk, in register_mem_sect_under_node()
70 static inline int unregister_mem_sect_under_nodes(struct memory_block *mem_blk, in unregister_mem_sect_under_nodes()
Dmemory.h25 struct memory_block { struct
33 int (*phys_callback)(struct memory_block *); argument
118 extern struct memory_block *find_memory_block_hinted(struct mem_section *,
119 struct memory_block *);
120 extern struct memory_block *find_memory_block(struct mem_section *);
Dmemory_hotplug.h13 struct memory_block;
268 void *arg, int (*func)(struct memory_block *, void *));
275 extern bool is_memblock_offlined(struct memory_block *mem);
/linux-4.4.14/arch/powerpc/platforms/pseries/
Dhotplug-memory.c119 static struct memory_block *lmb_to_memblock(struct of_drconf_cell *lmb) in lmb_to_memblock()
123 struct memory_block *mem_block; in lmb_to_memblock()
221 struct memory_block *mem_block; in dlpar_remove_lmb()
389 struct memory_block *mem_block; in dlpar_add_lmb()
/linux-4.4.14/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-4.4.14/drivers/isdn/hardware/eicon/
Ddsp_defs.h140 word memory_block; member
/linux-4.4.14/mm/
Dmemory_hotplug.c1870 void *arg, int (*func)(struct memory_block *, void *)) in walk_memory_range() argument
1872 struct memory_block *mem = NULL; in walk_memory_range()
1907 static int check_memblock_offlined_cb(struct memory_block *mem, void *arg) in check_memblock_offlined_cb()