Lines Matching refs:tmp_session
409 slot_session_t *tmp_session;
411 tmp_session = *session_list;
413 while (tmp_session != NULL) {
414 if (tmp_session->session_flags == flags) {
417 tmp_session = tmp_session->next;
422 if (tmp_session == NULL) {
428 REMOVE_FROM_LIST(*session_list, tmp_session);
429 return (tmp_session);
448 slot_session_t *new_session, *tmp_session;
465 tmp_session = get_session(&(pool->idle_list_head), flags);
466 if (tmp_session != NULL) {
468 INSERT_INTO_LIST(pool->active_list_head, tmp_session);
469 *session = tmp_session;
477 tmp_session = get_session(&(pool->persist_list_head), flags);
478 if (tmp_session != NULL) {
480 INSERT_INTO_LIST(pool->active_list_head, tmp_session);
481 *session = tmp_session;