Home
last modified time | relevance | path

Searched refs:timeOut (Results 1 - 9 of 9) sorted by relevance

/kernel/liteos_m/kernel/src/
H A Dlos_queue.c259 UINT32 *bufferSize, UINT32 timeOut) in OsQueueReadParameterCheck()
272 if (timeOut != LOS_NO_WAIT) { in OsQueueReadParameterCheck()
281 UINT32 *bufferSize, UINT32 timeOut) in OsQueueWriteParameterCheck()
295 if (timeOut != LOS_NO_WAIT) { in OsQueueWriteParameterCheck()
380 UINT32 OsQueueOperate(UINT32 queueID, UINT32 operateType, VOID *bufferAddr, UINT32 *bufferSize, UINT32 timeOut) in OsQueueOperate() argument
397 if (timeOut == LOS_NO_WAIT) { in OsQueueOperate()
408 OsSchedTaskWait(&queueCB->readWriteList[readWrite], timeOut); in OsQueueOperate()
442 UINT32 timeOut) in LOS_QueueReadCopy()
447 ret = OsQueueReadParameterCheck(queueID, bufferAddr, bufferSize, timeOut); in LOS_QueueReadCopy()
455 operateType, *bufferSize, timeOut); in LOS_QueueReadCopy() local
258 OsQueueReadParameterCheck(UINT32 queueID, VOID *bufferAddr, UINT32 *bufferSize, UINT32 timeOut) OsQueueReadParameterCheck() argument
280 OsQueueWriteParameterCheck(UINT32 queueID, VOID *bufferAddr, UINT32 *bufferSize, UINT32 timeOut) OsQueueWriteParameterCheck() argument
439 LOS_QueueReadCopy(UINT32 queueID, VOID *bufferAddr, UINT32 *bufferSize, UINT32 timeOut) LOS_QueueReadCopy() argument
460 LOS_QueueWriteHeadCopy(UINT32 queueID, VOID *bufferAddr, UINT32 bufferSize, UINT32 timeOut) LOS_QueueWriteHeadCopy() argument
477 LOS_QueueWriteCopy(UINT32 queueID, VOID *bufferAddr, UINT32 bufferSize, UINT32 timeOut) LOS_QueueWriteCopy() argument
493 operateType, bufferSize, timeOut); LOS_QueueWriteCopy() local
498 LOS_QueueRead(UINT32 queueID, VOID *bufferAddr, UINT32 bufferSize, UINT32 timeOut) LOS_QueueRead() argument
510 OsHookCall(LOS_HOOK_TYPE_QUEUE_READ, (LosQueueCB *)GET_QUEUE_HANDLE(queueID), operateType, bufferSize, timeOut); LOS_QueueRead() local
515 LOS_QueueWrite(UINT32 queueID, VOID *bufferAddr, UINT32 bufferSize, UINT32 timeOut) LOS_QueueWrite() argument
529 OsHookCall(LOS_HOOK_TYPE_QUEUE_WRITE, (LosQueueCB *)GET_QUEUE_HANDLE(queueID), operateType, size, timeOut); LOS_QueueWrite() local
534 LOS_QueueWriteHead(UINT32 queueID, VOID *bufferAddr, UINT32 bufferSize, UINT32 timeOut) LOS_QueueWriteHead() argument
558 OsQueueMailAlloc(UINT32 queueID, VOID *mailPool, UINT32 timeOut) OsQueueMailAlloc() argument
[all...]
H A Dlos_event.c97 LITE_OS_SEC_TEXT UINT32 LOS_EventRead(PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, UINT32 timeOut) in LOS_EventRead() argument
116 OsHookCall(LOS_HOOK_TYPE_EVENT_READ, eventCB, eventMask, mode, timeOut); in LOS_EventRead()
118 if (timeOut == 0) { in LOS_EventRead()
130 OsSchedTaskWait(&eventCB->stEventList, timeOut); in LOS_EventRead()
/kernel/uniproton/src/core/ipc/event/
H A Dprt_event.c21 OS_SEC_L4_TEXT U32 OsEventReadParaCheck(U32 eventMask, U32 flags, U32 timeOut) in OsEventReadParaCheck() argument
29 (((flags & OS_EVENT_WAIT) != 0) && (timeOut == 0))) { in OsEventReadParaCheck()
54 OS_SEC_ALW_INLINE INLINE void OsEventTimeOutSet(U32 timeOut, struct TagTskCb *runTsk) in OsEventTimeOutSet() argument
56 if (timeOut == OS_EVENT_WAIT_FOREVER) { in OsEventTimeOutSet()
60 OsTskTimerAdd(runTsk, timeOut); in OsEventTimeOutSet()
65 U32 timeOut, U32 *event) in OsEventReadNeedSche()
81 OsEventTimeOutSet(timeOut, runTsk); in OsEventReadNeedSche()
98 OS_SEC_L4_TEXT U32 PRT_EventRead(U32 eventMask, U32 flags, U32 timeOut, U32 *events) in PRT_EventRead() argument
106 ret = OsEventReadParaCheck(eventMask, flags, timeOut); in PRT_EventRead()
125 ret = OsEventReadNeedSche(flags, runTsk, timeOut, in PRT_EventRead()
64 OsEventReadNeedSche(U32 flags, struct TagTskCb *runTsk, U32 timeOut, U32 *event) OsEventReadNeedSche() argument
[all...]
/kernel/uniproton/src/core/ipc/queue/
H A Dprt_queue.c36 OS_SEC_ALW_INLINE INLINE U32 OsInnerPend(U16 *count, struct TagListObject *pendList, U32 timeOut) in OsInnerPend() argument
47 if (timeOut == OS_QUEUE_NO_WAIT) { in OsInnerPend()
69 /* 如果timeOut > 0,timeOut为等待时间,如果timeOut == OS_QUEUE_WAIT_FOREVER,表示永久等待 */ in OsInnerPend()
70 if (timeOut != OS_QUEUE_WAIT_FOREVER) { in OsInnerPend()
73 OsTskTimerAdd(runTsk, timeOut); in OsInnerPend()
129 OS_SEC_L4_TEXT U32 PRT_QueueRead(U32 queueId, void *bufferAddr, U32 *len, U32 timeOut) in PRT_QueueRead() argument
161 ret = OsInnerPend(&queueCb->readableCnt, &queueCb->readList, timeOut); in PRT_QueueRead()
263 OS_SEC_L4_TEXT U32 PRT_QueueWrite(U32 queueId, void *bufferAddr, U32 bufferSize, U32 timeOut, U3 argument
[all...]
/kernel/liteos_m/kernel/include/
H A Dlos_queue.h458 * <li>The argument timeOut is a relative time.</li>
466 * @param timeOut [IN] Expiry time. The value range is [0,LOS_WAIT_FOREVER](unit: Tick).
489 UINT32 timeOut);
549 * <li>The argument timeOut is a relative time.</li>
557 * @param timeOut [IN] Expiry time. The value range is [0,LOS_WAIT_FOREVER](unit: Tick).
579 UINT32 timeOut);
637 * <li>The argument timeOut is a relative time.</li>
648 * @param timeOut [IN] Expiry time. The value range is [0,LOS_WAIT_FOREVER](unit: Tick).
669 UINT32 timeOut);
728 * <li>The argument timeOut i
[all...]
H A Dlos_event.h244 * @param timeOut [IN] Timeout interval of event reading (unit: Tick).
259 extern UINT32 LOS_EventRead(PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, UINT32 timeOut);
336 extern UINT32 OsEventReadOnce(PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, UINT32 timeOut);
/kernel/uniproton/src/core/ipc/sem/
H A Dprt_sem.c24 OS_SEC_L0_TEXT void OsSemPendListPut(struct TagSemCb *semPended, U32 timeOut) in OsSemPendListPut() argument
48 if (timeOut != OS_WAIT_FOREVER) { in OsSemPendListPut()
50 OsTskTimerAdd((struct TagTskCb *)runTsk, timeOut); in OsSemPendListPut()
/kernel/uniproton/src/include/uapi/
H A Dprt_queue.h261 * @param timeOut [IN] 类型#U32,超时时间。
270 extern U32 PRT_QueueRead(U32 queueId, void *bufferAddr, U32 *len, U32 timeOut);
287 * @param timeOut [IN] 类型#U32,超时时间。
297 extern U32 PRT_QueueWrite(U32 queueId, void *bufferAddr, U32 bufferSize, U32 timeOut, U32 prio);
H A Dprt_event.h155 * @param timeOut [IN] 类型#U32,等待超时时间,单位为tick,取值(0~0xFFFFFFFF]。当flags标志为OS_EVENT_WAIT,
168 extern U32 PRT_EventRead(U32 eventMask, U32 flags, U32 timeOut, U32 *events);

Completed in 5 milliseconds