Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/kernel/
Dqueue.c58 void z_impl_k_queue_init(struct k_queue *queue) in z_impl_k_queue_init()
67 SYS_PORT_TRACING_OBJ_INIT(k_queue, queue); in z_impl_k_queue_init()
73 static inline void z_vrfy_k_queue_init(struct k_queue *queue) in z_vrfy_k_queue_init()
87 static inline void handle_poll_events(struct k_queue *queue, uint32_t state) in handle_poll_events()
94 void z_impl_k_queue_cancel_wait(struct k_queue *queue) in z_impl_k_queue_cancel_wait()
96 SYS_PORT_TRACING_OBJ_FUNC(k_queue, cancel_wait, queue); in z_impl_k_queue_cancel_wait()
112 static inline void z_vrfy_k_queue_cancel_wait(struct k_queue *queue) in z_vrfy_k_queue_cancel_wait()
120 static int32_t queue_insert(struct k_queue *queue, void *prev, void *data, in queue_insert()
126 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_queue, queue_insert, queue, alloc); in queue_insert()
134 SYS_PORT_TRACING_OBJ_FUNC_BLOCKING(k_queue, queue_insert, queue, alloc, K_FOREVER); in queue_insert()
[all …]
/Zephyr-Core-2.7.6/tests/kernel/queue/src/
Dtest_queue_loop.c16 static struct k_queue queue;
21 static void tqueue_append(struct k_queue *pqueue) in tqueue_append()
39 static void tqueue_get(struct k_queue *pqueue) in tqueue_get()
58 static void tqueue_find_and_remove(struct k_queue *pqueue) in tqueue_find_and_remove()
71 tqueue_find_and_remove((struct k_queue *)p); in tIsr_entry()
73 tqueue_get((struct k_queue *)p); in tIsr_entry()
75 tqueue_append((struct k_queue *)p); in tIsr_entry()
81 tqueue_find_and_remove((struct k_queue *)p1); in tThread_entry()
83 tqueue_get((struct k_queue *)p1); in tThread_entry()
86 tqueue_append((struct k_queue *)p1); in tThread_entry()
[all …]
Dtest_queue_contexts.c17 struct k_queue queue;
34 static void tqueue_append(struct k_queue *pqueue) in tqueue_append()
65 static void tqueue_get(struct k_queue *pqueue) in tqueue_get()
96 tqueue_append((struct k_queue *)p); in tIsr_entry_append()
101 tqueue_get((struct k_queue *)p); in tIsr_entry_get()
106 tqueue_get((struct k_queue *)p1); in tThread_entry()
110 static void tqueue_thread_thread(struct k_queue *pqueue) in tqueue_thread_thread()
122 static void tqueue_thread_isr(struct k_queue *pqueue) in tqueue_thread_isr()
130 static void tqueue_isr_thread(struct k_queue *pqueue) in tqueue_isr_thread()
212 zassert_true(k_queue_get((struct k_queue *)p1, K_FOREVER) != NULL, in tThread_get()
[all …]
Dtest_queue_fail.c24 static struct k_queue queue; in test_queue_get_fail()
36 k_queue_get((struct k_queue *)p1, K_FOREVER); in tThread_entry()
57 static struct k_queue queue; in test_queue_append_list_error()
100 static struct k_queue queue; in test_queue_merge_list_error()
249 struct k_queue *q; in test_queue_cancel_wait_error()
Dtest_queue_user.c30 struct k_queue *q = p1; in child_thread_get()
79 struct k_queue *q; in test_queue_supv_to_user()
131 struct k_queue *q; in test_queue_alloc_prepend_user()
165 struct k_queue *q; in test_queue_alloc_append_user()
/Zephyr-Core-2.7.6/samples/userspace/prod_consumer/src/
Dmain.h19 extern struct k_queue shared_queue_incoming;
20 extern struct k_queue shared_queue_outgoing;
/Zephyr-Core-2.7.6/subsys/tracing/test/
Dtracing_test.h505 void sys_trace_k_queue_init(struct k_queue *queue);
506 void sys_trace_k_queue_cancel_wait(struct k_queue *queue);
507 void sys_trace_k_queue_queue_insert_enter(struct k_queue *queue, bool alloc, void *data);
508 void sys_trace_k_queue_queue_insert_blocking(struct k_queue *queue, bool alloc, void *data);
509 void sys_trace_k_queue_queue_insert_exit(struct k_queue *queue, bool alloc, void *data, int ret);
510 void sys_trace_k_queue_append_enter(struct k_queue *queue, void *data);
511 void sys_trace_k_queue_append_exit(struct k_queue *queue, void *data);
512 void sys_trace_k_queue_alloc_append_enter(struct k_queue *queue, void *data);
513 void sys_trace_k_queue_alloc_append_exit(struct k_queue *queue, void *data, int ret);
514 void sys_trace_k_queue_prepend_enter(struct k_queue *queue, void *data);
[all …]
/Zephyr-Core-2.7.6/include/
Dkernel.h70 struct k_queue;
1649 struct k_queue { struct
1686 __syscall void k_queue_init(struct k_queue *queue);
1703 __syscall void k_queue_cancel_wait(struct k_queue *queue);
1719 extern void k_queue_append(struct k_queue *queue, void *data);
1737 __syscall int32_t k_queue_alloc_append(struct k_queue *queue, void *data);
1753 extern void k_queue_prepend(struct k_queue *queue, void *data);
1771 __syscall int32_t k_queue_alloc_prepend(struct k_queue *queue, void *data);
1788 extern void k_queue_insert(struct k_queue *queue, void *prev, void *data);
1808 extern int k_queue_append_list(struct k_queue *queue, void *head, void *tail);
[all …]
/Zephyr-Core-2.7.6/tests/kernel/mutex/mutex_error_case/src/
Dtest_mutex_error.c19 static struct k_queue queue;
/Zephyr-Core-2.7.6/samples/userspace/prod_consumer/
DREADME.rst25 application-to-application IPC (using ``k_queue``)
44 of the shared memory pool, and enqueue this data into a ``k_queue`` being
/Zephyr-Core-2.7.6/include/linker/
Dcommon-ram.ld88 ITERABLE_SECTION_RAM_GC_ALLOWED(k_queue, 4)
/Zephyr-Core-2.7.6/tests/kernel/mem_protect/mem_protect/src/
Dkobject.c83 struct k_queue *q; in test_kobject_access_grant_error_user()
1263 struct k_queue *q; in test_alloc_kobjects()
1324 struct k_queue q;
/Zephyr-Core-2.7.6/cmake/linker_script/common/
Dcommon-ram.cmake59 zephyr_iterable_section(NAME k_queue GROUP DATA_REGION ${XIP_ALIGN_WITH_INPUT} SUBALIGN 4)
/Zephyr-Core-2.7.6/soc/xtensa/esp32s2/
Dlinker.ld168 Z_LINK_ITERABLE_GC_ALLOWED(k_queue);
/Zephyr-Core-2.7.6/soc/xtensa/esp32/
Dlinker.ld175 Z_LINK_ITERABLE_GC_ALLOWED(k_queue);
/Zephyr-Core-2.7.6/doc/releases/
Drelease-notes-1.8.rst28 * Added k_queue API for Kernel
Drelease-notes-1.12.rst54 * k_queue: allow user mode access via allocators
Drelease-notes-2.0.rst1485 * :github:`3673` - reconsider k_queue APIs
Drelease-notes-2.7.rst1954 * :github:`37222` - k_queue data corruption, override user data after reserved heading word
/Zephyr-Core-2.7.6/doc/reference/usermode/
Dsyscalls.rst13 directly. For example, the ``k_queue`` APIs were intentionally not made
/Zephyr-Core-2.7.6/doc/reference/kernel/threads/
Dworkqueue.rst411 example when it's put into a :c:struct:`k_queue` by some thread and processed