Home
last modified time | relevance | path

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

/linux/drivers/base/
H A Dmemory.c50 #define to_memory_block(dev) container_of(dev, struct memory_block, dev)
94 struct memory_block *mem = to_memory_block(dev); in memory_block_release()
161 struct memory_block *mem = to_memory_block(dev); in phys_index_show()
182 struct memory_block *mem = to_memory_block(dev); in state_show()
213 static unsigned long memblk_nr_poison(struct memory_block *mem);
215 static inline unsigned long memblk_nr_poison(struct memory_block *mem) in memblk_nr_poison()
224 static int memory_block_online(struct memory_block *mem) in memory_block_online()
280 static int memory_block_offline(struct memory_block *mem) in memory_block_offline()
326 memory_block_action(struct memory_block *mem, unsigned long action) in memory_block_action()
346 static int memory_block_change_state(struct memory_block *me
[all...]
/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()
201 struct memory_block *mem_block; in get_lmb_range()
304 struct memory_block *mem_block; in lmb_is_removable()
/linux/drivers/s390/char/
H A Dsclp_mem.c194 struct memory_block *mem; in sclp_config_mem_store()
282 struct memory_block *mem; in sclp_memmap_on_memory_store()
342 static int sclp_create_configured_mem(struct memory_block *mem, void *argument)
/linux/mm/
H A Dmemory_hotplug.c1338 static int online_memory_block(struct memory_block *mem, void *arg) in online_memory_block()
1424 struct memory_block *mem; in remove_memory_blocks_and_altmaps()
2120 static int check_memblock_offlined_cb(struct memory_block *mem, void *arg) in check_memblock_offlined_cb()
2138 static int count_memory_range_altmaps_cb(struct memory_block *mem, void *arg) in count_memory_range_altmaps_cb()
2164 static int check_no_memblock_for_node_cb(struct memory_block *mem, void *arg) in check_no_memblock_for_node_cb()
2327 static int try_offline_memory_block(struct memory_block *mem, void *arg) in try_offline_memory_block()
2356 static int try_reonline_memory_block(struct memory_block *mem, void *arg) in try_reonline_memory_block()
/linux/tools/testing/memblock/
H A DREADME109 memory of the memory_block.