Lines Matching defs:num_ports
88 static int i_vcc_cons_tbl(vcc_t *vccp, uint_t num_ports,
1317 * ports could be deleted or added. parameter num_ports is number of structures
1319 * num_ports, set up to wakeup vntsd to add ports.
1320 * If there less ports than num_ports, fill (-1) for cons_no to tell vntsd.
1323 i_vcc_cons_tbl(vcc_t *vccp, uint_t num_ports, caddr_t buf, int mode)
1348 if (num_ports == 0) {
1380 num_ports--;
1384 if (num_ports == 0) {
1402 while (num_ports > 0) {
1411 num_ports--;
1694 static uint_t num_ports;
1702 num_ports = vccp->num_ports;
1706 return (ddi_copyout((void *)&num_ports, arg,
1711 return (i_vcc_cons_tbl(vccp, num_ports, (caddr_t)arg, mode));
2238 vccp->num_ports--;
2355 vccp->num_ports++;