Home
last modified time | relevance | path

Searched refs:MSEC_PER_SEC (Results 1 - 11 of 11) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/epoll_pwait/
H A 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/
H A Dcallout.h44 #ifndef MSEC_PER_SEC
45 #define MSEC_PER_SEC 1000L macro
/third_party/NuttX/fs/vfs/
H A 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/
H A 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/
H A Dtime-util.h39 #define MSEC_PER_SEC 1000ULL macro
/third_party/eudev/src/udev/
H A 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()
H A Dudevadm-settle.c156 if (poll(pfd, 1, MSEC_PER_SEC) > 0 && pfd[0].revents & POLLIN) in adm_settle()
H A Dudev-ctrl.c293 r = poll(pfd, 1, timeout * MSEC_PER_SEC); in ctrl_send()
H A Dudevd.c1393 timeout = 30 * MSEC_PER_SEC; in main()
1399 timeout = 3 * MSEC_PER_SEC; in main()
/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_fence.c358 #define USEC_PER_SEC (1000 * MSEC_PER_SEC)
359 #define MSEC_PER_SEC (1000) macro
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_fence.c293 #define USEC_PER_SEC (1000 * MSEC_PER_SEC)
294 #define MSEC_PER_SEC (1000) macro

Completed in 9 milliseconds