| /freebsd-13-stable/usr.sbin/ppp/ |
| HD | ncp.c | 104 ncp->cfg.urgent.tcp.nports = ncp->cfg.urgent.tcp.maxports = 0; in ncp_Init() 106 ncp->cfg.urgent.tcp.nports = ncp->cfg.urgent.tcp.maxports = NDEFTCPPORTS; in ncp_Init() 112 ncp->cfg.urgent.udp.nports = ncp->cfg.urgent.udp.maxports = 0; in ncp_Init() 135 ncp->cfg.urgent.tcp.nports = ncp->cfg.urgent.tcp.maxports = 0; in ncp_Destroy() 140 ncp->cfg.urgent.udp.nports = ncp->cfg.urgent.udp.maxports = 0; in ncp_Destroy() 375 for (f = 0; f < range->nports; f++) in ncp_IsUrgentPort() 388 if (range->nports == range->maxports) { in ncp_AddUrgentPort() 401 for (p = 0; p < range->nports; p++) in ncp_AddUrgentPort() 407 (range->nports - p) * sizeof(u_short)); in ncp_AddUrgentPort() 409 range->nports++; in ncp_AddUrgentPort() [all …]
|
| HD | ncp.h | 30 unsigned nports; /* How many ports */ member
|
| /freebsd-13-stable/sys/mips/cavium/usb/ |
| HD | octusb_octeon.c | 97 int nports; in octusb_octeon_attach() local 113 nports = cvmx_usb_get_num_ports(); in octusb_octeon_attach() 114 if (nports > OCTUSB_MAX_PORTS) in octusb_octeon_attach() 115 panic("octusb: too many USB ports %d", nports); in octusb_octeon_attach() 116 for (i = 0; i < nports; i++) { in octusb_octeon_attach() 163 int nports; in octusb_octeon_detach() local 175 nports = cvmx_usb_get_num_ports(); in octusb_octeon_detach() 176 if (nports > OCTUSB_MAX_PORTS) in octusb_octeon_detach() 177 panic("octusb: too many USB ports %d", nports); in octusb_octeon_detach() 178 for (i = 0; i < nports; i++) { in octusb_octeon_detach()
|
| /freebsd-13-stable/contrib/ofed/infiniband-diags/src/ |
| HD | ibroute.c | 62 char *check_switch(ib_portid_t * portid, unsigned int *nports, uint64_t * guid, in check_switch() argument 82 mad_decode_field(ni, IB_NODE_NPORTS_F, nports); in check_switch() 93 int dump_mlid(char *str, int strlen, unsigned mlid, unsigned nports, in dump_mlid() argument 101 unsigned chunks = ALIGN(nports + 1, 16) / 16; in dump_mlid() 118 for (i = 0; i <= nports; i++) { in dump_mlid() 147 unsigned block, i, j, e, nports, cap, chunks, startblock, lastblock, in dump_multicast_tables() local 152 if ((s = check_switch(portid, &nports, &nodeguid, sw, nd))) in dump_multicast_tables() 190 if (nports > 9) { in dump_multicast_tables() 191 for (i = 0, s = str; i <= nports; i++) { in dump_multicast_tables() 198 for (i = 0, s = str; i <= nports; i++) in dump_multicast_tables() [all …]
|
| HD | dump_fts.c | 68 int dump_mlid(char *str, int strlen, unsigned mlid, unsigned nports, in dump_mlid() argument 76 unsigned chunks = ALIGN(nports + 1, 16) / 16; in dump_mlid() 93 for (i = 0; i <= nports; i++) { in dump_mlid() 122 unsigned block, i, j, e, nports, cap, chunks, startblock, lastblock, in dump_multicast_tables() local 128 nports = node->numports; in dump_multicast_tables() 166 if (nports > 9) { in dump_multicast_tables() 167 for (i = 0, s = str; i <= nports; i++) { in dump_multicast_tables() 174 for (i = 0, s = str; i <= nports; i++) in dump_multicast_tables() 183 chunks = ALIGN(nports + 1, 16) / 16; in dump_multicast_tables() 216 if (dump_mlid(str, sizeof str, i, nports, mft) == 0) in dump_multicast_tables() [all …]
|
| /freebsd-13-stable/sys/dev/cxgbe/ |
| HD | t4_vf.c | 321 int nrxq, ntxq, nports; in cfg_itype_and_nqueues() local 329 nports = sc->params.nports; in cfg_itype_and_nqueues() 367 if (iq_avail < nports) { in cfg_itype_and_nqueues() 370 vfres->niqflint, nports); in cfg_itype_and_nqueues() 380 if (iaq->nirq + nports <= navail) { in cfg_itype_and_nqueues() 385 nrxq = nports * t4_nrxq; in cfg_itype_and_nqueues() 390 nrxq = (iq_avail / nports) * nports; in cfg_itype_and_nqueues() 398 if (vfres->nethctrl < nports) { in cfg_itype_and_nqueues() 401 vfres->nethctrl, nports); in cfg_itype_and_nqueues() 405 ntxq = nports * t4_ntxq; in cfg_itype_and_nqueues() [all …]
|
| /freebsd-13-stable/usr.bin/systat/ |
| HD | netcmds.c | 68 int nports, nhosts, protos; variable 207 nports = 0; in selectport() 210 for (p = ports; p < ports + nports; p++) in selectport() 215 if (nports == 0) in selectport() 218 ports = (struct pitem *)realloc(ports, (nports+1)*sizeof (*p)); in selectport() 219 p = &ports[nports++]; in selectport() 231 for (p = ports; p < ports+nports; p++) in checkport() 243 for (p = ports; p < ports+nports; p++) { in showports()
|
| HD | extern.h | 55 extern int nports;
|
| /freebsd-13-stable/sys/dev/usb/ |
| HD | usb_hub.c | 344 for (x = 0; x != udev->hub->nports; x++) { in uhub_reset_tt_callback() 401 for (x = 0; x != hub->nports; x++) { in uhub_count_active_host_ports() 1031 for (x = 0; x != hub->nports; x++) { in uhub_explore() 1147 uint8_t nports; in uhub_query_info() local 1153 nports = 0; in uhub_query_info() 1167 nports = hubdesc20.bNbrPorts; in uhub_query_info() 1168 if (nports > 127) in uhub_query_info() 1169 nports = 127; in uhub_query_info() 1182 nports = hubdesc30.bNbrPorts; in uhub_query_info() 1183 if (nports > 16) in uhub_query_info() [all …]
|
| HD | usb_hub_acpi.c | 94 uint8_t nports; member 375 (devinfo->Address <= (uint64_t)sc->nports)) { in acpi_usb_hub_port_probe_cb() 457 sc->nports = uh->nports; in acpi_uhub_attach_common() 458 sc->port = malloc(sizeof(struct acpi_uhub_port) * uh->nports, in acpi_uhub_attach_common() 534 (hres.portno <= sc->nports) && in acpi_uhub_read_ivar()
|
| HD | usb_request.h | 59 uint8_t nports); 62 uint8_t nports);
|
| HD | usb_hub.h | 57 uint8_t nports; member
|
| /freebsd-13-stable/sys/contrib/octeon-sdk/ |
| HD | cvmx-helper.c | 523 static int cvmx_helper_fcs_op(int interface, int nports, int has_fcs) in cvmx_helper_fcs_op() argument 535 for (index = 0; index < nports; index++) in cvmx_helper_fcs_op() 622 int nports; in cvmx_helper_interface_probe() local 626 nports = -1; in cvmx_helper_interface_probe() 633 nports = 0; in cvmx_helper_interface_probe() 638 nports = __cvmx_helper_xaui_probe(interface); in cvmx_helper_interface_probe() 646 nports = __cvmx_helper_rgmii_probe(interface); in cvmx_helper_interface_probe() 651 nports = __cvmx_helper_spi_probe(interface); in cvmx_helper_interface_probe() 658 nports = __cvmx_helper_sgmii_probe(interface); in cvmx_helper_interface_probe() 663 nports = __cvmx_helper_npi_probe(interface); in cvmx_helper_interface_probe() [all …]
|
| /freebsd-13-stable/tools/tools/netmap/ |
| HD | lb.c | 188 int nports; member 448 g->nports = DEF_OUT_PIPES; in parse_pipes() 450 g->nports = atoi(end); in parse_pipes() 451 if (g->nports < 1) { in parse_pipes() 456 glob_arg.output_rings += g->nports; in parse_pipes() 470 for (j = 0; j < g->nports; j++) in init_groups() 472 t += g->nports; in init_groups() 478 g->first_id += h->nports; in init_groups() 515 uint32_t output_port = hash % g->nports; in forward_packet() 805 for (k = 0; k < g->nports; ++k) { in main() [all …]
|
| /freebsd-13-stable/sys/netgraph/atm/ccatm/ |
| HD | ng_ccatm.c | 152 return (p->nports); in ng_ccatm_port_array_getlen() 666 arg->nports = 0; in ng_ccatm_rcvmsg() 667 for (arg->nports = 0; arg->nports < n; arg->nports++) in ng_ccatm_rcvmsg() 668 arg->ports[arg->nports] = ports[arg->nports]; in ng_ccatm_rcvmsg() 729 s.nports * sizeof(*ports) + in ng_ccatm_rcvmsg() 747 sizeof(*ports) * s.nports); in ng_ccatm_rcvmsg() 748 offs += sizeof(*ports) * s.nports; in ng_ccatm_rcvmsg()
|
| /freebsd-13-stable/sys/dev/cxgb/common/ |
| HD | cxgb_vsc7323.c | 111 int t3_vsc7323_init(adapter_t *adap, int nports) in t3_vsc7323_init() argument 144 ing_step = 0xc0 / nports; in t3_vsc7323_init() 145 egr_step = 0x40 / nports; in t3_vsc7323_init() 151 for (i = 0; i < nports; i++) { in t3_vsc7323_init() 178 for (i = 0; i < nports; i++) in t3_vsc7323_init()
|
| HD | cxgb_ctl_defs.h | 83 unsigned int nports; /* number of ports on this adapter */ member
|
| /freebsd-13-stable/sys/contrib/ngatm/netnatm/api/ |
| HD | cc_data.c | 138 status->nports = 0; in cc_get_extended_status() 147 status->nports++; in cc_get_extended_status() 156 *pport = CCMALLOC(sizeof(**pport) * status->nports); in cc_get_extended_status()
|
| HD | cc_port.c | 442 u_int nports, naddrs; in cc_get_local_port_info() local 447 nports = 0; in cc_get_local_port_info() 451 nports++; in cc_get_local_port_info() 460 *lenp = sizeof(*list) + nports * sizeof(*pp) + naddrs * sizeof(*aa); in cc_get_local_port_info() 469 list->num_ports = nports; in cc_get_local_port_info() 473 aa = (void *)((u_char *)list + sizeof(*list) + nports * sizeof(*pp)); in cc_get_local_port_info()
|
| /freebsd-13-stable/sys/dev/usb/serial/ |
| HD | u3g.c | 941 int error, type, nports; in u3g_attach() local 981 nports = 0; /* number of ports */ in u3g_attach() 994 sc->sc_xfer[nports], u3g_config_tmp, U3G_N_TRANSFER, in u3g_attach() 995 &sc->sc_ucom[nports], &sc->sc_mtx); in u3g_attach() 1005 sc->sc_iface[nports] = id->bInterfaceNumber; in u3g_attach() 1007 if (bootverbose && sc->sc_xfer[nports][U3G_INTR]) { in u3g_attach() 1009 nports); in u3g_attach() 1014 usbd_xfer_set_stall(sc->sc_xfer[nports][U3G_BULK_WR]); in u3g_attach() 1015 usbd_xfer_set_stall(sc->sc_xfer[nports][U3G_BULK_RD]); in u3g_attach() 1018 nports++; /* found one port */ in u3g_attach() [all …]
|
| /freebsd-13-stable/sys/netgraph/atm/ |
| HD | ng_ccatm.h | 150 uint32_t nports; member
|
| /freebsd-13-stable/share/misc/ |
| HD | organization.dot | 31 portscommitters [label="Ports Committers\nports-committers@FreeBSD.org"] 36 portssecteam [label="Ports Security Team\nports-secteam@FreeBSD.org\ndelphij, amdmi3, eadler, jgh, …
|
| /freebsd-13-stable/sys/ofed/include/rdma/ |
| HD | rdma_vt.h | 151 int nports; member 485 struct rvt_dev_info *rvt_alloc_device(size_t size, int nports);
|
| /freebsd-13-stable/sys/dev/cxgb/ |
| HD | cxgb_main.c | 366 int nports; in cxgb_controller_probe() local 372 nports = ai->nports0 + ai->nports1; in cxgb_controller_probe() 373 if (nports == 1) in cxgb_controller_probe() 378 snprintf(buf, sizeof(buf), "%s, %d %s", ai->desc, nports, ports); in cxgb_controller_probe() 542 port_qsets = min(SGE_QSETS/sc->params.nports, mp_ncpus); in cxgb_controller_attach() 543 msi_needed = sc->msi_count = sc->params.nports * port_qsets + 1; in cxgb_controller_attach() 628 for (i = 0; i < (sc)->params.nports; i++) { in cxgb_controller_attach() 739 for (i = 0; i < (sc)->params.nports; i++) { in cxgb_free() 753 for (i = 0; i < sc->params.nports; i++) { in cxgb_free() 839 for (i = 0; i < (sc)->params.nports; i++) { in setup_sge_qsets() [all …]
|
| /freebsd-13-stable/sys/dev/cxgbe/iw_cxgbe/ |
| HD | provider.c | 307 if (port == 0 || port > sc->params.nports) in c4iw_query_gid() 370 if (port > sc->params.nports) in c4iw_query_port() 466 ibdev->phys_port_cnt = sc->params.nports; in c4iw_register_device()
|