Home
last modified time | relevance | path

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

/xnu-8796.101.5/bsd/skywalk/nexus/
H A Dnexus.c2461 if (nx->nx_num_ports == 0 || (first + 1) >= nx->nx_num_ports) { in nx_port_find()
2469 nexus_port_size_t lc = (MIN(last, nx->nx_num_ports) / NX_PORT_CHUNK); in nx_port_find()
2470 nexus_port_size_t lim = (nx->nx_num_ports / NX_PORT_CHUNK); in nx_port_find()
2515 *nx_port = nx->nx_num_ports; in nx_port_find()
2537 ASSERT((nx->nx_num_ports % NX_PORT_CHUNK) == 0); in nx_port_grow()
2542 old_num_ports = nx->nx_num_ports; in nx_port_grow()
2543 num_ports = nx->nx_num_ports + grow; in nx_port_grow()
2547 nx->nx_num_ports, grow, num_ports, limit); in nx_port_grow()
2568 bzero(&ports[nx->nx_num_ports], (grow * sizeof(*ports))); in nx_port_grow()
2572 for (i = (nx->nx_num_ports / NX_PORT_CHUNK); in nx_port_grow()
[all …]
H A Dnexus_var.h228 nexus_port_size_t nx_num_ports; member