Lines Matching defs:session

109 	meta_session_t *session;
112 rv = meta_handle2session(hSession, &session);
116 /* save info about session flags before they are destroyed */
117 flags = session->session_flags;
119 rv = meta_session_deactivate(session, B_FALSE);
122 meta_session_dealloc(session);
144 meta_session_t *session;
154 while ((session = meta_sessionlist_head) != NULL) {
155 rv = meta_handle2session((CK_SESSION_HANDLE)session, &session);
162 (void) meta_session_deactivate(session, B_TRUE);
163 meta_session_dealloc(session);
183 meta_session_t *session;
188 rv = meta_handle2session(hSession, &session);
193 pInfo->flags = session->session_flags;
196 if (IS_READ_ONLY_SESSION(session->session_flags)) {
202 if (IS_READ_ONLY_SESSION(session->session_flags)) {
211 REFRELEASE(session);
217 meta_getopstatelen(meta_session_t *session, CK_ULONG *out_length)
224 if (session->op1.type != 0) {
225 slot_session = session->op1.session;
243 meta_session_t *session;
250 rv = meta_handle2session(hSession, &session);
257 if (session->op1.type == 0) {
272 rv = meta_getopstatelen(session, pulOperationStateLen);
273 REFRELEASE(session);
295 rv = meta_getopstatelen(session, pulOperationStateLen);
308 if (session->op1.type != 0) {
309 slot_session = session->op1.session;
310 opstate.state[0].op_type = session->op1.type;
314 opstate.state[0].op_init_app = session->init.app;
315 opstate.state[0].op_init_done = session->init.done;
327 rv = meta_getopstatelen(session, pulOperationStateLen);
345 REFRELEASE(session);
419 meta_session_t *session;
446 rv = meta_handle2session(hSession, &session);
462 if (session->op1.type != 0)
463 meta_operation_cleanup(session, session->op1.type,
466 if (session->op1.session != NULL) {
467 slot_session = session->op1.session;
470 &slot_session, session->session_flags);
475 session->op1.type = opstate.state[0].op_type;
476 session->op1.session = slot_session;
477 session->init.app = opstate.state[0].op_init_app;
478 session->init.done = opstate.state[0].op_init_done;
485 meta_operation_cleanup(session, session->op1.type,
496 REFRELEASE(session);
512 meta_session_t *session;
517 rv = meta_handle2session(hSession, &session);
533 session->session_flags);
573 REFRELEASE(session);
586 meta_session_t *session;
589 rv = meta_handle2session(hSession, &session);
599 session->session_flags);
614 REFRELEASE(session);