Searched refs:memory_blocks (Results 1 – 2 of 2) sorted by relevance
83 static DEFINE_XARRAY(memory_blocks);622 mem = xa_load(&memory_blocks, block_id); in find_memory_block_by_id()673 ret = xa_err(xa_store(&memory_blocks, memory->dev.id, memory, in __add_memory_block()796 list_add(&mem->group_next, &group->memory_blocks); in add_memory_block()830 WARN_ON(xa_erase(&memory_blocks, memory->dev.id) == NULL); in remove_memory_block()1066 INIT_LIST_HEAD(&new_group->memory_blocks); in memory_group_register()1162 if (!list_empty(&group->memory_blocks)) in memory_group_unregister()
53 struct list_head memory_blocks; member