Home
last modified time | relevance | path

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

/Linux-v5.4/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.c25 struct tee_shm_pool_mgr *poolm; in tee_shm_release()
104 struct tee_shm_pool_mgr *poolm = NULL; in __tee_shm_alloc()
/Linux-v5.4/drivers/tee/optee/
Dshm_pool.c15 static int pool_op_alloc(struct tee_shm_pool_mgr *poolm, in pool_op_alloc()
32 static void pool_op_free(struct tee_shm_pool_mgr *poolm, in pool_op_free()
39 static void pool_op_destroy_poolmgr(struct tee_shm_pool_mgr *poolm) in pool_op_destroy_poolmgr()
56 struct tee_shm_pool_mgr *optee_shm_pool_alloc_pages(void) in optee_shm_pool_alloc_pages()
58 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.c415 struct tee_shm_pool_mgr *priv_mgr; in optee_config_dyn_shm()
416 struct tee_shm_pool_mgr *dmabuf_mgr; in optee_config_dyn_shm()
453 struct tee_shm_pool_mgr *priv_mgr; in optee_config_shm_memremap()
454 struct tee_shm_pool_mgr *dmabuf_mgr; in optee_config_shm_memremap()
/Linux-v5.4/include/linux/
Dtee_drv.h207 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()