/linux/include/linux/ |
A 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, 209 struct tee_shm { struct 360 static inline bool tee_shm_is_registered(struct tee_shm *shm) in tee_shm_is_registered() 369 void tee_shm_free(struct tee_shm *shm); 375 void tee_shm_put(struct tee_shm *shm); 402 void *tee_shm_get_va(struct tee_shm *shm, size_t offs); 419 static inline size_t tee_shm_get_size(struct tee_shm *shm) in tee_shm_get_size() 442 static inline size_t tee_shm_get_page_offset(struct tee_shm *shm) in tee_shm_get_page_offset() [all …]
|
/linux/drivers/tee/ |
A D | tee_shm.c | 15 static void release_registered_pages(struct tee_shm *shm) in release_registered_pages() 63 struct tee_shm *shm; in tee_shm_alloc() 154 struct tee_shm *shm; in tee_shm_register() 266 struct tee_shm *shm = filp->private_data; in tee_shm_fop_mmap() 292 int tee_shm_get_fd(struct tee_shm *shm) in tee_shm_get_fd() 311 void tee_shm_free(struct tee_shm *shm) in tee_shm_free() 324 int tee_shm_va2pa(struct tee_shm *shm, void *va, phys_addr_t *pa) in tee_shm_va2pa() 346 int tee_shm_pa2va(struct tee_shm *shm, phys_addr_t pa, void **va) in tee_shm_pa2va() 374 void *tee_shm_get_va(struct tee_shm *shm, size_t offs) in tee_shm_get_va() 412 struct tee_shm *shm; in tee_shm_get_from_id() [all …]
|
A 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()
|
A D | Makefile | 4 tee-objs += tee_shm.o
|
A D | built-in.a | 4 tee_shm.o/
|
A D | tee_private.h | 63 int tee_shm_get_fd(struct tee_shm *shm);
|
A D | .built-in.a.cmd | 1 …-gnu-ar cDPrST drivers/tee/built-in.a drivers/tee/tee_core.o drivers/tee/tee_shm.o drivers/tee/tee…
|
A D | .tee_shm.o.cmd | 1 …tee_shm.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/bin/… 3 source_drivers/tee/tee_shm.o := drivers/tee/tee_shm.c 5 deps_drivers/tee/tee_shm.o := \ 1008 drivers/tee/tee_shm.o: $(deps_drivers/tee/tee_shm.o) 1010 $(deps_drivers/tee/tee_shm.o):
|
A 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/drivers/tee/optee/ |
A D | smc_abi.c | 53 struct tee_shm *shm; in from_msg_param_tmp_mem() 80 struct tee_shm *shm; in from_msg_param_reg_mem() 289 struct tee_shm *shm; in optee_disable_shm_cache() 396 struct tee_shm *shm_arg; in optee_shm_register() 446 struct tee_shm *shm_arg; in optee_shm_unregister() 477 struct tee_shm *shm) in optee_shm_unregister_supp() 505 struct tee_shm *shm) in pool_op_free() 556 struct tee_shm *shm; in handle_rpc_func_cmd_shm_free() 585 struct tee_shm *shm; in handle_rpc_func_cmd_shm_alloc() 692 struct tee_shm *shm, in handle_rpc_func_cmd() [all …]
|
A D | optee_private.h | 114 struct tee_shm *shm_arg); 220 struct tee_shm *shm, size_t size, 222 struct tee_shm *shm, 259 struct tee_shm *optee_get_msg_arg(struct tee_context *ctx, size_t num_params, 262 struct tee_shm *optee_rpc_cmd_alloc_suppl(struct tee_context *ctx, size_t sz); 263 void optee_rpc_cmd_free_suppl(struct tee_context *ctx, struct tee_shm *shm);
|
A D | ffa_abi.c | 41 struct tee_shm *shm; 61 struct tee_shm *shm = NULL; in optee_shm_from_ffa_handle() 126 struct tee_shm *shm = NULL; in from_msg_param_ffa_mem() 192 struct tee_shm *shm = p->u.memref.shm; in to_msg_param_ffa_mem() 314 struct tee_shm *shm) in optee_ffa_shm_unregister() 342 struct tee_shm *shm) in optee_ffa_shm_unregister_supp() 373 struct tee_shm *shm, size_t size) in pool_ffa_op_alloc() 380 struct tee_shm *shm) in pool_ffa_op_free() 429 struct tee_shm *shm; in handle_ffa_rpc_func_cmd_shm_alloc() 469 struct tee_shm *shm; in handle_ffa_rpc_func_cmd_shm_free() [all …]
|
A D | call.c | 107 struct tee_shm *optee_get_msg_arg(struct tee_context *ctx, size_t num_params, in optee_get_msg_arg() 112 struct tee_shm *shm; in optee_get_msg_arg() 147 struct tee_shm *shm; in optee_open_session() 222 struct tee_shm *shm; in optee_close_session_helper() 262 struct tee_shm *shm; in optee_invoke_func() 309 struct tee_shm *shm; in optee_cancel_req()
|
A D | rpc.c | 267 struct tee_shm *optee_rpc_cmd_alloc_suppl(struct tee_context *ctx, size_t sz) in optee_rpc_cmd_alloc_suppl() 272 struct tee_shm *shm; in optee_rpc_cmd_alloc_suppl() 290 void optee_rpc_cmd_free_suppl(struct tee_context *ctx, struct tee_shm *shm) in optee_rpc_cmd_free_suppl()
|
A 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()
|
A D | core.c | 22 struct tee_shm *shm, size_t size, in optee_pool_op_alloc_helper() 24 struct tee_shm *shm, in optee_pool_op_alloc_helper()
|
/linux/drivers/tee/amdtee/ |
A 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);
|
A 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()
|
A D | core.c | 153 u32 get_buffer_id(struct tee_shm *shm) in get_buffer_id() 340 int amdtee_map_shmem(struct tee_shm *shm) in amdtee_map_shmem() 382 void amdtee_unmap_shmem(struct tee_shm *shm) in amdtee_unmap_shmem()
|
/linux/security/keys/trusted-keys/ |
A 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/drivers/char/tpm/ |
A D | tpm_ftpm_tee.h | 37 struct tee_shm *shm;
|
A D | tpm_ftpm_tee.c | 82 struct tee_shm *shm = pvt_data->shm; in ftpm_tee_tpm_op_send()
|
/linux/drivers/firmware/broadcom/ |
A 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/drivers/char/hw_random/ |
A D | optee-rng.c | 66 struct tee_shm *entropy_shm_pool; 146 struct tee_shm *entropy_shm_pool = NULL; in optee_rng_init()
|
/linux/drivers/ |
A D | built-in.a | 2294 tee/tee_shm.o/
|