Home
last modified time | relevance | path

Searched refs:tee_shm_pool_mgr (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/drivers/tee/
Dtee_shm_pool.c12 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()
Dtee_private.h22 struct tee_shm_pool_mgr *private_mgr;
23 struct tee_shm_pool_mgr *dma_buf_mgr;
Dtee_shm.c42 struct tee_shm_pool_mgr *poolm; in tee_shm_release()
109 struct tee_shm_pool_mgr *poolm = NULL; in tee_shm_alloc()
/Linux-v5.10/drivers/tee/amdtee/
Dshm_pool.c11 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()
/Linux-v5.10/drivers/tee/optee/
Dshm_pool.c15 static int pool_op_alloc(struct tee_shm_pool_mgr *poolm, in pool_op_alloc()
52 static void pool_op_free(struct tee_shm_pool_mgr *poolm, in pool_op_free()
62 static void pool_op_destroy_poolmgr(struct tee_shm_pool_mgr *poolm) in pool_op_destroy_poolmgr()
79 struct tee_shm_pool_mgr *optee_shm_pool_alloc_pages(void) in optee_shm_pool_alloc_pages()
81 struct tee_shm_pool_mgr *mgr = kzalloc(sizeof(*mgr), GFP_KERNEL); in optee_shm_pool_alloc_pages()
Dshm_pool.h12 struct tee_shm_pool_mgr *optee_shm_pool_alloc_pages(void);
Dcore.c443 struct tee_shm_pool_mgr *priv_mgr; in optee_config_dyn_shm()
444 struct tee_shm_pool_mgr *dmabuf_mgr; in optee_config_dyn_shm()
481 struct tee_shm_pool_mgr *priv_mgr; in optee_config_shm_memremap()
482 struct tee_shm_pool_mgr *dmabuf_mgr; in optee_config_shm_memremap()
/Linux-v5.10/include/linux/
Dtee_drv.h222 struct tee_shm_pool_mgr { struct
234 int (*alloc)(struct tee_shm_pool_mgr *poolmgr, struct tee_shm *shm, argument
236 void (*free)(struct tee_shm_pool_mgr *poolmgr, struct tee_shm *shm);
237 void (*destroy_poolmgr)(struct tee_shm_pool_mgr *poolmgr);
250 struct tee_shm_pool *tee_shm_pool_alloc(struct tee_shm_pool_mgr *priv_mgr,
251 struct tee_shm_pool_mgr *dmabuf_mgr);
262 struct tee_shm_pool_mgr *tee_shm_pool_mgr_alloc_res_mem(unsigned long vaddr,
270 static inline void tee_shm_pool_mgr_destroy(struct tee_shm_pool_mgr *poolm) in tee_shm_pool_mgr_destroy()