Searched refs:tee_shm_pool_mgr (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.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() 30 static void pool_op_gen_free(struct tee_shm_pool_mgr *poolm, 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() 67 struct tee_shm_pool_mgr *priv_mgr; in tee_shm_pool_alloc_res_mem() 68 struct tee_shm_pool_mgr *dmabuf_mgr; in tee_shm_pool_alloc_res_mem() 106 struct tee_shm_pool_mgr *tee_shm_pool_mgr_alloc_res_mem(unsigned long vaddr, in tee_shm_pool_mgr_alloc_res_mem() 112 struct tee_shm_pool_mgr *mgr; in tee_shm_pool_mgr_alloc_res_mem() 146 static bool check_mgr_ops(struct tee_shm_pool_mgr *mgr) in check_mgr_ops() 152 struct tee_shm_pool *tee_shm_pool_alloc(struct tee_shm_pool_mgr *priv_mgr, in tee_shm_pool_alloc() 153 struct tee_shm_pool_mgr *dmabuf_mgr) in tee_shm_pool_alloc()
|
D | tee_private.h | 22 struct tee_shm_pool_mgr *private_mgr; 23 struct tee_shm_pool_mgr *dma_buf_mgr;
|
D | tee_shm.c | 34 struct tee_shm_pool_mgr *poolm; in tee_shm_release() 62 struct tee_shm_pool_mgr *poolm = NULL; in tee_shm_alloc()
|
/kernel/linux/linux-5.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() 37 static void pool_op_free(struct tee_shm_pool_mgr *poolm, struct tee_shm *shm) in pool_op_free() 45 static void pool_op_destroy_poolmgr(struct tee_shm_pool_mgr *poolm) in pool_op_destroy_poolmgr() 56 static struct tee_shm_pool_mgr *pool_mem_mgr_alloc(void) in pool_mem_mgr_alloc() 58 struct tee_shm_pool_mgr *mgr = kzalloc(sizeof(*mgr), GFP_KERNEL); in pool_mem_mgr_alloc() 70 struct tee_shm_pool_mgr *priv_mgr; in amdtee_config_shm() 71 struct tee_shm_pool_mgr *dmabuf_mgr; in amdtee_config_shm()
|
/kernel/linux/linux-5.10/drivers/tee/optee/ |
D | shm_pool.c | 15 static int pool_op_alloc(struct tee_shm_pool_mgr *poolm, in pool_op_alloc() 62 static void pool_op_free(struct tee_shm_pool_mgr *poolm, in pool_op_free() 72 static void pool_op_destroy_poolmgr(struct tee_shm_pool_mgr *poolm) in pool_op_destroy_poolmgr() 89 struct tee_shm_pool_mgr *optee_shm_pool_alloc_pages(void) in optee_shm_pool_alloc_pages() 91 struct tee_shm_pool_mgr *mgr = kzalloc(sizeof(*mgr), GFP_KERNEL); in optee_shm_pool_alloc_pages()
|
D | shm_pool.h | 12 struct tee_shm_pool_mgr *optee_shm_pool_alloc_pages(void);
|
D | core.c | 435 struct tee_shm_pool_mgr *priv_mgr; in optee_config_dyn_shm() 436 struct tee_shm_pool_mgr *dmabuf_mgr; in optee_config_dyn_shm() 473 struct tee_shm_pool_mgr *priv_mgr; in optee_config_shm_memremap() 474 struct tee_shm_pool_mgr *dmabuf_mgr; in optee_config_shm_memremap()
|
/kernel/linux/linux-5.10/include/linux/ |
D | tee_drv.h | 223 struct tee_shm_pool_mgr { struct 235 int (*alloc)(struct tee_shm_pool_mgr *poolmgr, struct tee_shm *shm, argument 237 void (*free)(struct tee_shm_pool_mgr *poolmgr, struct tee_shm *shm); 238 void (*destroy_poolmgr)(struct tee_shm_pool_mgr *poolmgr); 251 struct tee_shm_pool *tee_shm_pool_alloc(struct tee_shm_pool_mgr *priv_mgr, 252 struct tee_shm_pool_mgr *dmabuf_mgr); 263 struct tee_shm_pool_mgr *tee_shm_pool_mgr_alloc_res_mem(unsigned long vaddr, 271 static inline void tee_shm_pool_mgr_destroy(struct tee_shm_pool_mgr *poolm) in tee_shm_pool_mgr_destroy()
|