Searched refs:tcm_pool (Results 1 – 2 of 2) sorted by relevance
/linux-4.4.14/arch/metag/kernel/ |
D | tcm.c | 16 struct tcm_pool { struct 26 static struct tcm_pool *find_pool(unsigned int tag) in find_pool() argument 29 struct tcm_pool *pool; in find_pool() 32 pool = list_entry(lh, struct tcm_pool, list); in find_pool() 52 struct tcm_pool *pool; in tcm_alloc() 76 struct tcm_pool *pool; in tcm_free() 95 struct tcm_pool *pool; in tcm_lookup_tag() 99 pool = list_entry(lh, struct tcm_pool, list); in tcm_lookup_tag() 115 struct tcm_pool *pool; in tcm_add_region()
|
/linux-4.4.14/arch/arm/kernel/ |
D | tcm.c | 24 static struct gen_pool *tcm_pool; variable 78 if (!tcm_pool) in tcm_alloc() 81 vaddr = gen_pool_alloc(tcm_pool, len); in tcm_alloc() 94 gen_pool_free(tcm_pool, (unsigned long) addr, len); in tcm_free() 394 tcm_pool = gen_pool_create(2, -1); in setup_tcm_pool() 401 ret = gen_pool_add(tcm_pool, dtcm_pool_start, in setup_tcm_pool() 418 ret = gen_pool_add(tcm_pool, itcm_pool_start, in setup_tcm_pool()
|