Searched refs:memory_block (Results 1 – 9 of 9) sorted by relevance
/linux-6.3-rc2/drivers/base/ |
A D | memory.c | 107 struct memory_block *mem = to_memory_block(dev); in memory_block_release() 122 struct memory_block *mem = to_memory_block(dev); in phys_index_show() 143 struct memory_block *mem = to_memory_block(dev); in state_show() 309 struct memory_block *mem = to_memory_block(dev); in memory_subsys_online() 330 struct memory_block *mem = to_memory_block(dev); in memory_subsys_offline() 342 struct memory_block *mem = to_memory_block(dev); in state_store() 591 struct memory_block *mem; in find_memory_block_by_id() 732 struct memory_block *mem; in add_memory_block() 826 struct memory_block *mem; in create_memory_block_devices() 863 struct memory_block *mem; in remove_memory_block_devices() [all …]
|
A D | node.c | 751 struct memory_block *mem_blk, in do_register_memory_block_under_node() 777 static int register_mem_block_under_node_early(struct memory_block *mem_blk, in register_mem_block_under_node_early() 820 static int register_mem_block_under_node_hotplug(struct memory_block *mem_blk, in register_mem_block_under_node_hotplug() 833 void unregister_memory_block_under_nodes(struct memory_block *mem_blk) in unregister_memory_block_under_nodes()
|
/linux-6.3-rc2/tools/testing/memblock/tests/ |
A D | common.c | 12 static struct test_memory memory_block; variable 64 memset(memory_block.base, 1, MEM_SIZE); in fill_memblock() 70 memblock_add((phys_addr_t)memory_block.base, MEM_SIZE); in setup_memblock() 91 base = (phys_addr_t)memory_block.base; in setup_numa_memblock() 106 memory_block.base = malloc(MEM_SIZE); in dummy_physical_memory_init() 107 assert(memory_block.base); in dummy_physical_memory_init() 113 free(memory_block.base); in dummy_physical_memory_cleanup() 118 return (phys_addr_t)memory_block.base; in dummy_physical_memory_base()
|
/linux-6.3-rc2/include/linux/ |
A D | memory.h | 67 struct memory_block { struct 155 extern struct memory_block *find_memory_block(unsigned long section_nr); 156 typedef int (*walk_memory_blocks_func_t)(struct memory_block *, void *); 175 void memory_block_add_nid(struct memory_block *mem, int nid,
|
A D | node.h | 92 struct memory_block; 136 extern void unregister_memory_block_under_nodes(struct memory_block *mem_blk); 165 static inline void unregister_memory_block_under_nodes(struct memory_block *mem_blk) in unregister_memory_block_under_nodes()
|
/linux-6.3-rc2/arch/powerpc/platforms/pseries/ |
A D | hotplug-memory.c | 212 static struct memory_block *lmb_to_memblock(struct drmem_lmb *lmb) in lmb_to_memblock() 215 struct memory_block *mem_block; in lmb_to_memblock() 254 struct memory_block *mem_block; in dlpar_change_lmb_state() 369 struct memory_block *mem_block; in dlpar_remove_lmb()
|
/linux-6.3-rc2/drivers/acpi/ |
A D | acpi_memhotplug.c | 146 static int acpi_bind_memblk(struct memory_block *mem, void *arg) in acpi_bind_memblk() 158 static int acpi_unbind_memblk(struct memory_block *mem, void *arg) in acpi_unbind_memblk()
|
/linux-6.3-rc2/mm/ |
A D | memory_hotplug.c | 1269 static int online_memory_block(struct memory_block *mem, void *arg) in online_memory_block() 1966 static int check_memblock_offlined_cb(struct memory_block *mem, void *arg) in check_memblock_offlined_cb() 1984 static int get_nr_vmemmap_pages_cb(struct memory_block *mem, void *arg) in get_nr_vmemmap_pages_cb() 2008 static int check_no_memblock_for_node_cb(struct memory_block *mem, void *arg) in check_no_memblock_for_node_cb() 2172 static int try_offline_memory_block(struct memory_block *mem, void *arg) in try_offline_memory_block() 2201 static int try_reonline_memory_block(struct memory_block *mem, void *arg) in try_reonline_memory_block()
|
/linux-6.3-rc2/tools/testing/memblock/ |
A D | README | 112 memory of the memory_block.
|
Completed in 19 milliseconds