Lines Matching refs:stripIndex
754 unsigned short stripIndex;
768 stripIndex = pCh->Ibuf_strip;
770 count = pCh->Ibuf_stuff - stripIndex;
788 amountToMove = IBUF_SIZE - stripIndex;
795 &(pCh->Ibuf[stripIndex]), NULL, amountToMove );
801 // Bump and wrap the stripIndex all at once by the amount of data read. This
803 stripIndex += count;
804 if (stripIndex >= IBUF_SIZE) {
805 stripIndex -= IBUF_SIZE;
807 pCh->Ibuf_strip = stripIndex;
1791 unsigned short stripIndex;
1805 stripIndex = pCh->Cbuf_strip;
1809 while (stripIndex != pCh->Cbuf_stuff) {
1810 pRemove = &(pCh->Cbuf[stripIndex]);
1827 stripIndex += packetSize;
1828 if (stripIndex >= CBUF_SIZE) {
1829 stripIndex = 0;
1835 pCh->Cbuf_strip = stripIndex;
1898 unsigned short stripIndex;
1917 stripIndex = pCh->Obuf_strip;
1919 ip2trace (CHANN, ITRC_SICMD, 3, 2, stripIndex, pCh->Obuf_stuff );
1923 while ( --bailout2 && stripIndex != pCh->Obuf_stuff) {
1924 pRemove = &(pCh->Obuf[stripIndex]);
1974 stripIndex += packetSize;
1976 ip2trace (CHANN, ITRC_SICMD, 6, 2, stripIndex, pCh->Obuf_strip);
1978 if (stripIndex >= OBUF_SIZE) {
1979 stripIndex = 0;
1982 ip2trace (CHANN, ITRC_SICMD, 7, 1, stripIndex );
1991 pCh->Obuf_strip = stripIndex;