Lines Matching full:timeout
20 int zvfs_poll_internal(struct zvfs_pollfd *fds, int nfds, k_timeout_t timeout) in zvfs_poll_internal() argument
36 end = sys_timepoint_calc(timeout); in zvfs_poll_internal()
64 timeout = K_NO_WAIT; in zvfs_poll_internal()
65 end = sys_timepoint_calc(timeout); in zvfs_poll_internal()
96 if (K_TIMEOUT_EQ(timeout, K_FOREVER)) { in zvfs_poll_internal()
99 poll_timeout = k_ticks_to_ms_floor32(timeout.ticks); in zvfs_poll_internal()
106 timeout = sys_timepoint_timeout(end); in zvfs_poll_internal()
109 ret = k_poll(poll_events, pev - poll_events, timeout); in zvfs_poll_internal()
110 /* EAGAIN when timeout expired, EINTR when cancelled (i.e. EOF) */ in zvfs_poll_internal()
161 timeout = sys_timepoint_timeout(end); in zvfs_poll_internal()
163 if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in zvfs_poll_internal()
174 k_timeout_t timeout; in z_impl_zvfs_poll() local
177 timeout = K_FOREVER; in z_impl_zvfs_poll()
179 timeout = K_MSEC(poll_timeout); in z_impl_zvfs_poll()
182 return zvfs_poll_internal(fds, nfds, timeout); in z_impl_zvfs_poll()
186 static inline int z_vrfy_zvfs_poll(struct zvfs_pollfd *fds, int nfds, int timeout) in z_vrfy_zvfs_poll() argument
203 ret = z_impl_zvfs_poll(fds_copy, nfds, timeout); in z_vrfy_zvfs_poll()