/Zephyr-Core-3.6.0/kernel/ |
D | condvar.c | 21 int z_impl_k_condvar_init(struct k_condvar *condvar) in z_impl_k_condvar_init() 30 SYS_PORT_TRACING_OBJ_INIT(k_condvar, condvar, 0); in z_impl_k_condvar_init() 36 int z_vrfy_k_condvar_init(struct k_condvar *condvar) in z_vrfy_k_condvar_init() 44 int z_impl_k_condvar_signal(struct k_condvar *condvar) in z_impl_k_condvar_signal() 48 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_condvar, signal, condvar); in z_impl_k_condvar_signal() 53 SYS_PORT_TRACING_OBJ_FUNC_BLOCKING(k_condvar, signal, condvar, K_FOREVER); in z_impl_k_condvar_signal() 62 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_condvar, signal, condvar, 0); in z_impl_k_condvar_signal() 68 int z_vrfy_k_condvar_signal(struct k_condvar *condvar) in z_vrfy_k_condvar_signal() 76 int z_impl_k_condvar_broadcast(struct k_condvar *condvar) in z_impl_k_condvar_broadcast() 84 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_condvar, broadcast, condvar); in z_impl_k_condvar_broadcast() [all …]
|
/Zephyr-Core-3.6.0/lib/posix/options/ |
D | cond.c | 20 static struct k_condvar posix_cond_pool[CONFIG_MAX_PTHREAD_COND_COUNT]; 31 static inline size_t posix_cond_to_offset(struct k_condvar *cv) in posix_cond_to_offset() 41 static struct k_condvar *get_posix_cond(pthread_cond_t cond) in get_posix_cond() 67 static struct k_condvar *to_posix_cond(pthread_cond_t *cvar) in to_posix_cond() 70 struct k_condvar *cv; in to_posix_cond() 94 struct k_condvar *cv; in cond_wait() 121 struct k_condvar *cv; in pthread_cond_signal() 143 struct k_condvar *cv; in pthread_cond_broadcast() 174 struct k_condvar *cv; in pthread_cond_init() 194 struct k_condvar *cv; in pthread_cond_destroy()
|
D | barrier.c | 17 struct k_condvar cond;
|
D | eventfd.c | 177 struct k_condvar *cond = NULL; in eventfd_close_op() 305 struct k_condvar *cond = NULL; in eventfd_rw_op()
|
/Zephyr-Core-3.6.0/subsys/tracing/test/ |
D | tracing_string_format_test.c | 207 void sys_trace_k_condvar_broadcast_enter(struct k_condvar *condvar) in sys_trace_k_condvar_broadcast_enter() 212 void sys_trace_k_condvar_broadcast_exit(struct k_condvar *condvar, int ret) in sys_trace_k_condvar_broadcast_exit() 217 void sys_trace_k_condvar_init(struct k_condvar *condvar, int ret) in sys_trace_k_condvar_init() 222 void sys_trace_k_condvar_signal_enter(struct k_condvar *condvar) in sys_trace_k_condvar_signal_enter() 227 void sys_trace_k_condvar_signal_blocking(struct k_condvar *condvar) in sys_trace_k_condvar_signal_blocking() 232 void sys_trace_k_condvar_signal_exit(struct k_condvar *condvar, int ret) in sys_trace_k_condvar_signal_exit() 237 void sys_trace_k_condvar_wait_enter(struct k_condvar *condvar, struct k_mutex *mutex, in sys_trace_k_condvar_wait_enter() 243 void sys_trace_k_condvar_wait_exit(struct k_condvar *condvar, struct k_mutex *mutex, in sys_trace_k_condvar_wait_exit()
|
D | tracing_test.h | 513 void sys_trace_k_condvar_init(struct k_condvar *condvar, int ret); 514 void sys_trace_k_condvar_signal_enter(struct k_condvar *condvar); 515 void sys_trace_k_condvar_signal_blocking(struct k_condvar *condvar); 516 void sys_trace_k_condvar_signal_exit(struct k_condvar *condvar, int ret); 517 void sys_trace_k_condvar_broadcast_enter(struct k_condvar *condvar); 518 void sys_trace_k_condvar_broadcast_exit(struct k_condvar *condvar, int ret); 519 void sys_trace_k_condvar_wait_enter(struct k_condvar *condvar, struct k_mutex *mutex, 521 void sys_trace_k_condvar_wait_exit(struct k_condvar *condvar, struct k_mutex *mutex,
|
/Zephyr-Core-3.6.0/lib/os/ |
D | fdtable.c | 31 struct k_condvar cond; 139 struct k_condvar ref_cond; in fdtable_fd_is_initialized() 150 ref_cond = (struct k_condvar)Z_CONDVAR_INITIALIZER(fdtable[fd].cond); in fdtable_fd_is_initialized() 192 struct k_condvar **cond) in z_get_obj_lock_and_cond()
|
/Zephyr-Core-3.6.0/include/zephyr/sys/ |
D | fdtable.h | 126 struct k_condvar **cond);
|
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/att/read_fill_buf/testlib/ |
D | connect.c | 15 struct k_condvar done;
|
D | adv.c | 18 struct k_condvar done;
|
D | security.c | 18 struct k_condvar done;
|
D | scan.c | 15 struct k_condvar done;
|
D | att_read.c | 24 struct k_condvar done;
|
/Zephyr-Core-3.6.0/tests/bluetooth/common/testlib/src/ |
D | adv.c | 18 struct k_condvar done;
|
D | att_write.c | 22 struct k_condvar done;
|
D | connect.c | 18 struct k_condvar done;
|
D | security.c | 21 struct k_condvar done;
|
D | scan.c | 18 struct k_condvar done;
|
D | att_read.c | 28 struct k_condvar done; 207 struct k_condvar done; 296 struct k_condvar done;
|
/Zephyr-Core-3.6.0/include/zephyr/modem/ |
D | pipe.h | 76 struct k_condvar condvar;
|
/Zephyr-Core-3.6.0/tests/kernel/condvar/condvar_api/src/ |
D | main.c | 23 struct k_condvar simple_condvar; 35 struct k_condvar multiple_condvar[TOTAL_THREADS_WAITING]; 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()
|
/Zephyr-Core-3.6.0/doc/kernel/services/synchronization/ |
D | condvar.rst | 47 A condition variable is defined using a variable of type :c:struct:`k_condvar`. 54 struct k_condvar my_condvar;
|
/Zephyr-Core-3.6.0/include/zephyr/linker/ |
D | common-ram.ld | 85 ITERABLE_SECTION_RAM_GC_ALLOWED(k_condvar, 4)
|
/Zephyr-Core-3.6.0/tests/subsys/tracing/tracing_api/src/ |
D | main.c | 120 struct k_condvar condvar; in ZTEST()
|
/Zephyr-Core-3.6.0/include/zephyr/ |
D | kernel.h | 3012 struct k_condvar { struct 3037 __syscall int k_condvar_init(struct k_condvar *condvar); 3045 __syscall int k_condvar_signal(struct k_condvar *condvar); 3054 __syscall int k_condvar_broadcast(struct k_condvar *condvar); 3073 __syscall int k_condvar_wait(struct k_condvar *condvar, struct k_mutex *mutex, 3087 STRUCT_SECTION_ITERABLE(k_condvar, name) = \
|