Searched refs:poolm (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/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 | 42 struct tee_shm_pool_mgr *poolm; in tee_shm_release() local 45 poolm = teedev->pool->dma_buf_mgr; in tee_shm_release() 47 poolm = teedev->pool->private_mgr; in tee_shm_release() 49 poolm->ops->free(poolm, shm); in tee_shm_release() 109 struct tee_shm_pool_mgr *poolm = NULL; in tee_shm_alloc() local 143 poolm = teedev->pool->dma_buf_mgr; in tee_shm_alloc() 145 poolm = teedev->pool->private_mgr; in tee_shm_alloc() 147 rc = poolm->ops->alloc(poolm, shm, size); in tee_shm_alloc() 187 poolm->ops->free(poolm, shm); in tee_shm_alloc()
|
/Linux-v5.10/drivers/tee/amdtee/ |
D | shm_pool.c | 11 static int pool_op_alloc(struct tee_shm_pool_mgr *poolm, struct tee_shm *shm, in pool_op_alloc() argument 37 static void pool_op_free(struct tee_shm_pool_mgr *poolm, struct tee_shm *shm) in pool_op_free() argument 45 static void pool_op_destroy_poolmgr(struct tee_shm_pool_mgr *poolm) in pool_op_destroy_poolmgr() argument 47 kfree(poolm); in pool_op_destroy_poolmgr()
|
/Linux-v5.10/drivers/tee/optee/ |
D | shm_pool.c | 15 static int pool_op_alloc(struct tee_shm_pool_mgr *poolm, in pool_op_alloc() argument 52 static void pool_op_free(struct tee_shm_pool_mgr *poolm, in pool_op_free() argument 62 static void pool_op_destroy_poolmgr(struct tee_shm_pool_mgr *poolm) in pool_op_destroy_poolmgr() argument 64 kfree(poolm); in pool_op_destroy_poolmgr()
|
/Linux-v5.10/include/linux/ |
D | tee_drv.h | 270 static inline void tee_shm_pool_mgr_destroy(struct tee_shm_pool_mgr *poolm) in tee_shm_pool_mgr_destroy() argument 272 poolm->ops->destroy_poolmgr(poolm); in tee_shm_pool_mgr_destroy()
|