Home
last modified time | relevance | path

Searched refs:memory_blocks (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/base/
Dmemory.c83 static DEFINE_XARRAY(memory_blocks);
586 mem = xa_load(&memory_blocks, block_id); in find_memory_block_by_id()
637 ret = xa_err(xa_store(&memory_blocks, memory->dev.id, memory, in __add_memory_block()
760 list_add(&mem->group_next, &group->memory_blocks); in add_memory_block()
794 WARN_ON(xa_erase(&memory_blocks, memory->dev.id) == NULL); in remove_memory_block()
1026 INIT_LIST_HEAD(&new_group->memory_blocks); in memory_group_register()
1122 if (!list_empty(&group->memory_blocks)) in memory_group_unregister()
/linux-6.1.9/include/linux/
Dmemory.h54 struct list_head memory_blocks; member