Lines Matching refs:queueCB
1292 LosQueueCB *queueCB = (LosQueueCB *)mq_id; in osMessageQueueOp() local
1296 if ((queueCB == NULL) || (msg_ptr == NULL) || (OS_INT_ACTIVE && (timeout != 0))) { in osMessageQueueOp()
1300 bufferSize = (UINT32)(queueCB->queueSize - sizeof(UINT32)); in osMessageQueueOp()
1302 ret = LOS_QueueWriteCopy(queueCB->queueID, msg_ptr, bufferSize, timeout); in osMessageQueueOp()
1304 ret = LOS_QueueReadCopy(queueCB->queueID, msg_ptr, &bufferSize, timeout); in osMessageQueueOp()
1332 LosQueueCB *queueCB = (LosQueueCB *)mq_id; in osMessageQueueGetAttr() local
1335 if (queueCB == NULL) { in osMessageQueueGetAttr()
1339 if (queueCB->queueState == OS_QUEUE_UNUSED) { in osMessageQueueGetAttr()
1345 attrVal = queueCB->queueLen; in osMessageQueueGetAttr()
1348 attrVal = queueCB->queueSize - sizeof(UINT32); in osMessageQueueGetAttr()
1351 attrVal = queueCB->readWriteableCnt[OS_QUEUE_READ]; in osMessageQueueGetAttr()
1354 attrVal = queueCB->readWriteableCnt[OS_QUEUE_WRITE]; in osMessageQueueGetAttr()