Lines Matching refs:cmdTail
41 hpPriv->cmdTail = hpPriv->cmdHead = hpPriv->cmdSend = 0;
43 hpPriv->cmdTail = hpPriv->cmdHead = 0;
61 //zm_assert(((hpPriv->cmdTail+1) & (ZM_CMD_QUEUE_SIZE-1)) != hpPriv->cmdHead);
62 if (((hpPriv->cmdTail+1) & (ZM_CMD_QUEUE_SIZE-1)) == hpPriv->cmdHead ) {
67 hpPriv->cmdQ[hpPriv->cmdTail].cmdLen = cmdLen;
68 hpPriv->cmdQ[hpPriv->cmdTail].src = src;
69 hpPriv->cmdQ[hpPriv->cmdTail].buf = buf;
72 hpPriv->cmdQ[hpPriv->cmdTail].cmd[i] = cmd[i];
75 hpPriv->cmdTail = (hpPriv->cmdTail+1) & (ZM_CMD_QUEUE_SIZE-1);
88 if (hpPriv->cmdTail == hpPriv->cmdHead)
124 if (hpPriv->cmdTail != hpPriv->cmdSend)
247 if (hpPriv->cmdTail != hpPriv->cmdHead)