Home
last modified time | relevance | path

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

/linux/drivers/tee/
A 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()
A Dtee_private.h22 struct tee_shm_pool_mgr *private_mgr;
23 struct tee_shm_pool_mgr *dma_buf_mgr;
A Dtee_shm.c34 struct tee_shm_pool_mgr *poolm; in tee_shm_release()
62 struct tee_shm_pool_mgr *poolm = NULL; in tee_shm_alloc()
/linux/drivers/tee/amdtee/
A 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/include/linux/
A Dtee_drv.h228 struct tee_shm_pool_mgr { struct
240 int (*alloc)(struct tee_shm_pool_mgr *poolmgr, struct tee_shm *shm, argument
242 void (*free)(struct tee_shm_pool_mgr *poolmgr, struct tee_shm *shm);
243 void (*destroy_poolmgr)(struct tee_shm_pool_mgr *poolmgr);
256 struct tee_shm_pool *tee_shm_pool_alloc(struct tee_shm_pool_mgr *priv_mgr,
257 struct tee_shm_pool_mgr *dmabuf_mgr);
268 struct tee_shm_pool_mgr *tee_shm_pool_mgr_alloc_res_mem(unsigned long vaddr,
276 static inline void tee_shm_pool_mgr_destroy(struct tee_shm_pool_mgr *poolm) in tee_shm_pool_mgr_destroy()
/linux/drivers/tee/optee/
A Dffa_abi.c372 static int pool_ffa_op_alloc(struct tee_shm_pool_mgr *poolm, in pool_ffa_op_alloc()
379 static void pool_ffa_op_free(struct tee_shm_pool_mgr *poolm, in pool_ffa_op_free()
387 static void pool_ffa_op_destroy_poolmgr(struct tee_shm_pool_mgr *poolm) in pool_ffa_op_destroy_poolmgr()
404 static struct tee_shm_pool_mgr *optee_ffa_shm_pool_alloc_pages(void) in optee_ffa_shm_pool_alloc_pages()
406 struct tee_shm_pool_mgr *mgr = kzalloc(sizeof(*mgr), GFP_KERNEL); in optee_ffa_shm_pool_alloc_pages()
696 struct tee_shm_pool_mgr *priv_mgr; in optee_ffa_config_dyn_shm()
697 struct tee_shm_pool_mgr *dmabuf_mgr; in optee_ffa_config_dyn_shm()
A Dsmc_abi.c491 static int pool_op_alloc(struct tee_shm_pool_mgr *poolm, in pool_op_alloc()
504 static void pool_op_free(struct tee_shm_pool_mgr *poolm, in pool_op_free()
514 static void pool_op_destroy_poolmgr(struct tee_shm_pool_mgr *poolm) in pool_op_destroy_poolmgr()
531 static struct tee_shm_pool_mgr *optee_shm_pool_alloc_pages(void) in optee_shm_pool_alloc_pages()
533 struct tee_shm_pool_mgr *mgr = kzalloc(sizeof(*mgr), GFP_KERNEL); in optee_shm_pool_alloc_pages()
992 struct tee_shm_pool_mgr *priv_mgr; in optee_config_dyn_shm()
993 struct tee_shm_pool_mgr *dmabuf_mgr; in optee_config_dyn_shm()
1030 struct tee_shm_pool_mgr *priv_mgr; in optee_config_shm_memremap()
1031 struct tee_shm_pool_mgr *dmabuf_mgr; in optee_config_shm_memremap()
A Dcore.c21 int optee_pool_op_alloc_helper(struct tee_shm_pool_mgr *poolm, in optee_pool_op_alloc_helper()
A Doptee_private.h219 int optee_pool_op_alloc_helper(struct tee_shm_pool_mgr *poolm,

Completed in 12 milliseconds