Home
last modified time | relevance | path

Searched refs:NX_PORT_CHUNK (Results 1 – 3 of 3) sorted by relevance

/xnu-8796.101.5/bsd/skywalk/nexus/
H A Dnexus.c2468 nexus_port_size_t fc = (first / NX_PORT_CHUNK); 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()
2484 beg = (first % NX_PORT_CHUNK); in nx_port_find()
2486 if (i == (last / NX_PORT_CHUNK)) { in nx_port_find()
2487 end = (last % NX_PORT_CHUNK); in nx_port_find()
2500 *nx_port = (i * NX_PORT_CHUNK) + j; in nx_port_find()
2511 if (lc == (last / NX_PORT_CHUNK)) { in nx_port_find()
2536 ASSERT(grow > 0 && (grow % NX_PORT_CHUNK) == 0); in nx_port_grow()
2537 ASSERT((nx->nx_num_ports % NX_PORT_CHUNK) == 0); in nx_port_grow()
[all …]
H A Dnexus_var.h141 #define NX_PORT_CHUNK 64 macro
/xnu-8796.101.5/bsd/skywalk/nexus/flowswitch/
H A Dfsw_flow.c209 if (__improbable(nx_port >= NX_PORT_CHUNK)) { in fsw_flow_add()