Home
last modified time | relevance | path

Searched refs:nx_num_ports (Results 1 – 2 of 2) sorted by relevance

/xnu-12377.1.9/bsd/skywalk/nexus/
H A Dnexus.c2519 if (nx->nx_num_ports == 0 || (first + 1) >= nx->nx_num_ports) { in nx_port_find()
2527 nexus_port_size_t lc = (MIN(last, nx->nx_num_ports) / NX_PORT_CHUNK); in nx_port_find()
2528 nexus_port_size_t lim = (nx->nx_num_ports / NX_PORT_CHUNK); in nx_port_find()
2573 *nx_port = nx->nx_num_ports; in nx_port_find()
2594 ASSERT((nx->nx_num_ports % NX_PORT_CHUNK) == 0); in nx_port_grow()
2599 old_num_ports = nx->nx_num_ports; in nx_port_grow()
2600 num_ports = nx->nx_num_ports + grow; in nx_port_grow()
2604 nx->nx_num_ports, grow, num_ports, limit); in nx_port_grow()
2626 bzero(&ports[nx->nx_num_ports], (grow * sizeof(*ports))); in nx_port_grow()
2629 for (i = (nx->nx_num_ports / NX_PORT_CHUNK); in nx_port_grow()
[all …]
H A Dnexus_var.h230 struct nx_port_info *__counted_by(nx_num_ports) nx_ports;
233 nexus_port_size_t nx_num_ports; member