/Zephyr-Core-2.7.6/kernel/ |
D | queue.c | 58 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/ |
D | test_queue_loop.c | 16 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 …]
|
D | test_queue_contexts.c | 17 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 …]
|
D | test_queue_fail.c | 24 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()
|
D | test_queue_user.c | 30 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/ |
D | main.h | 19 extern struct k_queue shared_queue_incoming; 20 extern struct k_queue shared_queue_outgoing;
|
/Zephyr-Core-2.7.6/subsys/tracing/test/ |
D | tracing_test.h | 505 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/ |
D | kernel.h | 70 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/ |
D | test_mutex_error.c | 19 static struct k_queue queue;
|
/Zephyr-Core-2.7.6/samples/userspace/prod_consumer/ |
D | README.rst | 25 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/ |
D | common-ram.ld | 88 ITERABLE_SECTION_RAM_GC_ALLOWED(k_queue, 4)
|
/Zephyr-Core-2.7.6/tests/kernel/mem_protect/mem_protect/src/ |
D | kobject.c | 83 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/ |
D | common-ram.cmake | 59 zephyr_iterable_section(NAME k_queue GROUP DATA_REGION ${XIP_ALIGN_WITH_INPUT} SUBALIGN 4)
|
/Zephyr-Core-2.7.6/soc/xtensa/esp32s2/ |
D | linker.ld | 168 Z_LINK_ITERABLE_GC_ALLOWED(k_queue);
|
/Zephyr-Core-2.7.6/soc/xtensa/esp32/ |
D | linker.ld | 175 Z_LINK_ITERABLE_GC_ALLOWED(k_queue);
|
/Zephyr-Core-2.7.6/doc/releases/ |
D | release-notes-1.8.rst | 28 * Added k_queue API for Kernel
|
D | release-notes-1.12.rst | 54 * k_queue: allow user mode access via allocators
|
D | release-notes-2.0.rst | 1485 * :github:`3673` - reconsider k_queue APIs
|
D | release-notes-2.7.rst | 1954 * :github:`37222` - k_queue data corruption, override user data after reserved heading word
|
/Zephyr-Core-2.7.6/doc/reference/usermode/ |
D | syscalls.rst | 13 directly. For example, the ``k_queue`` APIs were intentionally not made
|
/Zephyr-Core-2.7.6/doc/reference/kernel/threads/ |
D | workqueue.rst | 411 example when it's put into a :c:struct:`k_queue` by some thread and processed
|