Lines Matching full:struct
14 struct ts_ctx {
16 const struct ts_ops *ops;
19 struct thread_scall_regs;
20 struct ts_session {
22 struct ts_ctx *ctx; /* Generic TS context */
24 struct sample_buf *sbuf; /* Profiling data (PC sampling) */
27 struct ftrace_buf *fbuf; /* ftrace buffer */
34 bool (*handle_scall)(struct thread_scall_regs *regs);
43 * struct ts_ops - Trusted Service operations
53 * @destroy(): freeing the struct ts_ctx removing all
59 struct ts_ops {
60 TEE_Result (*enter_open_session)(struct ts_session *s);
61 TEE_Result (*enter_invoke_cmd)(struct ts_session *s, uint32_t cmd);
62 void (*enter_close_session)(struct ts_session *s);
64 TEE_Result (*dump_mem_stats)(struct ts_session *s);
66 void (*dump_state)(struct ts_ctx *ctx);
67 void (*dump_ftrace)(struct ts_ctx *ctx);
68 void (*release_state)(struct ts_ctx *ctx);
69 void (*destroy)(struct ts_ctx *ctx);
70 uint32_t (*get_instance_id)(struct ts_ctx *ctx);
71 bool (*handle_scall)(struct thread_scall_regs *regs);
77 struct ts_session *ts_get_current_session(void);
78 struct ts_session *ts_get_current_session_may_fail(void);
80 void ts_push_current_session(struct ts_session *sess);
81 struct ts_session *ts_pop_current_session(void);
82 struct ts_session *ts_get_calling_session(void);