/Zephyr-latest/tests/kernel/lifo/lifo_api/src/ |
D | test_lifo_contexts.c | 14 struct k_lifo lifo; 21 static void tlifo_put(struct k_lifo *plifo) in tlifo_put() 29 static void tlifo_get(struct k_lifo *plifo) in tlifo_get() 44 tlifo_put((struct k_lifo *)p); in tIsr_entry_put() 49 tlifo_get((struct k_lifo *)p); in tIsr_entry_get() 54 tlifo_get((struct k_lifo *)p1); in tThread_entry() 58 static void tlifo_thread_thread(struct k_lifo *plifo) in tlifo_thread_thread() 70 static void tlifo_thread_isr(struct k_lifo *plifo) in tlifo_thread_isr() 78 static void tlifo_isr_thread(struct k_lifo *plifo) in tlifo_isr_thread()
|
D | test_lifo_loop.c | 14 static struct k_lifo lifo; 19 static void tlifo_put(struct k_lifo *plifo) in tlifo_put() 27 static void tlifo_get(struct k_lifo *plifo) in tlifo_get() 43 tlifo_get((struct k_lifo *)p); in tIsr_entry() 45 tlifo_put((struct k_lifo *)p); in tIsr_entry() 51 tlifo_get((struct k_lifo *)p1); in tThread_entry() 54 tlifo_put((struct k_lifo *)p1); in tThread_entry() 59 static void tlifo_read_write(struct k_lifo *plifo) in tlifo_read_write()
|
D | test_lifo_fail.c | 25 static struct k_lifo lifo; in ZTEST()
|
/Zephyr-latest/tests/kernel/lifo/lifo_usage/src/ |
D | main.c | 14 struct k_lifo lifo, plifo; 16 struct k_lifo timeout_order_lifo; 37 struct k_lifo *klifo; 43 static struct k_lifo lifo_timeout[2]; 72 struct k_lifo scratch_lifo_packets_lifo; 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() 150 k_lifo_put((struct k_lifo *)p1, (void *)&lifo_data[0]); in thread_entry_wait() 152 k_lifo_put((struct k_lifo *)p1, (void *)&lifo_data[1]); in thread_entry_wait() 209 k_lifo_put((struct k_lifo *)p1, get_scratch_packet()); in test_thread_put_timeout()
|
/Zephyr-latest/doc/kernel/services/data_passing/ |
D | queues.rst | 9 <fifos_v2>` and :ref:`k_lifo <lifos_v2>`. For more information on usage see
|
D | lifos.rst | 62 A LIFO is defined using a variable of type :c:struct:`k_lifo`. 69 struct k_lifo my_lifo;
|
/Zephyr-latest/samples/philosophers/src/ |
D | phil_obj_abstract.h | 117 #define fork_t struct k_lifo * 122 struct k_lifo lifo;
|
/Zephyr-latest/tests/benchmarks/sys_kernel/src/ |
D | lifo.c | 11 struct k_lifo lifo1; 12 struct k_lifo lifo2;
|
/Zephyr-latest/tests/kernel/pending/src/ |
D | main.c | 62 static struct k_lifo lifo; 95 static inline void *my_lifo_get(struct k_lifo *my_lifo, int32_t timeout) in my_lifo_get() 162 void *(*get)(struct k_lifo *, int32_t), in lifo_tests() argument
|
/Zephyr-latest/tests/integration/kernel/src/ |
D | main.c | 112 rx_data = k_lifo_get((struct k_lifo *)p1, K_NO_WAIT); in thread_entry_fn_lifo() 119 k_lifo_put((struct k_lifo *)p1, &lifo_data[i]); in thread_entry_fn_lifo()
|
/Zephyr-latest/include/zephyr/ |
D | kernel.h | 79 struct k_lifo; 2735 struct k_lifo { struct 2770 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_lifo, init, lifo); \ 2774 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_lifo, init, lifo); \ 2792 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_lifo, put, lifo, _data); \ 2794 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_lifo, put, lifo, _data); \ 2816 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_lifo, alloc_put, lifo, _data); \ 2818 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_lifo, alloc_put, lifo, _data, lap_ret); \ 2841 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_lifo, get, lifo, timeout); \ 2843 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_lifo, get, lifo, timeout, lg_ret); \ [all …]
|
D | net_buf.h | 1080 struct k_lifo free;
|
/Zephyr-latest/subsys/tracing/test/ |
D | tracing_test.h | 585 void sys_trace_k_lifo_init_enter(struct k_lifo *lifo); 586 void sys_trace_k_lifo_init_exit(struct k_lifo *lifo); 587 void sys_trace_k_lifo_put_enter(struct k_lifo *lifo, void *data); 588 void sys_trace_k_lifo_put_exit(struct k_lifo *lifo, void *data); 589 void sys_trace_k_lifo_alloc_put_enter(struct k_lifo *lifo, void *data); 590 void sys_trace_k_lifo_alloc_put_exit(struct k_lifo *lifo, void *data, int ret); 591 void sys_trace_k_lifo_get_enter(struct k_lifo *lifo, k_timeout_t timeout); 592 void sys_trace_k_lifo_get_exit(struct k_lifo *lifo, k_timeout_t timeout, void *ret);
|
/Zephyr-latest/kernel/ |
D | queue.c | 467 offsetof(struct k_lifo, obj_core)); in init_lifo_obj_core_list() 471 STRUCT_SECTION_FOREACH(k_lifo, lifo) { in init_lifo_obj_core_list()
|
/Zephyr-latest/include/zephyr/linker/ |
D | common-ram.ld | 88 ITERABLE_SECTION_RAM_GC_ALLOWED(k_lifo, Z_LINK_ITERABLE_SUBALIGN)
|
/Zephyr-latest/tests/kernel/obj_core/obj_core/src/ |
D | main.c | 27 static struct k_lifo lifo2;
|
/Zephyr-latest/cmake/linker_script/common/ |
D | common-ram.cmake | 47 zephyr_iterable_section(NAME k_lifo GROUP DATA_REGION ${XIP_ALIGN_WITH_INPUT} SUBALIGN ${CONFIG_LIN…
|