Home
last modified time | relevance | path

Searched refs:ms (Results 1 – 8 of 8) sorted by relevance

/bionic/libc/bionic/
Dbionic_time_conversions.cpp43 void timespec_from_ms(timespec& ts, const int ms) { in timespec_from_ms() argument
44 ts.tv_sec = ms / 1000; in timespec_from_ms()
45 ts.tv_nsec = (ms % 1000) * 1000000; in timespec_from_ms()
Dpoll.cpp38 int poll(pollfd* fds, nfds_t fd_count, int ms) { in poll() argument
41 if (ms >= 0) { in poll()
42 timespec_from_ms(ts, ms); in poll()
Dpthread_cond.cpp212 extern "C" int pthread_cond_timeout_np(pthread_cond_t* cond, pthread_mutex_t* mutex, unsigned ms) { in pthread_cond_timeout_np() argument
214 timespec_from_ms(ts, ms); in pthread_cond_timeout_np()
Dpthread_mutex.cpp724 extern "C" int pthread_mutex_lock_timeout_np(pthread_mutex_t* mutex, unsigned ms) { in pthread_mutex_lock_timeout_np() argument
727 abs_timeout.tv_sec += ms / 1000; in pthread_mutex_lock_timeout_np()
728 abs_timeout.tv_nsec += (ms % 1000) * 1000000; in pthread_mutex_lock_timeout_np()
/bionic/libc/upstream-dlmalloc/
Dmalloc.c5490 mstate ms = (mstate)msp; in mspace_track_large_chunks() local
5491 if (!PREACTION(ms)) { in mspace_track_large_chunks()
5492 if (!use_mmap(ms)) { in mspace_track_large_chunks()
5496 enable_mmap(ms); in mspace_track_large_chunks()
5498 disable_mmap(ms); in mspace_track_large_chunks()
5500 POSTACTION(ms); in mspace_track_large_chunks()
5507 mstate ms = (mstate)msp; in destroy_mspace() local
5508 if (ok_magic(ms)) { in destroy_mspace()
5509 msegmentptr sp = &ms->seg; in destroy_mspace()
5510 (void)DESTROY_LOCK(&ms->mutex); /* destroy before unmapped */ in destroy_mspace()
[all …]
/bionic/libc/private/
Dbionic_time_conversions.h38 __LIBC_HIDDEN__ void timespec_from_ms(timespec& ts, const int ms);
/bionic/libc/kernel/uapi/drm/
Dvia_drm.h134 __u32 ms; member
/bionic/libc/kernel/uapi/linux/
Dnvme.h91 __le16 ms; member