Searched refs:tcm_pool (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/arch/csky/mm/ |
D | tcm.c | 24 static struct gen_pool *tcm_pool; variable 113 if (!tcm_pool) 116 vaddr = gen_pool_alloc(tcm_pool, len); 126 gen_pool_free(tcm_pool, (unsigned long) addr, len); 147 tcm_pool = gen_pool_create(2, -1); 149 ret = gen_pool_add(tcm_pool, tcm_pool_start, pool_size, -1);
|
/linux-6.1.9/arch/arm/kernel/ |
D | tcm.c | 25 static struct gen_pool *tcm_pool; variable 79 if (!tcm_pool) in tcm_alloc() 82 vaddr = gen_pool_alloc(tcm_pool, len); in tcm_alloc() 95 gen_pool_free(tcm_pool, (unsigned long) addr, len); in tcm_free() 395 tcm_pool = gen_pool_create(2, -1); in setup_tcm_pool() 402 ret = gen_pool_add(tcm_pool, dtcm_pool_start, in setup_tcm_pool() 419 ret = gen_pool_add(tcm_pool, itcm_pool_start, in setup_tcm_pool()
|