| /Linux-v5.15/include/linux/ |
| D | tee_drv.h | 34 struct tee_shm; 66 struct tee_shm *shm; 114 int (*shm_register)(struct tee_context *ctx, struct tee_shm *shm, 117 int (*shm_unregister)(struct tee_context *ctx, struct tee_shm *shm); 205 struct tee_shm { struct 235 int (*alloc)(struct tee_shm_pool_mgr *poolmgr, struct tee_shm *shm, argument 237 void (*free)(struct tee_shm_pool_mgr *poolmgr, struct tee_shm *shm); 335 struct tee_shm *tee_shm_alloc(struct tee_context *ctx, size_t size, u32 flags); 336 struct tee_shm *tee_shm_alloc_kernel_buf(struct tee_context *ctx, size_t size); 347 struct tee_shm *tee_shm_register(struct tee_context *ctx, unsigned long addr, [all …]
|
| /Linux-v5.15/drivers/tee/ |
| D | tee_shm.c | 15 static void release_registered_pages(struct tee_shm *shm) in release_registered_pages() 31 static void tee_shm_release(struct tee_shm *shm) in tee_shm_release() 81 struct tee_shm *shm = dmabuf->priv; in tee_shm_op_release() 88 struct tee_shm *shm = dmabuf->priv; in tee_shm_op_mmap() 106 struct tee_shm *tee_shm_alloc(struct tee_context *ctx, size_t size, u32 flags) in tee_shm_alloc() 110 struct tee_shm *shm; in tee_shm_alloc() 208 struct tee_shm *tee_shm_alloc_kernel_buf(struct tee_context *ctx, size_t size) in tee_shm_alloc_kernel_buf() 214 struct tee_shm *tee_shm_register(struct tee_context *ctx, unsigned long addr, in tee_shm_register() 220 struct tee_shm *shm; in tee_shm_register() 344 int tee_shm_get_fd(struct tee_shm *shm) in tee_shm_get_fd() [all …]
|
| D | tee_shm_pool.c | 13 struct tee_shm *shm, size_t size) in pool_op_gen_alloc() 31 struct tee_shm *shm) in pool_op_gen_free()
|
| D | Makefile | 4 tee-objs += tee_shm.o
|
| D | tee_private.h | 63 int tee_shm_get_fd(struct tee_shm *shm);
|
| D | tee_core.c | 287 struct tee_shm *shm; in tee_ioctl_shm_alloc() 324 struct tee_shm *shm; in tee_ioctl_shm_register() 362 struct tee_shm *shm; in params_from_user()
|
| /Linux-v5.15/drivers/tee/optee/ |
| D | call.c | 178 static struct tee_shm *get_msg_arg(struct tee_context *ctx, size_t num_params, in get_msg_arg() 183 struct tee_shm *shm; in get_msg_arg() 219 struct tee_shm *shm; in optee_open_session() 294 struct tee_shm *shm; in optee_close_session() 325 struct tee_shm *shm; in optee_invoke_func() 370 struct tee_shm *shm; in optee_cancel_req() 442 struct tee_shm *shm; in __optee_disable_shm_cache() 614 int optee_shm_register(struct tee_context *ctx, struct tee_shm *shm, in optee_shm_register() 618 struct tee_shm *shm_arg = NULL; in optee_shm_register() 666 int optee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm) in optee_shm_unregister() [all …]
|
| D | optee_private.h | 164 int optee_shm_register(struct tee_context *ctx, struct tee_shm *shm, 167 int optee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm); 169 int optee_shm_register_supp(struct tee_context *ctx, struct tee_shm *shm, 172 int optee_shm_unregister_supp(struct tee_context *ctx, struct tee_shm *shm);
|
| D | rpc.c | 264 static struct tee_shm *cmd_alloc_suppl(struct tee_context *ctx, size_t sz) in cmd_alloc_suppl() 269 struct tee_shm *shm; in cmd_alloc_suppl() 292 struct tee_shm *shm; in handle_rpc_func_cmd_shm_alloc() 383 static void cmd_free_suppl(struct tee_context *ctx, struct tee_shm *shm) in cmd_free_suppl() 411 struct tee_shm *shm; in handle_rpc_func_cmd_shm_free() 421 shm = (struct tee_shm *)(unsigned long)arg->params[0].u.value.b; in handle_rpc_func_cmd_shm_free() 451 struct tee_shm *shm, in handle_rpc_func_cmd() 500 struct tee_shm *shm; in optee_handle_rpc()
|
| D | shm_pool.c | 16 struct tee_shm *shm, size_t size) in pool_op_alloc() 65 struct tee_shm *shm) in pool_op_free()
|
| D | device.c | 23 struct tee_shm *device_shm, u32 *shm_size, in get_devices() 95 struct tee_shm *device_shm = NULL; in __optee_enumerate_devices()
|
| D | core.c | 43 struct tee_shm *shm; in optee_from_msg_param() 71 shm = (struct tee_shm *)(unsigned long) in optee_from_msg_param() 90 shm = (struct tee_shm *)(unsigned long) in optee_from_msg_param() 272 struct tee_shm *shm; in optee_release()
|
| /Linux-v5.15/drivers/tee/amdtee/ |
| D | amdtee_private.h | 148 int amdtee_map_shmem(struct tee_shm *shm); 150 void amdtee_unmap_shmem(struct tee_shm *shm); 171 u32 get_buffer_id(struct tee_shm *shm);
|
| D | shm_pool.c | 11 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()
|
| D | core.c | 153 u32 get_buffer_id(struct tee_shm *shm) in get_buffer_id() 341 int amdtee_map_shmem(struct tee_shm *shm) in amdtee_map_shmem() 383 void amdtee_unmap_shmem(struct tee_shm *shm) in amdtee_unmap_shmem()
|
| /Linux-v5.15/security/keys/trusted-keys/ |
| D | trusted_tee.c | 55 struct tee_shm *shm_pool; 68 struct tee_shm *reg_shm_in = NULL, *reg_shm_out = NULL; in trusted_tee_seal() 129 struct tee_shm *reg_shm_in = NULL, *reg_shm_out = NULL; in trusted_tee_unseal() 190 struct tee_shm *reg_shm = NULL; in trusted_tee_get_random()
|
| /Linux-v5.15/drivers/char/tpm/ |
| D | tpm_ftpm_tee.h | 37 struct tee_shm *shm;
|
| D | tpm_ftpm_tee.c | 82 struct tee_shm *shm = pvt_data->shm; in ftpm_tee_tpm_op_send()
|
| /Linux-v5.15/drivers/firmware/broadcom/ |
| D | tee_bnxt_fw.c | 61 struct tee_shm *fw_shm_pool; 189 struct tee_shm *fw_shm_pool; in tee_bnxt_fw_probe()
|
| /Linux-v5.15/drivers/char/hw_random/ |
| D | optee-rng.c | 66 struct tee_shm *entropy_shm_pool; 146 struct tee_shm *entropy_shm_pool = NULL; in optee_rng_init()
|