Searched refs:num_cons (Results 1 – 6 of 6) sorted by relevance
/titanic_50/usr/src/cmd/vntsd/ |
H A D | console.c | 260 if (groupp->num_cons == 0) { in select_cons() 613 thr_self(), status, clientp->status, groupp->num_cons); in console_chk_status() 616 " num_cos=%d", clientp->sockfd, groupp->num_cons); in console_chk_status() 624 if (groupp->num_cons == 0) { in console_chk_status() 655 if ((groupp->num_cons == 1) && in console_chk_status() 678 if (groupp->num_cons <= 1) { in console_chk_status() 692 if (groupp->num_cons == 1) { in console_chk_status() 720 if (groupp->num_cons == 0) { in console_chk_status() 755 int num_cons; in vntsd_console_thread() local 794 num_cons = vntsd_chk_group_total_cons(groupp); in vntsd_console_thread() [all …]
|
H A D | vntsdvcc.c | 127 assert(groupp->num_cons > 0); in cleanup_cons() 128 groupp->num_cons--; in cleanup_cons() 307 groupp->num_cons++; in alloc_cons() 486 assert(groupp->num_cons); in create_listen_thread() 683 int num_cons; in vntsd_get_config() local 688 num_cons = 0; in vntsd_get_config() 690 if (vntsd_vcc_ioctl(VCC_NUM_CONSOLE, 0, (void *)&num_cons) != in vntsd_get_config() 696 D3(stderr, "get_config:num_cons=%d", num_cons); in vntsd_get_config() 698 if (num_cons == 0) { in vntsd_get_config() 703 consp = malloc(num_cons*sizeof (vcc_console_t)); in vntsd_get_config() [all …]
|
H A D | common.c | 459 total_cons(vntsd_cons_t *consp, int *num_cons) in total_cons() argument 466 (*num_cons)++; in total_cons() 476 uint_t num_cons = 0; in vntsd_chk_group_total_cons() local 479 &num_cons); in vntsd_chk_group_total_cons() 480 return (num_cons); in vntsd_chk_group_total_cons()
|
H A D | listen.c | 290 int num_cons; in vntsd_listen_thread() local 340 num_cons = vntsd_chk_group_total_cons(groupp); in vntsd_listen_thread() 341 if (num_cons == 0) { in vntsd_listen_thread()
|
H A D | cmd.c | 148 if (clientp->cons->group->num_cons > 1) in console_forward() 163 if (clientp->cons->group->num_cons > 1) in console_backward()
|
H A D | vntsd.h | 305 uint_t num_cons; /* num console */ member
|