Home
last modified time | relevance | path

Searched refs:K_TIMEOUT_EQ (Results 1 – 25 of 39) sorted by relevance

12

/Zephyr-Core-2.7.6/tests/kernel/mbox/mbox_usage/src/
Dmain.c44 if (K_TIMEOUT_EQ(timeout, K_FOREVER)) { in msg_sender()
46 } else if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in msg_sender()
67 if (K_TIMEOUT_EQ(timeout, K_FOREVER)) { in msg_receiver()
70 } else if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in msg_receiver()
/Zephyr-Core-2.7.6/kernel/
Dtimer.c35 if (!K_TIMEOUT_EQ(timer->period, K_NO_WAIT) && in z_timer_expiration_handler()
36 !K_TIMEOUT_EQ(timer->period, K_FOREVER)) { in z_timer_expiration_handler()
101 if (K_TIMEOUT_EQ(duration, K_FOREVER)) { in z_impl_k_timer_start()
118 if (!K_TIMEOUT_EQ(period, K_FOREVER) && period.ticks != 0 && in z_impl_k_timer_start()
Dmsg_q.c118 __ASSERT(!arch_is_in_isr() || K_TIMEOUT_EQ(timeout, K_NO_WAIT), ""); in z_impl_k_msgq_put()
155 } else if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in z_impl_k_msgq_put()
208 __ASSERT(!arch_is_in_isr() || K_TIMEOUT_EQ(timeout, K_NO_WAIT), ""); in z_impl_k_msgq_get()
251 } else if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in z_impl_k_msgq_get()
Dsem.c122 K_TIMEOUT_EQ(timeout, K_NO_WAIT)), ""); in z_impl_k_sem_take()
135 if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in z_impl_k_sem_take()
Dtimeout.c91 if (K_TIMEOUT_EQ(timeout, K_FOREVER)) { in z_add_timeout()
368 if (K_TIMEOUT_EQ(timeout, K_FOREVER)) { in sys_clock_timeout_end_calc()
370 } else if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in sys_clock_timeout_end_calc()
Dpipes.c297 if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in pipe_xfer_prepare()
507 if (!K_TIMEOUT_EQ(timeout, K_NO_WAIT) in z_pipe_put_internal()
525 if (!K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in z_pipe_put_internal()
677 if (!K_TIMEOUT_EQ(timeout, K_NO_WAIT) in z_impl_k_pipe_get()
696 if (!K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in z_impl_k_pipe_get()
Dpoll.c289 K_TIMEOUT_EQ(timeout, K_NO_WAIT)); in z_impl_k_poll()
309 if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in z_impl_k_poll()
701 if (work->poller.is_polling && !K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in k_work_poll_submit_to_queue()
710 if (!K_TIMEOUT_EQ(timeout, K_FOREVER)) { in k_work_poll_submit_to_queue()
Dkheap.c73 __ASSERT(!arch_is_in_isr() || K_TIMEOUT_EQ(timeout, K_NO_WAIT), ""); in k_heap_aligned_alloc()
Dmailbox.c283 if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in mbox_message_put()
430 if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in k_mbox_get()
Dmem_slab.c121 } else if (K_TIMEOUT_EQ(timeout, K_NO_WAIT) || in k_mem_slab_alloc()
Dstack.c156 if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in z_impl_k_stack_pop()
Dthread.c383 if (K_TIMEOUT_EQ(delay, K_NO_WAIT)) { in schedule_new_thread()
627 if (!K_TIMEOUT_EQ(delay, K_FOREVER)) { in z_impl_k_thread_create()
699 if (!K_TIMEOUT_EQ(delay, K_FOREVER)) { in z_vrfy_k_thread_create()
Dmutex.c127 if (unlikely(K_TIMEOUT_EQ(timeout, K_NO_WAIT))) { in z_impl_k_mutex_lock()
/Zephyr-Core-2.7.6/tests/net/socket/socketpair/src/
Dtest_socketpair_poll.c105 if (!(K_TIMEOUT_EQ(ctx.delay, K_NO_WAIT) in close_fun()
106 || K_TIMEOUT_EQ(ctx.delay, K_FOREVER))) { in close_fun()
261 if (!(K_TIMEOUT_EQ(ctx.delay, K_NO_WAIT) in rw_fun()
262 || K_TIMEOUT_EQ(ctx.delay, K_FOREVER))) { in rw_fun()
/Zephyr-Core-2.7.6/include/
Dsys_clock.h80 #define K_TIMEOUT_EQ(a, b) ((a).ticks == (b).ticks) macro
/Zephyr-Core-2.7.6/include/net/
Dnet_offload.h36 if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in timeout_to_int32()
38 } else if (K_TIMEOUT_EQ(timeout, K_FOREVER)) { in timeout_to_int32()
/Zephyr-Core-2.7.6/subsys/net/lib/sockets/
Dsockets.c520 if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in zsock_accept_ctx()
655 K_TIMEOUT_EQ(timeout, K_FOREVER)) { in zsock_sendto_ctx()
733 K_TIMEOUT_EQ(timeout, K_FOREVER)) { in zsock_sendmsg_ctx()
1173 if (!K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in zsock_recv_stream()
1237 if (!K_TIMEOUT_EQ(timeout, K_NO_WAIT) && in zsock_recv_stream()
1238 !K_TIMEOUT_EQ(timeout, K_FOREVER)) { in zsock_recv_stream()
1490 if (K_TIMEOUT_EQ(timeout, K_FOREVER)) { in zsock_poll_internal()
1501 if (!K_TIMEOUT_EQ(timeout, K_NO_WAIT) && in zsock_poll_internal()
1502 !K_TIMEOUT_EQ(timeout, K_FOREVER)) { in zsock_poll_internal()
1569 if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in zsock_poll_internal()
[all …]
Dsockets_net_mgmt.c186 if (K_TIMEOUT_EQ(timeout, K_FOREVER)) { in znet_mgmt_recvfrom()
/Zephyr-Core-2.7.6/subsys/net/lib/http/
Dhttp_client.c666 if (!K_TIMEOUT_EQ(req->internal.timeout, K_FOREVER) && in http_client_req()
667 !K_TIMEOUT_EQ(req->internal.timeout, K_NO_WAIT)) { in http_client_req()
681 if (!K_TIMEOUT_EQ(req->internal.timeout, K_FOREVER) && in http_client_req()
682 !K_TIMEOUT_EQ(req->internal.timeout, K_NO_WAIT)) { in http_client_req()
/Zephyr-Core-2.7.6/lib/posix/
Dpthread_mutex.c51 if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in acquire_mutex()
Dmqueue.c394 errno = K_TIMEOUT_EQ(timeout, K_NO_WAIT) ? EAGAIN : ETIMEDOUT; in send_message()
421 errno = K_TIMEOUT_EQ(timeout, K_NO_WAIT) ? EAGAIN : ETIMEDOUT; in receive_message()
/Zephyr-Core-2.7.6/tests/bluetooth/bsim_bt/bsim_test_mesh/src/
Dmesh_test.c283 if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in blocking_recv()
419 if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in bt_mesh_test_send()
/Zephyr-Core-2.7.6/subsys/net/
Dbuf.c274 if (K_TIMEOUT_EQ(timeout, K_FOREVER)) { in net_buf_alloc_len_debug()
314 if (!K_TIMEOUT_EQ(timeout, K_NO_WAIT) && in net_buf_alloc_len_debug()
315 !K_TIMEOUT_EQ(timeout, K_FOREVER)) { in net_buf_alloc_len_debug()
561 if (!K_TIMEOUT_EQ(timeout, K_NO_WAIT) && in net_buf_clone()
562 !K_TIMEOUT_EQ(timeout, K_FOREVER)) { in net_buf_clone()
/Zephyr-Core-2.7.6/subsys/net/lib/websocket/
Dwebsocket.c557 K_TIMEOUT_EQ(tout, K_NO_WAIT) ? MSG_DONTWAIT : 0); in websocket_prepare_and_send()
784 K_TIMEOUT_EQ(tout, K_NO_WAIT) ? MSG_DONTWAIT : 0); in websocket_recv_msg()
870 K_TIMEOUT_EQ(tout, K_NO_WAIT) ? MSG_DONTWAIT : 0); in websocket_recv_msg()
/Zephyr-Core-2.7.6/subsys/net/ip/
Dnet_pkt.c889 if (!K_TIMEOUT_EQ(timeout, K_NO_WAIT) &&
890 !K_TIMEOUT_EQ(timeout, K_FOREVER)) {
1179 if (!K_TIMEOUT_EQ(timeout, K_NO_WAIT) &&
1180 !K_TIMEOUT_EQ(timeout, K_FOREVER)) {
1428 if (!K_TIMEOUT_EQ(timeout, K_NO_WAIT) &&
1429 !K_TIMEOUT_EQ(timeout, K_FOREVER)) {

12