Searched refs:absTicks (Results 1 – 5 of 5) sorted by relevance
/kernel/liteos_m/kal/posix/src/ |
D | pthread_cond.c | 270 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()
|
D | time_internal.h | 115 …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()
|
D | mqueue.c | 538 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/ |
D | pthread_cond.c | 252 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()
|
D | mqueue.c | 781 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()
|