Searched refs:mem_blk (Results 1 – 1 of 1) sorted by relevance
768 static int register_mem_sect_under_node(struct memory_block *mem_blk, in register_mem_sect_under_node() argument772 unsigned long start_pfn = section_nr_to_pfn(mem_blk->start_section_nr); in register_mem_sect_under_node()807 mem_blk->nid = nid; in register_mem_sect_under_node()810 &mem_blk->dev.kobj, in register_mem_sect_under_node()811 kobject_name(&mem_blk->dev.kobj)); in register_mem_sect_under_node()815 return sysfs_create_link_nowarn(&mem_blk->dev.kobj, in register_mem_sect_under_node()827 void unregister_memory_block_under_nodes(struct memory_block *mem_blk) in unregister_memory_block_under_nodes() argument829 if (mem_blk->nid == NUMA_NO_NODE) in unregister_memory_block_under_nodes()832 sysfs_remove_link(&node_devices[mem_blk->nid]->dev.kobj, in unregister_memory_block_under_nodes()833 kobject_name(&mem_blk->dev.kobj)); in unregister_memory_block_under_nodes()[all …]