poolm              15 drivers/tee/optee/shm_pool.c static int pool_op_alloc(struct tee_shm_pool_mgr *poolm,
poolm              52 drivers/tee/optee/shm_pool.c static void pool_op_free(struct tee_shm_pool_mgr *poolm,
poolm              62 drivers/tee/optee/shm_pool.c static void pool_op_destroy_poolmgr(struct tee_shm_pool_mgr *poolm)
poolm              64 drivers/tee/optee/shm_pool.c 	kfree(poolm);
poolm              25 drivers/tee/tee_shm.c 		struct tee_shm_pool_mgr *poolm;
poolm              28 drivers/tee/tee_shm.c 			poolm = teedev->pool->dma_buf_mgr;
poolm              30 drivers/tee/tee_shm.c 			poolm = teedev->pool->private_mgr;
poolm              32 drivers/tee/tee_shm.c 		poolm->ops->free(poolm, shm);
poolm             104 drivers/tee/tee_shm.c 	struct tee_shm_pool_mgr *poolm = NULL;
poolm             144 drivers/tee/tee_shm.c 		poolm = teedev->pool->dma_buf_mgr;
poolm             146 drivers/tee/tee_shm.c 		poolm = teedev->pool->private_mgr;
poolm             148 drivers/tee/tee_shm.c 	rc = poolm->ops->alloc(poolm, shm, size);
poolm             190 drivers/tee/tee_shm.c 	poolm->ops->free(poolm, shm);
poolm              12 drivers/tee/tee_shm_pool.c static int pool_op_gen_alloc(struct tee_shm_pool_mgr *poolm,
poolm              16 drivers/tee/tee_shm_pool.c 	struct gen_pool *genpool = poolm->private_data;
poolm              30 drivers/tee/tee_shm_pool.c static void pool_op_gen_free(struct tee_shm_pool_mgr *poolm,
poolm              33 drivers/tee/tee_shm_pool.c 	gen_pool_free(poolm->private_data, (unsigned long)shm->kaddr,
poolm              38 drivers/tee/tee_shm_pool.c static void pool_op_gen_destroy_poolmgr(struct tee_shm_pool_mgr *poolm)
poolm              40 drivers/tee/tee_shm_pool.c 	gen_pool_destroy(poolm->private_data);
poolm              41 drivers/tee/tee_shm_pool.c 	kfree(poolm);
poolm             255 include/linux/tee_drv.h static inline void tee_shm_pool_mgr_destroy(struct tee_shm_pool_mgr *poolm)
poolm             257 include/linux/tee_drv.h 	poolm->ops->destroy_poolmgr(poolm);