Home
last modified time | relevance | path

Searched refs:k_lifo_get (Results 1 – 13 of 13) sorted by relevance

/Zephyr-Core-3.6.0/tests/kernel/lifo/lifo_usage/src/
Dmain.c81 void *packet = k_lifo_get(&scratch_lifo_packets_lifo, K_NO_WAIT); in get_scratch_packet()
96 ret = k_lifo_get((struct k_lifo *)p1, K_FOREVER); in thread_entry_nowait()
101 ret = k_lifo_get((struct k_lifo *)p1, K_FOREVER); in thread_entry_nowait()
131 k_lifo_get(&timeout_order_lifo, K_FOREVER); in test_multiple_threads_pending()
181 !!k_lifo_get(&lifo_timeout[0], K_NO_WAIT); in test_thread_timeout_reply_values()
194 !!k_lifo_get(&lifo_timeout[0], K_FOREVER); in test_thread_timeout_reply_values_wfe()
251 ret = k_lifo_get(&plifo, K_FOREVER); in ZTEST()
257 ret = k_lifo_get(&plifo, K_FOREVER); in ZTEST()
278 packet = k_lifo_get(&lifo_timeout[0], K_MSEC(timeout)); in ZTEST()
285 packet = k_lifo_get(&lifo_timeout[0], K_NO_WAIT); in ZTEST()
[all …]
/Zephyr-Core-3.6.0/tests/kernel/lifo/lifo_api/src/
Dtest_lifo_fail.c29 zassert_is_null(k_lifo_get(&lifo, K_NO_WAIT), NULL); in ZTEST()
30 zassert_is_null(k_lifo_get(&lifo, TIMEOUT), NULL); in ZTEST()
Dtest_lifo_loop.c34 rx_data = k_lifo_get(plifo, K_FOREVER); in tlifo_get()
Dtest_lifo_contexts.c36 rx_data = k_lifo_get(plifo, K_FOREVER); in tlifo_get()
/Zephyr-Core-3.6.0/tests/benchmarks/sys_kernel/src/
Dlifo.c48 pelement = k_lifo_get(&lifo1, K_FOREVER); in lifo_thread1()
54 pelement = k_lifo_get(&lifo1, K_FOREVER); in lifo_thread1()
86 pelement = k_lifo_get(&lifo2, K_FOREVER); in lifo_thread2()
116 while ((pelement = k_lifo_get(&lifo2, K_NO_WAIT)) == NULL) { in lifo_thread3()
235 pelement = k_lifo_get(&lifo2, K_FOREVER); in lifo_test()
239 pelement = k_lifo_get(&lifo2, K_FOREVER); in lifo_test()
/Zephyr-Core-3.6.0/tests/benchmarks/sys_kernel/
DREADME.txt54 k_lifo_get(K_FOREVER)
64 k_lifo_get(K_FOREVER)
65 k_lifo_get(K_NO_WAIT)
76 k_lifo_get(K_FOREVER)
78 k_lifo_get(K_FOREVER)
/Zephyr-Core-3.6.0/tests/benchmarks/latency_measure/src/
Dlifo.c53 data = k_lifo_get(&lifo, K_NO_WAIT); in lifo_put_get_thread_entry()
78 data = k_lifo_get(&lifo, K_NO_WAIT); in lifo_put_get_thread_entry()
187 data = k_lifo_get(&lifo, K_FOREVER); in alt_thread_entry()
208 data = k_lifo_get(&lifo, K_FOREVER); in alt_thread_entry()
/Zephyr-Core-3.6.0/subsys/net/
Dbuf.c258 buf = k_lifo_get(&pool->free, K_NO_WAIT); in net_buf_alloc_len_debug()
277 buf = k_lifo_get(&pool->free, K_NO_WAIT); in net_buf_alloc_len_debug()
286 buf = k_lifo_get(&pool->free, WARN_ALLOC_INTERVAL); in net_buf_alloc_len_debug()
298 buf = k_lifo_get(&pool->free, timeout); in net_buf_alloc_len_debug()
301 buf = k_lifo_get(&pool->free, timeout); in net_buf_alloc_len_debug()
/Zephyr-Core-3.6.0/samples/philosophers/src/
Dphil_obj_abstract.h133 data = k_lifo_get(x, K_FOREVER); \
/Zephyr-Core-3.6.0/doc/kernel/services/data_passing/
Dlifos.rst120 A data item is removed from a LIFO by calling :c:func:`k_lifo_get`.
133 rx_data = k_lifo_get(&my_lifo, K_FOREVER);
/Zephyr-Core-3.6.0/tests/kernel/pending/src/
Dmain.c97 return k_lifo_get(my_lifo, K_MSEC(timeout)); in my_lifo_get()
/Zephyr-Core-3.6.0/subsys/tracing/sysview/
DSYSVIEW_Zephyr.txt160 153 k_lifo_get lifo=%I, Timeout=%TimeOut
/Zephyr-Core-3.6.0/include/zephyr/
Dkernel.h2715 #define k_lifo_get(lifo, timeout) \ macro