Lines Matching refs:new_session
441 slot_session_t *new_session, *tmp_session; in meta_get_slot_session() local
484 new_session = calloc(1, sizeof (slot_session_t)); in meta_get_slot_session()
485 if (new_session == NULL) { in meta_get_slot_session()
490 new_session->slotnum = slotnum; in meta_get_slot_session()
491 new_session->fw_st_id = fw_st_id; in meta_get_slot_session()
492 new_session->object_list_head = NULL; in meta_get_slot_session()
493 new_session->session_flags = flags; in meta_get_slot_session()
494 (void) pthread_rwlock_init(&new_session->object_list_lock, NULL); in meta_get_slot_session()
497 &new_session->hSession); in meta_get_slot_session()
501 new_session->session_flags &= ~CKF_SERIAL_SESSION; in meta_get_slot_session()
503 new_session->session_flags, NULL, NULL, in meta_get_slot_session()
504 &new_session->hSession); in meta_get_slot_session()
508 free(new_session); in meta_get_slot_session()
514 INSERT_INTO_LIST(pool->active_list_head, new_session); in meta_get_slot_session()
516 *session = new_session; in meta_get_slot_session()