/Zephyr-Core-2.7.6/kernel/ |
D | condvar.c | 16 int z_impl_k_condvar_init(struct k_condvar *condvar) in z_impl_k_condvar_init() argument 18 z_waitq_init(&condvar->wait_q); in z_impl_k_condvar_init() 19 z_object_init(condvar); in z_impl_k_condvar_init() 21 SYS_PORT_TRACING_OBJ_INIT(k_condvar, condvar, 0); in z_impl_k_condvar_init() 27 int z_vrfy_k_condvar_init(struct k_condvar *condvar) in z_vrfy_k_condvar_init() argument 29 Z_OOPS(Z_SYSCALL_OBJ_INIT(condvar, K_OBJ_CONDVAR)); in z_vrfy_k_condvar_init() 30 return z_impl_k_condvar_init(condvar); in z_vrfy_k_condvar_init() 35 int z_impl_k_condvar_signal(struct k_condvar *condvar) in z_impl_k_condvar_signal() argument 39 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_condvar, signal, condvar); in z_impl_k_condvar_signal() 41 struct k_thread *thread = z_unpend_first_thread(&condvar->wait_q); in z_impl_k_condvar_signal() [all …]
|
D | CMakeLists.txt | 46 condvar.c
|
/Zephyr-Core-2.7.6/subsys/tracing/test/ |
D | tracing_string_format_test.c | 189 void sys_trace_k_condvar_broadcast_enter(struct k_condvar *condvar) in sys_trace_k_condvar_broadcast_enter() argument 191 TRACING_STRING("%s: %p\n", __func__, condvar); in sys_trace_k_condvar_broadcast_enter() 194 void sys_trace_k_condvar_broadcast_exit(struct k_condvar *condvar, int ret) in sys_trace_k_condvar_broadcast_exit() argument 196 TRACING_STRING("%s: %p\n", __func__, condvar); in sys_trace_k_condvar_broadcast_exit() 199 void sys_trace_k_condvar_init(struct k_condvar *condvar, int ret) in sys_trace_k_condvar_init() argument 201 TRACING_STRING("%s: %p\n", __func__, condvar); in sys_trace_k_condvar_init() 204 void sys_trace_k_condvar_signal_enter(struct k_condvar *condvar) in sys_trace_k_condvar_signal_enter() argument 206 TRACING_STRING("%s: %p\n", __func__, condvar); in sys_trace_k_condvar_signal_enter() 209 void sys_trace_k_condvar_signal_blocking(struct k_condvar *condvar) in sys_trace_k_condvar_signal_blocking() argument 211 TRACING_STRING("%s: %p\n", __func__, condvar); in sys_trace_k_condvar_signal_blocking() [all …]
|
D | tracing_test.h | 142 #define sys_port_trace_k_condvar_init(condvar, ret) sys_trace_k_condvar_init(condvar, ret) argument 143 #define sys_port_trace_k_condvar_signal_enter(condvar) sys_trace_k_condvar_signal_enter(condvar) argument 144 #define sys_port_trace_k_condvar_signal_blocking(condvar, timeout) \ argument 145 sys_trace_k_condvar_signal_blocking(condvar) 146 #define sys_port_trace_k_condvar_signal_exit(condvar, ret) \ argument 147 sys_trace_k_condvar_signal_exit(condvar, ret) 148 #define sys_port_trace_k_condvar_broadcast_enter(condvar) \ argument 149 sys_trace_k_condvar_broadcast_enter(condvar) 150 #define sys_port_trace_k_condvar_broadcast_exit(condvar, ret) \ argument 151 sys_trace_k_condvar_broadcast_exit(condvar, ret) [all …]
|
/Zephyr-Core-2.7.6/tests/subsys/tracing/tracing_api/src/ |
D | main.c | 117 struct k_condvar condvar; in test_tracing_sys_api() local 156 sys_trace_k_condvar_broadcast_enter(&condvar); in test_tracing_sys_api() 157 sys_trace_k_condvar_broadcast_exit(&condvar, ret); in test_tracing_sys_api() 158 sys_trace_k_condvar_init(&condvar, ret); in test_tracing_sys_api() 159 sys_trace_k_condvar_signal_enter(&condvar); in test_tracing_sys_api() 160 sys_trace_k_condvar_signal_blocking(&condvar); in test_tracing_sys_api() 161 sys_trace_k_condvar_signal_exit(&condvar, ret); in test_tracing_sys_api() 162 sys_trace_k_condvar_wait_enter(&condvar, &mutex, timeout); in test_tracing_sys_api() 163 sys_trace_k_condvar_wait_exit(&condvar, &mutex, timeout, ret); in test_tracing_sys_api()
|
/Zephyr-Core-2.7.6/samples/kernel/condition_variables/simple/src/ |
D | main.c | 20 K_CONDVAR_DEFINE(condvar); 45 k_condvar_signal(&condvar); in worker_thread() 76 k_condvar_wait(&condvar, &mutex, K_FOREVER); in main()
|
/Zephyr-Core-2.7.6/include/pm/ |
D | device.h | 102 struct k_condvar condvar; member 114 .condvar = Z_CONDVAR_INITIALIZER(obj.condvar),
|
/Zephyr-Core-2.7.6/subsys/tracing/user/ |
D | tracing_user.h | 144 #define sys_port_trace_k_condvar_init(condvar, ret) argument 145 #define sys_port_trace_k_condvar_signal_enter(condvar) argument 146 #define sys_port_trace_k_condvar_signal_blocking(condvar, timeout) argument 147 #define sys_port_trace_k_condvar_signal_exit(condvar, ret) argument 148 #define sys_port_trace_k_condvar_broadcast_enter(condvar) argument 149 #define sys_port_trace_k_condvar_broadcast_exit(condvar, ret) argument 150 #define sys_port_trace_k_condvar_wait_enter(condvar) argument 151 #define sys_port_trace_k_condvar_wait_exit(condvar, ret) argument
|
/Zephyr-Core-2.7.6/include/tracing/ |
D | tracing.h | 852 #define sys_port_trace_k_condvar_init(condvar, ret) argument 858 #define sys_port_trace_k_condvar_signal_enter(condvar) argument 865 #define sys_port_trace_k_condvar_signal_blocking(condvar, timeout) argument 872 #define sys_port_trace_k_condvar_signal_exit(condvar, ret) argument 878 #define sys_port_trace_k_condvar_broadcast_enter(condvar) argument 885 #define sys_port_trace_k_condvar_broadcast_exit(condvar, ret) argument 891 #define sys_port_trace_k_condvar_wait_enter(condvar) argument 898 #define sys_port_trace_k_condvar_wait_exit(condvar, ret) argument
|
/Zephyr-Core-2.7.6/subsys/tracing/ctf/ |
D | tracing_ctf.h | 163 #define sys_port_trace_k_condvar_init(condvar, ret) argument 164 #define sys_port_trace_k_condvar_signal_enter(condvar) argument 165 #define sys_port_trace_k_condvar_signal_blocking(condvar, timeout) argument 166 #define sys_port_trace_k_condvar_signal_exit(condvar, ret) argument 167 #define sys_port_trace_k_condvar_broadcast_enter(condvar) argument 168 #define sys_port_trace_k_condvar_broadcast_exit(condvar, ret) argument 169 #define sys_port_trace_k_condvar_wait_enter(condvar) argument 170 #define sys_port_trace_k_condvar_wait_exit(condvar, ret) argument
|
/Zephyr-Core-2.7.6/tests/kernel/condvar/condvar_api/ |
D | CMakeLists.txt | 5 project(condvar) project
|
/Zephyr-Core-2.7.6/samples/kernel/condition_variables/simple/ |
D | CMakeLists.txt | 5 project(condvar) project
|
/Zephyr-Core-2.7.6/samples/kernel/condition_variables/condvar/ |
D | CMakeLists.txt | 5 project(condvar) project
|
/Zephyr-Core-2.7.6/subsys/tracing/sysview/ |
D | tracing_sysview.h | 453 #define sys_port_trace_k_condvar_init(condvar, ret) \ argument 454 SEGGER_SYSVIEW_RecordU32(TID_CONDVAR_INIT, (uint32_t)(uintptr_t)condvar) 456 #define sys_port_trace_k_condvar_signal_enter(condvar) \ argument 457 SEGGER_SYSVIEW_RecordU32(TID_CONDVAR_SIGNAL, (uint32_t)(uintptr_t)condvar) 459 #define sys_port_trace_k_condvar_signal_blocking(condvar, timeout) argument 461 #define sys_port_trace_k_condvar_signal_exit(condvar, ret) \ argument 464 #define sys_port_trace_k_condvar_broadcast_enter(condvar) \ argument 465 SEGGER_SYSVIEW_RecordU32(TID_CONDVAR_BROADCAST, (uint32_t)(uintptr_t)condvar) 467 #define sys_port_trace_k_condvar_broadcast_exit(condvar, ret) \ argument 470 #define sys_port_trace_k_condvar_wait_enter(condvar) \ argument [all …]
|
D | SYSVIEW_Zephyr.txt | 120 109 k_condvar_init condvar=%I 121 110 k_condvar_signal condvar=%I 122 111 k_condvar_broadcast condvar=%I 123 112 k_condvar_wait condvar=%I
|
/Zephyr-Core-2.7.6/subsys/pm/ |
D | device_runtime.c | 51 (void)k_condvar_broadcast(&dev->pm->condvar); in pm_device_runtime_state_set() 135 ret = k_condvar_wait(&dev->pm->condvar, &dev->pm->lock, in pm_device_request() 240 ret = k_condvar_wait(&dev->pm->condvar, &dev->pm->lock, in pm_device_wait()
|
/Zephyr-Core-2.7.6/doc/reference/kernel/synchronization/ |
D | condvar.rst | 78 K_CONDVAR_DEFINE(condvar) 88 k_condvar_wait(&condvar, &mutex, K_FOREVER); 112 k_condvar_signal(&condvar);
|
/Zephyr-Core-2.7.6/tests/kernel/condvar/condvar_api/src/ |
D | main.c | 47 void condvar_isr_wake(const void *condvar) in condvar_isr_wake() argument 49 k_condvar_signal((struct k_condvar *)condvar); in condvar_isr_wake() 52 void condvar_wake_from_isr(struct k_condvar *condvar) in condvar_wake_from_isr() argument 54 irq_offload(condvar_isr_wake, (const void *)condvar); in condvar_wake_from_isr()
|
/Zephyr-Core-2.7.6/doc/reference/kernel/threads/ |
D | nothread.rst | 65 * :ref:`condvar`
|
/Zephyr-Core-2.7.6/doc/reference/kernel/ |
D | index.rst | 42 synchronization/condvar.rst
|
/Zephyr-Core-2.7.6/include/ |
D | kernel.h | 2670 __syscall int k_condvar_init(struct k_condvar *condvar); 2678 __syscall int k_condvar_signal(struct k_condvar *condvar); 2687 __syscall int k_condvar_broadcast(struct k_condvar *condvar); 2706 __syscall int k_condvar_wait(struct k_condvar *condvar, struct k_mutex *mutex,
|
/Zephyr-Core-2.7.6/doc/releases/ |
D | release-notes-2.6.rst | 1045 * Testcases of SMP, and enabled SMP for existed testing of semaphore, condvar, etc. 1595 * :github:`33558` - qemu_cortex_a53_smp and qemu_x86_64 failed in tests/kernel/condvar/condvar whil…
|