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()
532 int nextCmdIndex; in HalDequeueThreadMessage() local538 nextCmdIndex = inst->ringReadPos + 1; in HalDequeueThreadMessage()540 if (nextCmdIndex == HAL_QUEUE_MAX) { in HalDequeueThreadMessage()541 nextCmdIndex = 0; in HalDequeueThreadMessage()551 memcpy(msg, &(inst->ring[nextCmdIndex]), sizeof(ThreadMesssage)); in HalDequeueThreadMessage()552 inst->ringReadPos = nextCmdIndex; in HalDequeueThreadMessage()