Home
last modified time | relevance | path

Searched refs:tee_shm_pool (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/drivers/tee/amdtee/
Dshm_pool.c11 static int pool_op_alloc(struct tee_shm_pool *pool, struct tee_shm *shm, in pool_op_alloc()
41 static void pool_op_free(struct tee_shm_pool *pool, struct tee_shm *shm) in pool_op_free()
49 static void pool_op_destroy_pool(struct tee_shm_pool *pool) in pool_op_destroy_pool()
60 struct tee_shm_pool *amdtee_config_shm(void) in amdtee_config_shm()
62 struct tee_shm_pool *pool = kzalloc(sizeof(*pool), GFP_KERNEL); in amdtee_config_shm()
Damdtee_private.h42 struct tee_shm_pool *pool;
169 struct tee_shm_pool *amdtee_config_shm(void);
Dcore.c456 struct tee_shm_pool *pool; in amdtee_driver_init()
/linux-6.6.21/include/linux/
Dtee_drv.h32 struct tee_shm_pool;
146 struct tee_shm_pool *pool,
225 struct tee_shm_pool { struct
237 int (*alloc)(struct tee_shm_pool *pool, struct tee_shm *shm, argument
239 void (*free)(struct tee_shm_pool *pool, struct tee_shm *shm);
240 void (*destroy_pool)(struct tee_shm_pool *pool);
251 struct tee_shm_pool *tee_shm_pool_alloc_res_mem(unsigned long vaddr,
262 static inline void tee_shm_pool_free(struct tee_shm_pool *pool) in tee_shm_pool_free()
/linux-6.6.21/drivers/tee/
Dtee_shm_pool.c12 static int pool_op_gen_alloc(struct tee_shm_pool *pool, struct tee_shm *shm, in pool_op_gen_alloc()
37 static void pool_op_gen_free(struct tee_shm_pool *pool, struct tee_shm *shm) in pool_op_gen_free()
44 static void pool_op_gen_destroy_pool(struct tee_shm_pool *pool) in pool_op_gen_destroy_pool()
56 struct tee_shm_pool *tee_shm_pool_alloc_res_mem(unsigned long vaddr, in tee_shm_pool_alloc_res_mem()
61 struct tee_shm_pool *pool; in tee_shm_pool_alloc_res_mem()
DMakefile5 tee-objs += tee_shm_pool.o
Dtee_private.h47 struct tee_shm_pool *pool;
Dtee_core.c881 struct tee_shm_pool *pool, in tee_device_alloc()
/linux-6.6.21/drivers/tee/optee/
Doptee_private.h197 struct tee_shm_pool *pool;
264 int optee_pool_op_alloc_helper(struct tee_shm_pool *pool, struct tee_shm *shm,
271 void optee_pool_op_free_helper(struct tee_shm_pool *pool, struct tee_shm *shm,
Dffa_abi.c374 static int pool_ffa_op_alloc(struct tee_shm_pool *pool, in pool_ffa_op_alloc()
381 static void pool_ffa_op_free(struct tee_shm_pool *pool, in pool_ffa_op_free()
387 static void pool_ffa_op_destroy_pool(struct tee_shm_pool *pool) in pool_ffa_op_destroy_pool()
404 static struct tee_shm_pool *optee_ffa_shm_pool_alloc_pages(void) in optee_ffa_shm_pool_alloc_pages()
406 struct tee_shm_pool *pool = kzalloc(sizeof(*pool), GFP_KERNEL); in optee_ffa_shm_pool_alloc_pages()
791 struct tee_shm_pool *pool; in optee_ffa_probe()
Dcore.c21 int optee_pool_op_alloc_helper(struct tee_shm_pool *pool, struct tee_shm *shm, in optee_pool_op_alloc_helper()
72 void optee_pool_op_free_helper(struct tee_shm_pool *pool, struct tee_shm *shm, in optee_pool_op_free_helper()
Dsmc_abi.c587 static int pool_op_alloc(struct tee_shm_pool *pool, in pool_op_alloc()
601 static void pool_op_free(struct tee_shm_pool *pool, in pool_op_free()
610 static void pool_op_destroy_pool(struct tee_shm_pool *pool) in pool_op_destroy_pool()
627 static struct tee_shm_pool *optee_shm_pool_alloc_pages(void) in optee_shm_pool_alloc_pages()
629 struct tee_shm_pool *pool = kzalloc(sizeof(*pool), GFP_KERNEL); in optee_shm_pool_alloc_pages()
1360 static struct tee_shm_pool *
1608 struct tee_shm_pool *pool = ERR_PTR(-EINVAL); in optee_probe()