Home
last modified time | relevance | path

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

/linux/tools/testing/memblock/tests/
H A Dcommon.c12 static struct test_memory memory_block; variable
64 memset(memory_block.base, 1, PHYS_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(PHYS_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/include/linux/
H A Dnode.h118 struct memory_block;
181 extern void unregister_memory_block_under_nodes(struct memory_block *mem_blk);
206 static inline void unregister_memory_block_under_nodes(struct memory_block *mem_blk) in unregister_memory_block_under_nodes()
/linux/arch/powerpc/platforms/pseries/
H A Dhotplug-memory.c165 static struct memory_block *lmb_to_memblock(struct drmem_lmb *lmb) in lmb_to_memblock()
168 struct memory_block *mem_block; in lmb_to_memblock()
207 struct memory_block *mem_block; in dlpar_change_lmb_state()
310 struct memory_block *mem_block; in dlpar_remove_lmb()
/linux/drivers/s390/char/
H A Dsclp_mem.c194 struct memory_block *mem; in sclp_config_mem_store()
283 struct memory_block *mem; in sclp_memmap_on_memory_store()
343 static int sclp_create_configured_mem(struct memory_block *mem, void *argument) in sclp_create_configured_mem()
/linux/mm/
H A Dmemory_hotplug.c1337 static int online_memory_block(struct memory_block *mem, void *arg) in online_memory_block()
1417 struct memory_block *mem; in remove_memory_blocks_and_altmaps()
2116 static int check_memblock_offlined_cb(struct memory_block *mem, void *arg) in check_memblock_offlined_cb()
2134 static int count_memory_range_altmaps_cb(struct memory_block *mem, void *arg) in count_memory_range_altmaps_cb()
2160 static int check_no_memblock_for_node_cb(struct memory_block *mem, void *arg) in check_no_memblock_for_node_cb()
2323 static int try_offline_memory_block(struct memory_block *mem, void *arg) in try_offline_memory_block()
2352 static int try_reonline_memory_block(struct memory_block *mem, void *arg) in try_reonline_memory_block()
/linux/tools/testing/memblock/
H A DREADME112 memory of the memory_block.