Searched refs:tee_shm_pool_mgr (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/drivers/tee/ |
D | tee_shm_pool.c | 21 static int pool_op_gen_alloc(struct tee_shm_pool_mgr *poolm, in pool_op_gen_alloc() 39 static void pool_op_gen_free(struct tee_shm_pool_mgr *poolm, 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() 76 struct tee_shm_pool_mgr *priv_mgr; in tee_shm_pool_alloc_res_mem() 77 struct tee_shm_pool_mgr *dmabuf_mgr; in tee_shm_pool_alloc_res_mem() 115 struct tee_shm_pool_mgr *tee_shm_pool_mgr_alloc_res_mem(unsigned long vaddr, in tee_shm_pool_mgr_alloc_res_mem() 121 struct tee_shm_pool_mgr *mgr; in tee_shm_pool_mgr_alloc_res_mem() 155 static bool check_mgr_ops(struct tee_shm_pool_mgr *mgr) in check_mgr_ops() 161 struct tee_shm_pool *tee_shm_pool_alloc(struct tee_shm_pool_mgr *priv_mgr, in tee_shm_pool_alloc() 162 struct tee_shm_pool_mgr *dmabuf_mgr) in tee_shm_pool_alloc()
|
D | tee_private.h | 31 struct tee_shm_pool_mgr *private_mgr; 32 struct tee_shm_pool_mgr *dma_buf_mgr;
|
D | tee_shm.c | 34 struct tee_shm_pool_mgr *poolm; in tee_shm_release() 113 struct tee_shm_pool_mgr *poolm = NULL; in __tee_shm_alloc()
|
/Linux-v4.19/drivers/tee/optee/ |
D | shm_pool.c | 24 static int pool_op_alloc(struct tee_shm_pool_mgr *poolm, in pool_op_alloc() 41 static void pool_op_free(struct tee_shm_pool_mgr *poolm, in pool_op_free() 48 static void pool_op_destroy_poolmgr(struct tee_shm_pool_mgr *poolm) in pool_op_destroy_poolmgr() 65 struct tee_shm_pool_mgr *optee_shm_pool_alloc_pages(void) in optee_shm_pool_alloc_pages() 67 struct tee_shm_pool_mgr *mgr = kzalloc(sizeof(*mgr), GFP_KERNEL); in optee_shm_pool_alloc_pages()
|
D | shm_pool.h | 21 struct tee_shm_pool_mgr *optee_shm_pool_alloc_pages(void);
|
D | core.c | 436 struct tee_shm_pool_mgr *priv_mgr; in optee_config_shm_memremap() 437 struct tee_shm_pool_mgr *dmabuf_mgr; in optee_config_shm_memremap()
|
/Linux-v4.19/include/linux/ |
D | tee_drv.h | 207 struct tee_shm_pool_mgr { struct 219 int (*alloc)(struct tee_shm_pool_mgr *poolmgr, struct tee_shm *shm, argument 221 void (*free)(struct tee_shm_pool_mgr *poolmgr, struct tee_shm *shm); 222 void (*destroy_poolmgr)(struct tee_shm_pool_mgr *poolmgr); 235 struct tee_shm_pool *tee_shm_pool_alloc(struct tee_shm_pool_mgr *priv_mgr, 236 struct tee_shm_pool_mgr *dmabuf_mgr); 247 struct tee_shm_pool_mgr *tee_shm_pool_mgr_alloc_res_mem(unsigned long vaddr, 255 static inline void tee_shm_pool_mgr_destroy(struct tee_shm_pool_mgr *poolm) in tee_shm_pool_mgr_destroy()
|