Home
last modified time | relevance | path

Searched refs:poolm (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/tee/
Dtee_shm_pool.c21 static int pool_op_gen_alloc(struct tee_shm_pool_mgr *poolm, in pool_op_gen_alloc() argument
25 struct gen_pool *genpool = poolm->private_data; in pool_op_gen_alloc()
39 static void pool_op_gen_free(struct tee_shm_pool_mgr *poolm, in pool_op_gen_free() argument
42 gen_pool_free(poolm->private_data, (unsigned long)shm->kaddr, in pool_op_gen_free()
47 static void pool_op_gen_destroy_poolmgr(struct tee_shm_pool_mgr *poolm) in pool_op_gen_destroy_poolmgr() argument
49 gen_pool_destroy(poolm->private_data); in pool_op_gen_destroy_poolmgr()
50 kfree(poolm); in pool_op_gen_destroy_poolmgr()
Dtee_shm.c34 struct tee_shm_pool_mgr *poolm; in tee_shm_release() local
37 poolm = teedev->pool->dma_buf_mgr; in tee_shm_release()
39 poolm = teedev->pool->private_mgr; in tee_shm_release()
41 poolm->ops->free(poolm, shm); in tee_shm_release()
113 struct tee_shm_pool_mgr *poolm = NULL; in __tee_shm_alloc() local
153 poolm = teedev->pool->dma_buf_mgr; in __tee_shm_alloc()
155 poolm = teedev->pool->private_mgr; in __tee_shm_alloc()
157 rc = poolm->ops->alloc(poolm, shm, size); in __tee_shm_alloc()
199 poolm->ops->free(poolm, shm); in __tee_shm_alloc()
/Linux-v4.19/drivers/tee/optee/
Dshm_pool.c24 static int pool_op_alloc(struct tee_shm_pool_mgr *poolm, in pool_op_alloc() argument
41 static void pool_op_free(struct tee_shm_pool_mgr *poolm, in pool_op_free() argument
48 static void pool_op_destroy_poolmgr(struct tee_shm_pool_mgr *poolm) in pool_op_destroy_poolmgr() argument
50 kfree(poolm); in pool_op_destroy_poolmgr()
/Linux-v4.19/include/linux/
Dtee_drv.h255 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()