Lines Matching refs:TWA_Q_LENGTH
948 * In theory, TWA_Q_LENGTH - 1 should be usable, but
953 openings = (TWA_Q_LENGTH - 2) * td->td_size
1454 if (twa_alloc_req_pkts(sc, TWA_Q_LENGTH)) {
1461 TWA_Q_LENGTH, M_DEVBUF, M_WAITOK)) == NULL) {
1471 memset(aen_queue, 0, sizeof(struct tw_cl_event_packet) * TWA_Q_LENGTH);
1473 for (i = 0; i < TWA_Q_LENGTH; i++)
2102 (sc->twa_aen_head - 1 + TWA_Q_LENGTH) % TWA_Q_LENGTH;
2137 % TWA_Q_LENGTH;
2181 % TWA_Q_LENGTH;
2830 if ((sc->twa_aen_head + 1) == TWA_Q_LENGTH)
2832 sc->twa_aen_head = (sc->twa_aen_head + 1) % TWA_Q_LENGTH;
2866 i = (i + TWA_Q_LENGTH - 1) % TWA_Q_LENGTH;