Searched refs:ringBufferLength (Results 1 – 3 of 3) sorted by relevance
32 size_t ringBufferLength; member75 …ngBufferLength = (s_logBackendRingBuffer.ringBufferHead + s_logBackendRingBuffer.ringBufferLength - in log_init_backend_ringbuffer_puts()77 s_logBackendRingBuffer.ringBufferLength; in log_init_backend_ringbuffer_puts()78 remainingBufferLength = s_logBackendRingBuffer.ringBufferLength - remainingBufferLength - 1U; in log_init_backend_ringbuffer_puts()80 if (length >= s_logBackendRingBuffer.ringBufferLength) in log_init_backend_ringbuffer_puts()82 buffer = &buffer[length - s_logBackendRingBuffer.ringBufferLength + 1U]; in log_init_backend_ringbuffer_puts()83 length = s_logBackendRingBuffer.ringBufferLength - 1U; in log_init_backend_ringbuffer_puts()87 …if ((s_logBackendRingBuffer.ringBufferHead + copyLength) > s_logBackendRingBuffer.ringBufferLength) in log_init_backend_ringbuffer_puts()89 … copyLength = s_logBackendRingBuffer.ringBufferLength - s_logBackendRingBuffer.ringBufferHead; in log_init_backend_ringbuffer_puts()101 s_logBackendRingBuffer.ringBufferHead % s_logBackendRingBuffer.ringBufferLength; in log_init_backend_ringbuffer_puts()[all …]
40 size_t ringBufferLength; /*!< ring buffer length */ member
598 uint32_t ringBufferLength; in SerialManager_Task() local718 ringBufferLength = in SerialManager_Task()720 ringBufferLength = ringBufferLength % handle->ringBuffer.ringBufferSize; in SerialManager_Task()723 if (0U != ringBufferLength) in SerialManager_Task()726 serialMsg.length = ringBufferLength; in SerialManager_Task()828 uint32_t ringBufferLength = 0;891 …ringBufferLength = handle->ringBuffer.ringHead + handle->ringBuffer.ringBufferSize - handle->ringB…892 ringBufferLength = ringBufferLength % handle->ringBuffer.ringBufferSize;900 for (uint32_t i = 0; i < MIN(ringBufferLength, remainLength); i++)911 ringBufferLength = ringBufferLength - MIN(ringBufferLength, remainLength);[all …]