Lines Matching refs:session_num
380 int session_num;
387 session_num = -1;
399 if (++session_num > (MAX_DISP_DEV * 2 - 1)) {
416 strlcpy(ck_sessions[session_num].session_id, buf,
427 ck_sessions[session_num].open = TRUE;
431 ck_sessions[session_num].open = FALSE;
439 ck_sessions[session_num].display = -1;
444 ck_sessions[session_num].display = disp;
453 ck_sessions[session_num].session_type[0] = 0;
458 strlcpy(ck_sessions[session_num].session_type,
468 ck_sessions[session_num].display_type[0] = 0;
473 strlcpy(ck_sessions[session_num].display_type,
501 session_num + 1);
504 session_num + 1);
507 return session_num + 1;