Home
last modified time | relevance | path

Searched refs:queueSize (Results 1 – 12 of 12) sorted by relevance

/kernel/liteos_a/kernel/base/ipc/
Dlos_queue.c147 queueCB->queueSize = msgSize; in LOS_QueueCreate()
240 queueNode = &(queueCB->queueHandle[(queuePosition * (queueCB->queueSize))]); in OsQueueBufferOperate()
243 if (memcpy_s(&msgDataSize, sizeof(UINT32), queueNode + queueCB->queueSize - sizeof(UINT32), in OsQueueBufferOperate()
256 if (memcpy_s(queueNode, queueCB->queueSize, bufferAddr, *bufferSize) != EOK) { in OsQueueBufferOperate()
260 if (memcpy_s(queueNode + queueCB->queueSize - sizeof(UINT32), sizeof(UINT32), bufferSize, in OsQueueBufferOperate()
275 if (OS_QUEUE_IS_WRITE(operateType) && (*bufferSize > (queueCB->queueSize - sizeof(UINT32)))) { in OsQueueOperateParamCheck()
495 queueInfo->usQueueSize = queueCB->queueSize; in LOS_QueueInfoGet()
/kernel/liteos_m/kernel/src/
Dlos_queue.c188 queueCB->queueSize = msgSize; in OsQueueCreate()
334 queueNode = &(queueCB->queue[(queuePosition * (queueCB->queueSize))]); in OsQueueBufferOperate()
344 msgDataSize = *((UINT32 *)(UINTPTR)((queueNode + queueCB->queueSize) - sizeof(UINT32))); in OsQueueBufferOperate()
354 *((UINT32 *)(UINTPTR)((queueNode + queueCB->queueSize) - sizeof(UINT32))) = *bufferSize; in OsQueueBufferOperate()
355 rc = memcpy_s((VOID *)queueNode, queueCB->queueSize, (VOID *)bufferAddr, *bufferSize); in OsQueueBufferOperate()
370 if (OS_QUEUE_IS_WRITE(operateType) && (*bufferSize > (queueCB->queueSize - sizeof(UINT32)))) { in OsQueueOperateParamCheck()
763 queueInfo->queueSize = queueCB->queueSize; in LOS_QueueInfoGet()
/kernel/liteos_m/kernel/include/
Dlos_queue.h364 UINT16 queueSize; /**< Node size */ member
817 UINT16 queueSize; /**< Node size */ member
/kernel/liteos_a/kernel/base/include/
Dlos_queue_pri.h72 UINT16 queueSize; /**< Node size */ member
/kernel/liteos_m/kal/cmsis/
Dcmsis_liteos2.c1251 UINT32 queueSize = 0; in osMessageQueueNew() local
1262 queueSize = attr->mq_size; in osMessageQueueNew()
1264 … if (((queueSize == 0) && (staticMem != NULL)) || ((queueSize != 0) && (staticMem == NULL))) { in osMessageQueueNew()
1273 (UINT8 *)staticMem, 0, (UINT16)queueSize / msg_count); in osMessageQueueNew()
1300 bufferSize = (UINT32)(queueCB->queueSize - sizeof(UINT32)); in osMessageQueueOp()
1348 attrVal = queueCB->queueSize - sizeof(UINT32); in osMessageQueueGetAttr()
/kernel/liteos_m/components/trace/
Dlos_trace.h353 #define QUEUE_RW_PARAMS(queueId, queueSize, bufSize, operateType, readable, writable, timeout) \ argument
354 queueId, queueSize, bufSize, operateType, readable, writable, timeout
/kernel/liteos_m/components/trace/cnv/
Dtrace_cnv.c94 … LOS_TRACE(QUEUE_CREATE, queueCB->queueID, queueCB->queueLen, queueCB->queueSize - sizeof(UINT32), in LOS_TraceQueueCreate()
101 LOS_TRACE(QUEUE_RW, queueCB->queueID, queueCB->queueSize, bufferSize, operateType, in LOS_TraceQueueRW()
/kernel/liteos_a/kernel/include/
Dlos_trace.h380 #define QUEUE_RW_PARAMS(queueId, queueSize, bufSize, operateType, readable, writable, timeout) \ argument
381 queueId, queueSize, bufSize, operateType, readable, writable, timeout
/kernel/liteos_m/kal/posix/src/
Dmqueue.c392 mqAttr->mq_msgsize = mqueueCB->mqcb->queueSize - sizeof(UINT32); in OsMqGetAttr()
551 …OS_MQ_GOTO_ERROUT_UNLOCK_IF(msgLen > (size_t)(mqueueCB->mqcb->queueSize - sizeof(UINT32)), EMSGSIZ… in mq_timedsend()
597 if (msgLen < (size_t)(mqueueCB->mqcb->queueSize - sizeof(UINT32))) { in mq_timedreceive()
/kernel/liteos_a/kernel/extended/trace/cnv/
Dtrace_cnv.c95 … LOS_TRACE(QUEUE_CREATE, queueCB->queueID, queueCB->queueLen, queueCB->queueSize - sizeof(UINT32), in LOS_TraceQueueCreate()
102 LOS_TRACE(QUEUE_RW, queueCB->queueID, queueCB->queueSize, bufferSize, operateType, in LOS_TraceQueueRW()
/kernel/liteos_a/compat/posix/src/
Dmqueue.c626 mqAttr->mq_msgsize = mqueueCB->mqcb->queueSize - sizeof(UINT32); in OsMqGetAttr()
794 …OS_MQ_GOTO_ERROUT_UNLOCK_IF(msgLen > (size_t)(mqueueCB->mqcb->queueSize - sizeof(UINT32)), EMSGSIZ… in mq_timedsend()
844 if (msgLen < (size_t)(mqueueCB->mqcb->queueSize - sizeof(UINT32))) { in mq_timedreceive()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0038_linux_drivers_mxc.patch68729 + gctUINT queueSize;
68743 + queueSize = queueHead->size;
68747 + gcmkASSERT(newSize <= queueSize);
68750 + unusedSize = queueSize - newSize;
69519 + gctUINT queueSize = 0;
69671 + queueSize = EntryCount * gcmSIZEOF(gcsVGCMDQUEUE);
69677 + queueSize,
69686 + queueSize
69695 + queueSize,
69879 + queueSize,