Lines Matching refs:cons
1328 vcc_console_t cons; in i_vcc_cons_tbl() local
1359 bzero(&cons, sizeof (vcc_console_t)); in i_vcc_cons_tbl()
1362 cons.cons_no = vport->number; in i_vcc_cons_tbl()
1363 cons.tcp_port = vport->tcp_port; in i_vcc_cons_tbl()
1364 (void) memcpy(cons.domain_name, in i_vcc_cons_tbl()
1367 (void) memcpy(cons.group_name, vport->group_name, in i_vcc_cons_tbl()
1372 (void) snprintf(cons.dev_name, MAXPATHLEN-1, "%s:%s%s", in i_vcc_cons_tbl()
1373 pathname, VCC_MINOR_NAME_PREFIX, cons.domain_name); in i_vcc_cons_tbl()
1376 if (ddi_copyout(&cons, (void *)buf, in i_vcc_cons_tbl()
1402 bzero(&cons, sizeof (vcc_console_t)); in i_vcc_cons_tbl()
1403 cons.cons_no = -1; in i_vcc_cons_tbl()
1407 if (ddi_copyout(&cons, (void *)buf, in i_vcc_cons_tbl()
1458 vcc_console_t cons; in i_vcc_cons_info() local
1484 bzero(&cons, sizeof (vcc_console_t)); in i_vcc_cons_info()
1486 cons.cons_no = vport->number; in i_vcc_cons_info()
1487 cons.tcp_port = vport->tcp_port; in i_vcc_cons_info()
1489 (void) memcpy(cons.domain_name, vport->minorp->domain_name, MAXPATHLEN); in i_vcc_cons_info()
1491 (void) memcpy(cons.group_name, vport->group_name, MAXPATHLEN); in i_vcc_cons_info()
1498 (void) snprintf(cons.dev_name, MAXPATHLEN-1, "%s:%s%s", in i_vcc_cons_info()
1499 pathname, VCC_MINOR_NAME_PREFIX, cons.domain_name); in i_vcc_cons_info()
1501 if (ddi_copyout(&cons, (void *)buf, in i_vcc_cons_info()
1508 cons.cons_no, cons.domain_name, in i_vcc_cons_info()
1509 cons.group_name, cons.tcp_port, cons.dev_name); in i_vcc_cons_info()