Home
last modified time | relevance | path

Searched refs:lifo (Results 1 – 21 of 21) sorted by relevance

/Zephyr-latest/tests/kernel/lifo/lifo_api/src/
Dtest_lifo_fail.c25 static struct k_lifo lifo; in ZTEST() local
27 k_lifo_init(&lifo); in ZTEST()
29 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_contexts.c14 struct k_lifo lifo; variable
98 k_lifo_init(&lifo); in ZTEST()
99 tlifo_thread_thread(&lifo); in ZTEST()
112 k_lifo_init(&lifo); in ZTEST()
113 tlifo_thread_isr(&lifo); in ZTEST()
126 k_lifo_init(&lifo); in ZTEST()
127 tlifo_isr_thread(&lifo); in ZTEST()
Dtest_lifo_loop.c14 static struct k_lifo lifo; variable
101 k_lifo_init(&lifo); in ZTEST()
104 tlifo_read_write(&lifo); in ZTEST()
/Zephyr-latest/tests/benchmarks/latency_measure/src/
Dlifo.c30 static K_LIFO_DEFINE(lifo);
49 k_lifo_put(&lifo, lifo_data); in lifo_put_get_thread_entry()
53 data = k_lifo_get(&lifo, K_NO_WAIT); in lifo_put_get_thread_entry()
74 k_lifo_alloc_put(&lifo, lifo_data); in lifo_put_get_thread_entry()
78 data = k_lifo_get(&lifo, K_NO_WAIT); in lifo_put_get_thread_entry()
110 k_thread_access_grant(&start_thread, &pause_sem, &lifo); in lifo_ops()
187 data = k_lifo_get(&lifo, K_FOREVER); in alt_thread_entry()
208 data = k_lifo_get(&lifo, K_FOREVER); in alt_thread_entry()
247 k_lifo_put(&lifo, lifo_data); in start_thread_entry()
258 k_lifo_alloc_put(&lifo, lifo_data); in start_thread_entry()
[all …]
/Zephyr-latest/tests/kernel/pending/src/
Dmain.c62 static struct k_lifo lifo; variable
171 data = get(&lifo, timeout); in lifo_tests()
183 data = get(&lifo, timeout); in lifo_tests()
241 k_lifo_init(&lifo); in task_high()
416 k_lifo_put(&lifo, &lifo_test_data[0]); in ZTEST()
417 k_lifo_put(&lifo, &lifo_test_data[1]); in ZTEST()
418 k_lifo_put(&lifo, &lifo_test_data[2]); in ZTEST()
419 k_lifo_put(&lifo, &lifo_test_data[3]); in ZTEST()
/Zephyr-latest/tests/benchmarks/latency_measure/
DREADME.rst21 * Time it takes to wait on a fifo.lifo.(and context switch)
78lifo.put.immediate.kernel - Add data to LIFO (no ctx switch) : …
79lifo.get.immediate.kernel - Get data from LIFO (no ctx switch) : …
80lifo.put.alloc.immediate.kernel - Allocate to add data to LIFO (no ctx switch) : …
81lifo.get.free.immediate.kernel - Free when getting data from LIFO (no ctx switch) : …
82lifo.get.blocking.k_to_k - Get data from LIFO (w/ ctx switch) : …
83lifo.put.wake+ctx.k_to_k - Add data to LIFO (w/ ctx switch) : …
84lifo.get.free.blocking.k_to_k - Free when getting data from LIFO (w/ ctx switch) : …
85lifo.put.alloc.wake+ctx.k_to_k - Allocate to add data to LIFO (w/ ctx siwtch) : …
131lifo.put.immediate.kernel - Add data to LIFO (no ctx switch) : …
[all …]
/Zephyr-latest/subsys/tracing/test/
Dtracing_test.h251 #define sys_port_trace_k_lifo_init_enter(lifo) sys_trace_k_lifo_init_enter(lifo) argument
253 #define sys_port_trace_k_lifo_init_exit(lifo) sys_trace_k_lifo_init_exit(lifo) argument
255 #define sys_port_trace_k_lifo_put_enter(lifo, data) sys_trace_k_lifo_put_enter(lifo, data) argument
257 #define sys_port_trace_k_lifo_put_exit(lifo, data) sys_trace_k_lifo_put_exit(lifo, data) argument
259 #define sys_port_trace_k_lifo_alloc_put_enter(lifo, data) \ argument
260 sys_trace_k_lifo_alloc_put_enter(lifo, data)
262 #define sys_port_trace_k_lifo_alloc_put_exit(lifo, data, ret) \ argument
263 sys_trace_k_lifo_alloc_put_exit(lifo, data, ret)
265 #define sys_port_trace_k_lifo_get_enter(lifo, timeout) sys_trace_k_lifo_get_enter(lifo, timeout) argument
267 #define sys_port_trace_k_lifo_get_exit(lifo, timeout, ret) \ argument
[all …]
/Zephyr-latest/tests/integration/kernel/src/
Dmain.c102 K_LIFO_DEFINE(lifo);
137 k_lifo_put(&lifo, &lifo_data[i]); in ZTEST()
142 thread_entry_fn_lifo, &lifo, NULL, NULL, in ZTEST()
150 rx_data = k_lifo_get(&lifo, K_NO_WAIT); in ZTEST()
/Zephyr-latest/tests/kernel/lifo/lifo_usage/src/
Dmain.c14 struct k_lifo lifo, plifo; variable
218 k_lifo_init(&lifo); in ZTEST()
223 k_lifo_put(&lifo, (void *)&lifo_data[0]); in ZTEST()
226 thread_entry_nowait, &lifo, NULL, NULL, in ZTEST()
229 k_lifo_put(&lifo, (void *)&lifo_data[1]); in ZTEST()
/Zephyr-latest/include/zephyr/tracing/
Dtracing.h1233 #define sys_port_trace_k_lifo_init_enter(lifo) argument
1239 #define sys_port_trace_k_lifo_init_exit(lifo) argument
1246 #define sys_port_trace_k_lifo_put_enter(lifo, data) argument
1253 #define sys_port_trace_k_lifo_put_exit(lifo, data) argument
1260 #define sys_port_trace_k_lifo_alloc_put_enter(lifo, data) argument
1268 #define sys_port_trace_k_lifo_alloc_put_exit(lifo, data, ret) argument
1275 #define sys_port_trace_k_lifo_get_enter(lifo, timeout) argument
1283 #define sys_port_trace_k_lifo_get_exit(lifo, timeout, ret) argument
/Zephyr-latest/subsys/tracing/sysview/
Dtracing_sysview.h475 #define sys_port_trace_k_lifo_init_enter(lifo) \ argument
476 SEGGER_SYSVIEW_RecordU32(TID_LIFO_INIT, (uint32_t)(uintptr_t)lifo)
478 #define sys_port_trace_k_lifo_init_exit(lifo) SEGGER_SYSVIEW_RecordEndCall(TID_LIFO_INIT) argument
480 #define sys_port_trace_k_lifo_put_enter(lifo, data) \ argument
481 SEGGER_SYSVIEW_RecordU32x2(TID_LIFO_PUT, (uint32_t)(uintptr_t)lifo, \
484 #define sys_port_trace_k_lifo_put_exit(lifo, data) SEGGER_SYSVIEW_RecordEndCall(TID_LIFO_PUT) argument
486 #define sys_port_trace_k_lifo_alloc_put_enter(lifo, data) \ argument
487 SEGGER_SYSVIEW_RecordU32x2(TID_LIFO_ALLOC_PUT, (uint32_t)(uintptr_t)lifo, \
489 #define sys_port_trace_k_lifo_alloc_put_exit(lifo, data, ret) \ argument
492 #define sys_port_trace_k_lifo_get_enter(lifo, timeout) \ argument
[all …]
DSYSVIEW_Zephyr.txt159 151 k_lifo_init lifo=%I
160 152 k_lifo_put lifo=%I
161 153 k_lifo_get lifo=%I, Timeout=%TimeOut
162 154 k_lifo_alloc_put lifo=%I, data=%I
/Zephyr-latest/include/zephyr/
Dkernel.h2768 #define k_lifo_init(lifo) \ argument
2770 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_lifo, init, lifo); \
2771 k_queue_init(&(lifo)->_queue); \
2772 K_OBJ_CORE_INIT(K_OBJ_CORE(lifo), _obj_type_lifo); \
2773 K_OBJ_CORE_LINK(K_OBJ_CORE(lifo)); \
2774 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_lifo, init, lifo); \
2789 #define k_lifo_put(lifo, data) \ argument
2792 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_lifo, put, lifo, _data); \
2793 k_queue_prepend(&(lifo)->_queue, _data); \
2794 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_lifo, put, lifo, _data); \
[all …]
/Zephyr-latest/subsys/tracing/user/
Dtracing_user.h278 #define sys_port_trace_k_lifo_init_enter(lifo) argument
279 #define sys_port_trace_k_lifo_init_exit(lifo) argument
280 #define sys_port_trace_k_lifo_put_enter(lifo, data) argument
281 #define sys_port_trace_k_lifo_put_exit(lifo, data) argument
282 #define sys_port_trace_k_lifo_alloc_put_enter(lifo, data) argument
283 #define sys_port_trace_k_lifo_alloc_put_exit(lifo, data, ret) argument
284 #define sys_port_trace_k_lifo_get_enter(lifo, timeout) argument
285 #define sys_port_trace_k_lifo_get_exit(lifo, timeout, ret) argument
/Zephyr-latest/subsys/tracing/ctf/
Dtracing_ctf.h238 #define sys_port_trace_k_lifo_init_enter(lifo) argument
239 #define sys_port_trace_k_lifo_init_exit(lifo) argument
240 #define sys_port_trace_k_lifo_put_enter(lifo, data) argument
241 #define sys_port_trace_k_lifo_put_exit(lifo, data) argument
242 #define sys_port_trace_k_lifo_alloc_put_enter(lifo, data) argument
243 #define sys_port_trace_k_lifo_alloc_put_exit(lifo, data, ret) argument
244 #define sys_port_trace_k_lifo_get_enter(lifo, timeout) argument
245 #define sys_port_trace_k_lifo_get_exit(lifo, timeout, ret) argument
/Zephyr-latest/samples/philosophers/src/
Dphil_obj_abstract.h122 struct k_lifo lifo; member
/Zephyr-latest/kernel/
Dqueue.c471 STRUCT_SECTION_FOREACH(k_lifo, lifo) { in init_lifo_obj_core_list()
472 k_obj_core_init_and_link(K_OBJ_CORE(lifo), &_obj_type_lifo); in init_lifo_obj_core_list()
/Zephyr-latest/tests/benchmarks/sys_kernel/
DREADME.txt6 lifo, fifo, stack and memslab objects.
/Zephyr-latest/doc/releases/
Drelease-notes-2.5.rst1105 * :github:`31549` - tests/kernel/lifo/lifo_usage/kernel.lifo.usage fails on m2gl025_miv
1808 * :github:`26163` - qemu_arc_{em,hs} keeps failing in CI on tests/kernel/lifo/lifo_usage
Drelease-notes-2.6.rst1653 * :github:`33314` - [Coverity CID: 219726] Side effect in assertion in tests/kernel/lifo/lifo_usage…
Drelease-notes-1.14.rst1399 * :github:`13960` - tests/kernel/lifo/lifo_usage fails on m2gl025_miv