Lines Matching defs:session
305 * session.
337 /* A new session has been created, add it to the list. */
338 sess->session_id = msg_arg->session;
350 /* Close session again to avoid leakage */
351 optee_close_session(ctx, msg_arg->session);
353 arg->session = msg_arg->session;
363 int optee_close_session_helper(struct tee_context *ctx, u32 session)
376 msg_arg->session = session;
384 int optee_close_session(struct tee_context *ctx, u32 session)
389 /* Check that the session is valid and remove it from the list */
391 sess = find_session(ctxdata, session);
399 return optee_close_session_helper(ctx, session);
414 /* Check that the session is valid */
416 sess = find_session(ctxdata, arg->session);
427 msg_arg->session = arg->session;
453 int optee_cancel_req(struct tee_context *ctx, u32 cancel_id, u32 session)
463 /* Check that the session is valid */
465 sess = find_session(ctxdata, session);
475 msg_arg->session = session;