Lines Matching refs:writeOffset
67 SHMEM_ASSERT((stream->shared->writeOffset < SHARED_BUFFER_SIZE) \
68 && (stream->shared->writeOffset >= 0)); \
103 int writeOffset;
274 #define EMPTY(stream) ((stream->shared->writeOffset == stream->shared->readOffset) \
429 stream->shared->writeOffset = 0;
949 offset = shared->writeOffset;
951 shared->writeOffset = ADD_OFFSET(offset, 1);
952 shared->isFull = (shared->readOffset == shared->writeOffset);
1004 fragmentStart = shared->writeOffset;
1013 shared->writeOffset = ADD_OFFSET(fragmentStart, fragmentLength);
1016 shared->isFull = (shared->readOffset == shared->writeOffset);
1077 if (fragmentStart < shared->writeOffset) {
1078 maxLength = shared->writeOffset - fragmentStart;