/Zephyr-latest/tests/kernel/lifo/lifo_api/src/ |
D | test_lifo_fail.c | 25 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()
|
D | test_lifo_contexts.c | 14 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()
|
D | test_lifo_loop.c | 14 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/ |
D | lifo.c | 30 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/ |
D | main.c | 62 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/ |
D | README.rst | 21 * Time it takes to wait on a fifo.lifo.(and context switch) 78 …lifo.put.immediate.kernel - Add data to LIFO (no ctx switch) : … 79 …lifo.get.immediate.kernel - Get data from LIFO (no ctx switch) : … 80 …lifo.put.alloc.immediate.kernel - Allocate to add data to LIFO (no ctx switch) : … 81 …lifo.get.free.immediate.kernel - Free when getting data from LIFO (no ctx switch) : … 82 …lifo.get.blocking.k_to_k - Get data from LIFO (w/ ctx switch) : … 83 …lifo.put.wake+ctx.k_to_k - Add data to LIFO (w/ ctx switch) : … 84 …lifo.get.free.blocking.k_to_k - Free when getting data from LIFO (w/ ctx switch) : … 85 …lifo.put.alloc.wake+ctx.k_to_k - Allocate to add data to LIFO (w/ ctx siwtch) : … 131 …lifo.put.immediate.kernel - Add data to LIFO (no ctx switch) : … [all …]
|
/Zephyr-latest/subsys/tracing/test/ |
D | tracing_test.h | 251 #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/ |
D | main.c | 102 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/ |
D | main.c | 14 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/ |
D | tracing.h | 1233 #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/ |
D | tracing_sysview.h | 475 #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 …]
|
D | SYSVIEW_Zephyr.txt | 159 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/ |
D | kernel.h | 2768 #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/ |
D | tracing_user.h | 278 #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/ |
D | tracing_ctf.h | 238 #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/ |
D | phil_obj_abstract.h | 122 struct k_lifo lifo; member
|
/Zephyr-latest/kernel/ |
D | queue.c | 471 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/ |
D | README.txt | 6 lifo, fifo, stack and memslab objects.
|
/Zephyr-latest/doc/releases/ |
D | release-notes-2.5.rst | 1105 * :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
|
D | release-notes-2.6.rst | 1653 * :github:`33314` - [Coverity CID: 219726] Side effect in assertion in tests/kernel/lifo/lifo_usage…
|
D | release-notes-1.14.rst | 1399 * :github:`13960` - tests/kernel/lifo/lifo_usage fails on m2gl025_miv
|