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