TWE_Q_LENGTH
for (i = 0; i < TWE_Q_LENGTH; i++) {
next = ((sc->twe_aen_head + 1) % TWE_Q_LENGTH);
nextnext = ((sc->twe_aen_head + 2) % TWE_Q_LENGTH);
sc->twe_aen_tail = ((sc->twe_aen_tail + 1) % TWE_Q_LENGTH);
for (i = sc->twe_aen_tail; (i != sc->twe_aen_head) && missing; i = (i + 1) % TWE_Q_LENGTH) {
TWE_Q_LENGTH, 1, /* maxsize, nsegments */
sizeof(TWE_Command) * TWE_Q_LENGTH,
bzero(sc->twe_cmd, sizeof(TWE_Command) * TWE_Q_LENGTH);
struct twe_request *twe_lookup[TWE_Q_LENGTH]; /* commands indexed by request ID */
u_int16_t twe_aen_queue[TWE_Q_LENGTH]; /* AENs queued for userland tool(s) */