/Zephyr-Core-2.7.6/tests/kernel/mbox/mbox_usage/src/ |
D | main.c | 44 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/ |
D | timer.c | 35 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()
|
D | msg_q.c | 118 __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()
|
D | sem.c | 122 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()
|
D | timeout.c | 91 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()
|
D | pipes.c | 297 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()
|
D | poll.c | 289 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()
|
D | kheap.c | 73 __ASSERT(!arch_is_in_isr() || K_TIMEOUT_EQ(timeout, K_NO_WAIT), ""); in k_heap_aligned_alloc()
|
D | mailbox.c | 283 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()
|
D | mem_slab.c | 121 } else if (K_TIMEOUT_EQ(timeout, K_NO_WAIT) || in k_mem_slab_alloc()
|
D | stack.c | 156 if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in z_impl_k_stack_pop()
|
D | thread.c | 383 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()
|
D | mutex.c | 127 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/ |
D | test_socketpair_poll.c | 105 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/ |
D | sys_clock.h | 80 #define K_TIMEOUT_EQ(a, b) ((a).ticks == (b).ticks) macro
|
/Zephyr-Core-2.7.6/include/net/ |
D | net_offload.h | 36 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/ |
D | sockets.c | 520 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 …]
|
D | sockets_net_mgmt.c | 186 if (K_TIMEOUT_EQ(timeout, K_FOREVER)) { in znet_mgmt_recvfrom()
|
/Zephyr-Core-2.7.6/subsys/net/lib/http/ |
D | http_client.c | 666 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/ |
D | pthread_mutex.c | 51 if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in acquire_mutex()
|
D | mqueue.c | 394 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/ |
D | mesh_test.c | 283 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/ |
D | buf.c | 274 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/ |
D | websocket.c | 557 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/ |
D | net_pkt.c | 889 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)) {
|