Home
last modified time | relevance | path

Searched refs:MSEC_PER_SEC (Results 1 – 12 of 12) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/epoll_pwait/
Depoll_pwait_var.h13 #define MSEC_PER_SEC (1000L) macro
27 ts.tv_sec = timeout / MSEC_PER_SEC; in do_epoll_pwait()
28 ts.tv_nsec = NSEC_PER_MSEC * (timeout % MSEC_PER_SEC); in do_epoll_pwait()
/third_party/FreeBSD/sys/sys/
Dcallout.h45 #ifndef MSEC_PER_SEC
46 #define MSEC_PER_SEC 1000L macro
/third_party/NuttX/fs/vfs/
Dfs_poll.c46 #ifndef MSEC_PER_SEC
47 #define MSEC_PER_SEC 1000L macro
459 … millisecs_last = (curr_ticks - start_ticks) * MSEC_PER_SEC / LOSCFG_BASE_CORE_TICK_PER_SECOND; in poll()
470 wait_time.tv_sec = millisecs_left / MSEC_PER_SEC; in poll()
471 wait_time.tv_nsec = (millisecs_left - MSEC_PER_SEC * wait_time.tv_sec) * NSEC_PER_MSEC; in poll()
/third_party/FreeBSD/sys/kern/
Dkern_condvar.c44 abstime.tv_sec = tw_ms / MSEC_PER_SEC; in cv_timedwait()
45 abstime.tv_nsec = (tw_ms%MSEC_PER_SEC) * NSEC_PER_MSEC; in cv_timedwait()
/third_party/eudev/src/shared/
Dtime-util.h39 #define MSEC_PER_SEC 1000ULL macro
/third_party/eudev/src/udev/
Dudevadm-settle.c156 if (poll(pfd, 1, MSEC_PER_SEC) > 0 && pfd[0].revents & POLLIN) in adm_settle()
Dudev-event.c508 timeout = ((timeout_usec - age_usec) / USEC_PER_MSEC) + MSEC_PER_SEC; in spawn_read()
599 … timeout_warn = ((timeout_warn_usec - age_usec) / USEC_PER_MSEC) + MSEC_PER_SEC; in spawn_wait()
601 … timeout = ((timeout_usec - timeout_warn_usec - age_usec) / USEC_PER_MSEC) + MSEC_PER_SEC; in spawn_wait()
Dudev-ctrl.c293 r = poll(pfd, 1, timeout * MSEC_PER_SEC); in ctrl_send()
Dudevd.c1393 timeout = 30 * MSEC_PER_SEC; in main()
1399 timeout = 3 * MSEC_PER_SEC; in main()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_fence.c293 #define USEC_PER_SEC (1000 * MSEC_PER_SEC)
294 #define MSEC_PER_SEC (1000) macro
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_fence.c357 #define USEC_PER_SEC (1000 * MSEC_PER_SEC)
358 #define MSEC_PER_SEC (1000) macro
/third_party/pulseaudio/vala/
Dlibpulse.vapi1569 public const usec MSEC_PER_SEC;