Searched refs:ms (Results 1 – 9 of 9) sorted by relevance
45 void timespec_from_ms(timespec& ts, const int ms) { in timespec_from_ms() argument46 ts.tv_sec = ms / 1000; in timespec_from_ms()47 ts.tv_nsec = (ms % 1000) * 1000000; in timespec_from_ms()
40 int poll(pollfd* fds, nfds_t fd_count, int ms) { in poll() argument43 if (ms >= 0) { in poll()44 timespec_from_ms(ts, ms); in poll()
246 pthread_mutex_t* mutex, unsigned ms) { in pthread_cond_timeout_np() argument248 timespec_from_ms(ts, ms); in pthread_cond_timeout_np()
615 extern "C" int pthread_mutex_lock_timeout_np(pthread_mutex_t* mutex_interface, unsigned ms) { in pthread_mutex_lock_timeout_np() argument618 abs_timeout.tv_sec += ms / 1000; in pthread_mutex_lock_timeout_np()619 abs_timeout.tv_nsec += (ms % 1000) * 1000000; in pthread_mutex_lock_timeout_np()
5490 mstate ms = (mstate)msp; in mspace_track_large_chunks() local5491 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() local5508 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 …]
38 __LIBC_HIDDEN__ void timespec_from_ms(timespec& ts, const int ms);
94 static inline void timespec_add_ms(timespec& ts, size_t ms) { in timespec_add_ms() argument95 ts.tv_sec += ms / 1000; in timespec_add_ms()96 ts.tv_nsec += (ms % 1000) * 1000000; in timespec_add_ms()
134 __u32 ms; member
112 __le16 ms; member