Home
last modified time | relevance | path

Searched refs:tee_shm (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/include/linux/
Dtee_drv.h38 struct tee_shm;
62 struct tee_shm *shm;
110 int (*shm_register)(struct tee_context *ctx, struct tee_shm *shm,
113 int (*shm_unregister)(struct tee_context *ctx, struct tee_shm *shm);
187 struct tee_shm { 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);
319 struct tee_shm *tee_shm_alloc(struct tee_context *ctx, size_t size, u32 flags);
331 struct tee_shm *tee_shm_priv_alloc(struct tee_device *teedev, size_t size);
342 struct tee_shm *tee_shm_register(struct tee_context *ctx, unsigned long addr,
[all …]
/Linux-v4.19/drivers/tee/
Dtee_shm.c23 static void tee_shm_release(struct tee_shm *shm) in tee_shm_release()
78 struct tee_shm *shm = dmabuf->priv; in tee_shm_op_release()
90 struct tee_shm *shm = dmabuf->priv; in tee_shm_op_mmap()
109 static struct tee_shm *__tee_shm_alloc(struct tee_context *ctx, in __tee_shm_alloc()
114 struct tee_shm *shm; in __tee_shm_alloc()
219 struct tee_shm *tee_shm_alloc(struct tee_context *ctx, size_t size, u32 flags) in tee_shm_alloc()
225 struct tee_shm *tee_shm_priv_alloc(struct tee_device *teedev, size_t size) in tee_shm_priv_alloc()
231 struct tee_shm *tee_shm_register(struct tee_context *ctx, unsigned long addr, in tee_shm_register()
236 struct tee_shm *shm; in tee_shm_register()
350 int tee_shm_get_fd(struct tee_shm *shm) in tee_shm_get_fd()
[all …]
DMakefile4 tee-objs += tee_shm.o
Dtee_shm_pool.c22 struct tee_shm *shm, size_t size) in pool_op_gen_alloc()
40 struct tee_shm *shm) in pool_op_gen_free()
Dtee_private.h71 int tee_shm_get_fd(struct tee_shm *shm);
Dtee_core.c130 struct tee_shm *shm; in tee_ioctl_shm_alloc()
167 struct tee_shm *shm; in tee_ioctl_shm_register()
205 struct tee_shm *shm; in params_from_user()
/Linux-v4.19/drivers/tee/optee/
Dcall.c181 static struct tee_shm *get_msg_arg(struct tee_context *ctx, size_t num_params, in get_msg_arg()
186 struct tee_shm *shm; in get_msg_arg()
222 struct tee_shm *shm; in optee_open_session()
291 struct tee_shm *shm; in optee_close_session()
322 struct tee_shm *shm; in optee_invoke_func()
367 struct tee_shm *shm; in optee_cancel_req()
437 struct tee_shm *shm; in optee_disable_shm_cache()
573 int optee_shm_register(struct tee_context *ctx, struct tee_shm *shm, in optee_shm_register()
577 struct tee_shm *shm_arg = NULL; in optee_shm_register()
625 int optee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm) in optee_shm_unregister()
[all …]
Drpc.c179 static struct tee_shm *cmd_alloc_suppl(struct tee_context *ctx, size_t sz) in cmd_alloc_suppl()
184 struct tee_shm *shm; in cmd_alloc_suppl()
207 struct tee_shm *shm; in handle_rpc_func_cmd_shm_alloc()
298 static void cmd_free_suppl(struct tee_context *ctx, struct tee_shm *shm) in cmd_free_suppl()
326 struct tee_shm *shm; in handle_rpc_func_cmd_shm_free()
336 shm = (struct tee_shm *)(unsigned long)arg->params[0].u.value.b; in handle_rpc_func_cmd_shm_free()
366 struct tee_shm *shm, in handle_rpc_func_cmd()
412 struct tee_shm *shm; in optee_handle_rpc()
Doptee_private.h164 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);
Dshm_pool.c25 struct tee_shm *shm, size_t size) in pool_op_alloc()
42 struct tee_shm *shm) in pool_op_free()
Dcore.c50 struct tee_shm *shm; in optee_from_msg_param()
78 shm = (struct tee_shm *)(unsigned long) in optee_from_msg_param()
107 shm = (struct tee_shm *)(unsigned long) in optee_from_msg_param()
267 struct tee_shm *shm; in optee_release()