Searched refs:queue_next (Results 1 – 3 of 3) sorted by relevance
88 size_t queue_next; /**< next event index */ member132 if (dev->queue_next >= dev->queue_size) in queue_push()135 return &dev->queue[dev->queue_next++]; in queue_push()158 if (dev->queue_next == 0) in queue_pop()161 *ev = dev->queue[--dev->queue_next]; in queue_pop()169 if (dev->queue_next == 0 || idx > dev->queue_next) in queue_peek()188 if (dev->queue_next == 0) in queue_shift_multiple()191 remaining = dev->queue_next; in queue_shift_multiple()200 dev->queue_next = remaining; in queue_shift_multiple()227 dev->queue_next = 0; in queue_alloc()[all …]
23 ck_assert_int_eq(dev.queue_next, 0); in START_TEST()27 ck_assert_int_eq(dev.queue_next, 0); in START_TEST()
26415 + ck_assert_int_eq(dev.queue_next, 0);26419 + ck_assert_int_eq(dev.queue_next, 0);