Home
last modified time | relevance | path

Searched refs:absTicks (Results 1 – 5 of 5) sorted by relevance

/kernel/liteos_m/kal/posix/src/
Dpthread_cond.c270 UINT64 absTicks; in pthread_cond_timedwait() local
293 ret = OsGetTickTimeFromNow(ts, cond->clock, &absTicks); in pthread_cond_timedwait()
298 if (absTicks >= UINT32_MAX) { in pthread_cond_timedwait()
306 …= (INT32)LOS_EventRead(&(cond->event), 0x0f, LOS_WAITMODE_OR | LOS_WAITMODE_CLR, (UINT32)absTicks); in pthread_cond_timedwait()
Dtime_internal.h115 …C INLINE INT32 OsGetTickTimeFromNow(const struct timespec *ts, clockid_t clockId, UINT64 *absTicks) in OsGetTickTimeFromNow() argument
132 *absTicks = ((nseconds - currTime) + nsPerTick - 1) / nsPerTick + 1; in OsGetTickTimeFromNow()
Dmqueue.c538 UINT64 absTicks; in mq_timedsend() local
557 …OS_MQ_GOTO_ERROUT_UNLOCK_IF(ConvertTimeout(privateMqPersonal->mq_flags, absTimeout, &absTicks) == … in mq_timedsend()
561 err = LOS_QueueWriteCopy(mqueueID, (VOID *)msg, (UINT32)msgLen, (UINT32)absTicks); in mq_timedsend()
577 UINT64 absTicks; in mq_timedreceive() local
607 if (ConvertTimeout(privateMqPersonal->mq_flags, absTimeout, &absTicks) == -1) { in mq_timedreceive()
615 err = LOS_QueueReadCopy(mqueueID, (VOID *)msg, &receiveLen, (UINT32)absTicks); in mq_timedreceive()
/kernel/liteos_a/compat/posix/src/
Dpthread_cond.c252 UINT32 absTicks; in pthread_cond_timedwait() local
281 absTicks = OsTimeSpec2Tick(absTime); in pthread_cond_timedwait()
287 ret = PthreadCondWaitSub(cond, oldValue, absTicks); in pthread_cond_timedwait()
289 ret = (INT32)LOS_EventRead(&(cond->event), 0x0f, LOS_WAITMODE_OR | LOS_WAITMODE_CLR, absTicks); in pthread_cond_timedwait()
Dmqueue.c781 UINT64 absTicks; in mq_timedsend() local
800 …OS_MQ_GOTO_ERROUT_UNLOCK_IF(ConvertTimeout(privateMqPersonal->mq_flags, absTimeout, &absTicks) == … in mq_timedsend()
808 err = LOS_QueueWriteCopy(mqueueID, (VOID *)msg, (UINT32)msgLen, (UINT32)absTicks); in mq_timedsend()
824 UINT64 absTicks; in mq_timedreceive() local
854 if (ConvertTimeout(privateMqPersonal->mq_flags, absTimeout, &absTicks) == -1) { in mq_timedreceive()
862 err = LOS_QueueReadCopy(mqueueID, (VOID *)msg, &receiveLen, (UINT32)absTicks); in mq_timedreceive()