Home
last modified time | relevance | path

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

/Zephyr-latest/tests/lib/mpsc_pbuf/src/
Dconcurrent.c27 static uint32_t track_mask[4][12]; variable
65 track_mask[ctx][word] |= BIT(bit); in track_produce()
79 if (idx < base_idx || idx > (base_idx + 32 * ARRAY_SIZE(track_mask[0]))) { in track_consume()
86 if ((track_mask[ctx][word] & BIT(bit)) == 0) { in track_consume()
93 track_mask[ctx][word] &= ~BIT(bit); in track_consume()
95 if (word > (ARRAY_SIZE(track_mask[ctx]) / 2)) { in track_consume()
97 if (track_mask[ctx][0]) { in track_consume()
104 memmove(track_mask[ctx], &track_mask[ctx][1], in track_consume()
105 sizeof(track_mask[ctx]) - sizeof(uint32_t)); in track_consume()
106 track_mask[ctx][ARRAY_SIZE(track_mask[ctx]) - 1] = 0; in track_consume()
[all …]