Lines Matching refs:sess

33 	struct ts_session *sess = ts_get_current_session();  in ldelf_syscall_map_zi()  local
34 struct user_mode_ctx *uctx = to_user_mode_ctx(sess->ctx); in ldelf_syscall_map_zi()
63 struct ts_session *sess = ts_get_current_session(); in ldelf_syscall_unmap() local
64 struct user_mode_ctx *uctx = to_user_mode_ctx(sess->ctx); in ldelf_syscall_unmap()
103 struct ts_session *sess = ts_get_current_session(); in ldelf_syscall_open_bin() local
104 struct user_mode_ctx *uctx = to_user_mode_ctx(sess->ctx); in ldelf_syscall_open_bin()
105 struct system_ctx *sys_ctx = sess->user_ctx; in ldelf_syscall_open_bin()
132 sess->user_ctx = sys_ctx; in ldelf_syscall_open_bin()
139 if (is_user_ta_ctx(sess->ctx) || is_stmm_ctx(sess->ctx)) { in ldelf_syscall_open_bin()
151 } else if (is_sp_ctx(sess->ctx)) { in ldelf_syscall_open_bin()
197 struct ts_session *sess = ts_get_current_session(); in ldelf_syscall_close_bin() local
198 struct system_ctx *sys_ctx = sess->user_ctx; in ldelf_syscall_close_bin()
216 sess->user_ctx = NULL; in ldelf_syscall_close_bin()
266 struct ts_session *sess = ts_get_current_session(); in ldelf_syscall_map_bin() local
267 struct user_mode_ctx *uctx = to_user_mode_ctx(sess->ctx); in ldelf_syscall_map_bin()
268 struct system_ctx *sys_ctx = sess->user_ctx; in ldelf_syscall_map_bin()
426 struct ts_session *sess = ts_get_current_session(); in ldelf_syscall_copy_from_bin() local
427 struct user_mode_ctx *uctx = to_user_mode_ctx(sess->ctx); in ldelf_syscall_copy_from_bin()
428 struct system_ctx *sys_ctx = sess->user_ctx; in ldelf_syscall_copy_from_bin()
452 struct ts_session *sess = ts_get_current_session(); in ldelf_syscall_set_prot() local
453 struct user_mode_ctx *uctx = to_user_mode_ctx(sess->ctx); in ldelf_syscall_set_prot()
503 struct ts_session *sess = ts_get_current_session(); in ldelf_syscall_remap() local
504 struct user_mode_ctx *uctx = to_user_mode_ctx(sess->ctx); in ldelf_syscall_remap()
521 struct ts_session *sess = ts_get_current_session(); in ldelf_syscall_gen_rnd_num() local
522 struct user_mode_ctx *uctx = to_user_mode_ctx(sess->ctx); in ldelf_syscall_gen_rnd_num()
539 void ldelf_sess_cleanup(struct ts_session *sess) in ldelf_sess_cleanup() argument
541 struct system_ctx *sys_ctx = sess->user_ctx; in ldelf_sess_cleanup()
546 sess->user_ctx = NULL; in ldelf_sess_cleanup()