Lines Matching refs:wqbuf_firstindex
1435 if (acb->wqbuf_firstindex != acb->wqbuf_lastindex) {
1445 while ((acb->wqbuf_firstindex != acb->wqbuf_lastindex) && \
1447 pQbuffer = &acb->wqbuffer[acb->wqbuf_firstindex];
1449 acb->wqbuf_firstindex++;
1450 acb->wqbuf_firstindex %= ARCMSR_MAX_QBUFFER;
1459 if (acb->wqbuf_firstindex == acb->wqbuf_lastindex) {
1726 int32_t wqbuf_firstindex, wqbuf_lastindex;
1735 wqbuf_firstindex = acb->wqbuf_firstindex;
1737 while ((wqbuf_firstindex != wqbuf_lastindex) && (allxfer_len < 124)) {
1738 pQbuffer = &acb->wqbuffer[wqbuf_firstindex];
1740 wqbuf_firstindex++;
1741 wqbuf_firstindex %= ARCMSR_MAX_QBUFFER;
1745 acb->wqbuf_firstindex = wqbuf_firstindex;
1831 int32_t my_empty_len, user_len, wqbuf_firstindex, wqbuf_lastindex;
1850 wqbuf_firstindex = acb->wqbuf_firstindex;
1851 if (wqbuf_lastindex != wqbuf_firstindex) {
1863 my_empty_len = (wqbuf_firstindex-wqbuf_lastindex - 1)
1933 acb->wqbuf_firstindex = 0;
1952 acb->wqbuf_firstindex = 0;