Lines Matching refs:wqbuf_lastindex
651 while ((acb->wqbuf_firstindex != acb->wqbuf_lastindex)
723 if (acb->wqbuf_firstindex != acb->wqbuf_lastindex) {
730 while ((acb->wqbuf_firstindex != acb->wqbuf_lastindex)
742 if (acb->wqbuf_firstindex == acb->wqbuf_lastindex)
924 int32_t my_empty_len, user_len, wqbuf_firstindex, wqbuf_lastindex;
935 wqbuf_lastindex = acb->wqbuf_lastindex;
937 if (wqbuf_lastindex != wqbuf_firstindex) {
949 my_empty_len = (wqbuf_firstindex-wqbuf_lastindex - 1)
954 &acb->wqbuffer[acb->wqbuf_lastindex];
956 acb->wqbuf_lastindex++;
957 acb->wqbuf_lastindex %= ARCMSR_MAX_QBUFFER;
1009 acb->wqbuf_lastindex = 0;
1030 acb->wqbuf_lastindex = 0;