Lines Matching refs:num_ports
88 static int i_vcc_cons_tbl(vcc_t *vccp, uint_t num_ports,
1323 i_vcc_cons_tbl(vcc_t *vccp, uint_t num_ports, caddr_t buf, int mode) in i_vcc_cons_tbl() argument
1348 if (num_ports == 0) { in i_vcc_cons_tbl()
1380 num_ports--; in i_vcc_cons_tbl()
1384 if (num_ports == 0) { in i_vcc_cons_tbl()
1402 while (num_ports > 0) { in i_vcc_cons_tbl()
1411 num_ports--; in i_vcc_cons_tbl()
1694 static uint_t num_ports; in i_vcc_ctrl_ioctl() local
1702 num_ports = vccp->num_ports; in i_vcc_ctrl_ioctl()
1706 return (ddi_copyout((void *)&num_ports, arg, in i_vcc_ctrl_ioctl()
1711 return (i_vcc_cons_tbl(vccp, num_ports, (caddr_t)arg, mode)); in i_vcc_ctrl_ioctl()
2238 vccp->num_ports--; in i_vcc_md_remove_port()
2355 vccp->num_ports++; in i_vcc_md_add_port()