Lines Matching refs:timeout
33 k_timeout_t timeout) in k_fifo_wait_non_empty() argument
40 return k_poll(events, ARRAY_SIZE(events), timeout); in k_fifo_wait_non_empty()
251 k_timeout_t timeout = K_FOREVER; in zpacket_sendto_ctx() local
260 timeout = K_NO_WAIT; in zpacket_sendto_ctx()
262 net_context_get_option(ctx, NET_OPT_SNDTIMEO, &timeout, NULL); in zpacket_sendto_ctx()
266 NULL, timeout, ctx->user_data); in zpacket_sendto_ctx()
278 k_timeout_t timeout = K_FOREVER; in zpacket_sendmsg_ctx() local
282 timeout = K_NO_WAIT; in zpacket_sendmsg_ctx()
284 net_context_get_option(ctx, NET_OPT_SNDTIMEO, &timeout, NULL); in zpacket_sendmsg_ctx()
287 status = net_context_sendmsg(ctx, msg, flags, NULL, timeout, NULL); in zpacket_sendmsg_ctx()
301 k_timeout_t timeout = K_FOREVER; in zpacket_recvfrom_ctx() local
305 timeout = K_NO_WAIT; in zpacket_recvfrom_ctx()
307 net_context_get_option(ctx, NET_OPT_RCVTIMEO, &timeout, NULL); in zpacket_recvfrom_ctx()
313 res = k_fifo_wait_non_empty(&ctx->recv_q, timeout); in zpacket_recvfrom_ctx()
322 pkt = k_fifo_get(&ctx->recv_q, timeout); in zpacket_recvfrom_ctx()