Searched refs:poolm (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.4/drivers/tee/ |
| D | tee_shm_pool.c | 12 static int pool_op_gen_alloc(struct tee_shm_pool_mgr *poolm, in pool_op_gen_alloc() argument 16 struct gen_pool *genpool = poolm->private_data; in pool_op_gen_alloc() 30 static void pool_op_gen_free(struct tee_shm_pool_mgr *poolm, in pool_op_gen_free() argument 33 gen_pool_free(poolm->private_data, (unsigned long)shm->kaddr, in pool_op_gen_free() 38 static void pool_op_gen_destroy_poolmgr(struct tee_shm_pool_mgr *poolm) in pool_op_gen_destroy_poolmgr() argument 40 gen_pool_destroy(poolm->private_data); in pool_op_gen_destroy_poolmgr() 41 kfree(poolm); in pool_op_gen_destroy_poolmgr()
|
| D | tee_shm.c | 25 struct tee_shm_pool_mgr *poolm; in tee_shm_release() local 28 poolm = teedev->pool->dma_buf_mgr; in tee_shm_release() 30 poolm = teedev->pool->private_mgr; in tee_shm_release() 32 poolm->ops->free(poolm, shm); in tee_shm_release() 104 struct tee_shm_pool_mgr *poolm = NULL; in __tee_shm_alloc() local 144 poolm = teedev->pool->dma_buf_mgr; in __tee_shm_alloc() 146 poolm = teedev->pool->private_mgr; in __tee_shm_alloc() 148 rc = poolm->ops->alloc(poolm, shm, size); in __tee_shm_alloc() 190 poolm->ops->free(poolm, shm); in __tee_shm_alloc()
|
| /Linux-v5.4/drivers/tee/optee/ |
| D | shm_pool.c | 15 static int pool_op_alloc(struct tee_shm_pool_mgr *poolm, in pool_op_alloc() argument 32 static void pool_op_free(struct tee_shm_pool_mgr *poolm, in pool_op_free() argument 39 static void pool_op_destroy_poolmgr(struct tee_shm_pool_mgr *poolm) in pool_op_destroy_poolmgr() argument 41 kfree(poolm); in pool_op_destroy_poolmgr()
|
| /Linux-v5.4/include/linux/ |
| D | tee_drv.h | 255 static inline void tee_shm_pool_mgr_destroy(struct tee_shm_pool_mgr *poolm) in tee_shm_pool_mgr_destroy() argument 257 poolm->ops->destroy_poolmgr(poolm); in tee_shm_pool_mgr_destroy()
|