Lines Matching refs:num_ports
91 static int i_vcc_cons_tbl(vcc_t *vccp, uint_t num_ports,
1326 i_vcc_cons_tbl(vcc_t *vccp, uint_t num_ports, caddr_t buf, int mode) in i_vcc_cons_tbl() argument
1351 if (num_ports == 0) { in i_vcc_cons_tbl()
1383 num_ports--; in i_vcc_cons_tbl()
1387 if (num_ports == 0) { in i_vcc_cons_tbl()
1405 while (num_ports > 0) { in i_vcc_cons_tbl()
1414 num_ports--; in i_vcc_cons_tbl()
1697 static uint_t num_ports; in i_vcc_ctrl_ioctl() local
1705 num_ports = vccp->num_ports; in i_vcc_ctrl_ioctl()
1709 return (ddi_copyout((void *)&num_ports, arg, in i_vcc_ctrl_ioctl()
1714 return (i_vcc_cons_tbl(vccp, num_ports, (caddr_t)arg, mode)); in i_vcc_ctrl_ioctl()
2241 vccp->num_ports--; in i_vcc_md_remove_port()
2358 vccp->num_ports++; in i_vcc_md_add_port()