Searched refs:k_lifo (Results 1 – 12 of 12) sorted by relevance
/Zephyr-Core-2.7.6/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 test_lifo_get_fail()
|
/Zephyr-Core-2.7.6/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 *)&data[0]); in thread_entry_wait() 152 k_lifo_put((struct k_lifo *)p1, (void *)&data[1]); in thread_entry_wait() 202 k_lifo_put((struct k_lifo *)p1, get_scratch_packet()); in test_thread_put_timeout()
|
/Zephyr-Core-2.7.6/samples/philosophers/src/ |
D | phil_obj_abstract.h | 117 #define fork_t struct k_lifo * 122 struct k_lifo lifo;
|
/Zephyr-Core-2.7.6/doc/reference/kernel/data_passing/ |
D | queues.rst | 9 <fifos_v2>` and :ref:`k_lifo <lifos_v2>`. For more information on usage see
|
D | lifos.rst | 56 A LIFO is defined using a variable of type :c:struct:`k_lifo`. 63 struct k_lifo my_lifo;
|
/Zephyr-Core-2.7.6/tests/benchmarks/sys_kernel/src/ |
D | lifo.c | 11 struct k_lifo lifo1; 12 struct k_lifo lifo2;
|
/Zephyr-Core-2.7.6/tests/kernel/pending/src/ |
D | main.c | 63 static struct k_lifo lifo; 96 static inline void *my_lifo_get(struct k_lifo *lifo, int32_t timeout) in my_lifo_get() 163 void *(*get)(struct k_lifo *, int32_t), in lifo_tests() argument
|
/Zephyr-Core-2.7.6/include/ |
D | kernel.h | 72 struct k_lifo; 2260 struct k_lifo { struct 2294 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_lifo, init, lifo); \ 2296 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_lifo, init, lifo); \ 2315 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_lifo, put, lifo, data); \ 2317 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_lifo, put, lifo, data); \ 2338 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_lifo, alloc_put, lifo, data); \ 2340 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_lifo, alloc_put, lifo, data, ret); \ 2363 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_lifo, get, lifo, timeout); \ 2365 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_lifo, get, lifo, timeout, ret); \ [all …]
|
/Zephyr-Core-2.7.6/subsys/tracing/test/ |
D | tracing_test.h | 551 void sys_trace_k_lifo_init_enter(struct k_lifo *lifo); 552 void sys_trace_k_lifo_init_exit(struct k_lifo *lifo); 553 void sys_trace_k_lifo_put_enter(struct k_lifo *lifo, void *data); 554 void sys_trace_k_lifo_put_exit(struct k_lifo *lifo, void *data); 555 void sys_trace_k_lifo_alloc_put_enter(struct k_lifo *lifo, void *data); 556 void sys_trace_k_lifo_alloc_put_exit(struct k_lifo *lifo, void *data, int ret); 557 void sys_trace_k_lifo_get_enter(struct k_lifo *lifo, k_timeout_t timeout); 558 void sys_trace_k_lifo_get_exit(struct k_lifo *lifo, k_timeout_t timeout, void *ret);
|
/Zephyr-Core-2.7.6/include/net/ |
D | buf.h | 974 struct k_lifo free;
|