Searched refs:nextCmdIndex (Results 1 – 2 of 2) sorted by relevance
535 int nextCmdIndex; in HalDequeueThreadMessage() local541 nextCmdIndex = inst->ringReadPos + 1; in HalDequeueThreadMessage()543 if (nextCmdIndex == HAL_QUEUE_MAX) { in HalDequeueThreadMessage()544 nextCmdIndex = 0; in HalDequeueThreadMessage()555 memcpy(msg, &(inst->ring[nextCmdIndex]), sizeof(ThreadMesssage)); in HalDequeueThreadMessage()556 inst->ringReadPos = nextCmdIndex; in HalDequeueThreadMessage()
555 int nextCmdIndex; in HalDequeueThreadMessage() local561 nextCmdIndex = inst->ringReadPos + 1; in HalDequeueThreadMessage()563 if (nextCmdIndex == HAL_QUEUE_MAX) { in HalDequeueThreadMessage()564 nextCmdIndex = 0; in HalDequeueThreadMessage()574 memcpy(msg, &(inst->ring[nextCmdIndex]), sizeof(ThreadMesssage)); in HalDequeueThreadMessage()575 inst->ringReadPos = nextCmdIndex; in HalDequeueThreadMessage()