Lines Matching defs:wrap
915 u_int total_len, wrap;
1004 * will wrap to the beginning of the ring buffer.
1006 wrap = RTK_RXBUFLEN - cur_rx;
1011 if (total_len > wrap)
1012 new_rx = total_len - wrap;
1056 if (total_len > wrap) {
1058 cur_rx, wrap, BUS_DMASYNC_POSTREAD);
1059 memcpy(dst, rxbufpos, wrap);
1061 cur_rx, wrap, BUS_DMASYNC_PREREAD);
1064 total_len -= wrap;
1065 dst += wrap;