Home
last modified time | relevance | path

Searched refs:rbHEADER_SIZE (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.5.0/components/esp_ringbuf/
Dringbuf.c46 #define rbHEADER_SIZE sizeof(ItemHeader_t) macro
254 pxNewRingbuffer->xMaxItemSize = rbALIGN_SIZE(pxNewRingbuffer->xSize / 2) - rbHEADER_SIZE; in prvInitializeNewRingbuffer()
302 …size_t xTotalItemSize = rbALIGN_SIZE(xItemSize) + rbHEADER_SIZE; //Rounded up aligned item size… in prvCheckItemFitsDefault()
318 …return (xTotalItemSize + rbHEADER_SIZE <= pxRingbuffer->xSize - (pxRingbuffer->pucAcquire - pxRing… in prvCheckItemFitsDefault()
348 …configASSERT(xRemLen >= rbHEADER_SIZE); //Remaining length must be abl… in prvAcquireItemNoSplit()
351 if (xRemLen < xAlignedItemSize + rbHEADER_SIZE) { in prvAcquireItemNoSplit()
364 uint8_t* item_address = pxRingbuffer->pucAcquire + rbHEADER_SIZE; in prvAcquireItemNoSplit()
365 …pxRingbuffer->pucAcquire += rbHEADER_SIZE + xAlignedItemSize; //Advance pucAcquire past header … in prvAcquireItemNoSplit()
369 if (pxRingbuffer->pucTail - pxRingbuffer->pucAcquire < rbHEADER_SIZE) { in prvAcquireItemNoSplit()
388 ItemHeader_t *pxCurHeader = (ItemHeader_t *)(pucItem - rbHEADER_SIZE); in prvSendItemDoneNoSplit()
[all …]