Lines Matching defs:num_ports
91 static int i_vcc_cons_tbl(vcc_t *vccp, uint_t num_ports,
1320 * ports could be deleted or added. parameter num_ports is number of structures
1322 * num_ports, set up to wakeup vntsd to add ports.
1323 * If there less ports than num_ports, fill (-1) for cons_no to tell vntsd.
1326 i_vcc_cons_tbl(vcc_t *vccp, uint_t num_ports, caddr_t buf, int mode)
1351 if (num_ports == 0) {
1383 num_ports--;
1387 if (num_ports == 0) {
1405 while (num_ports > 0) {
1414 num_ports--;
1697 static uint_t num_ports;
1705 num_ports = vccp->num_ports;
1709 return (ddi_copyout((void *)&num_ports, arg,
1714 return (i_vcc_cons_tbl(vccp, num_ports, (caddr_t)arg, mode));
2241 vccp->num_ports--;
2358 vccp->num_ports++;