Home
last modified time | relevance | path

Searched refs:k_condvar (Results 1 – 25 of 29) sorted by relevance

12

/Zephyr-Core-3.6.0/kernel/
Dcondvar.c21 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/
Dcond.c20 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()
Dbarrier.c17 struct k_condvar cond;
Deventfd.c177 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/
Dtracing_string_format_test.c207 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()
Dtracing_test.h513 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/
Dfdtable.c31 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/
Dfdtable.h126 struct k_condvar **cond);
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/att/read_fill_buf/testlib/
Dconnect.c15 struct k_condvar done;
Dadv.c18 struct k_condvar done;
Dsecurity.c18 struct k_condvar done;
Dscan.c15 struct k_condvar done;
Datt_read.c24 struct k_condvar done;
/Zephyr-Core-3.6.0/tests/bluetooth/common/testlib/src/
Dadv.c18 struct k_condvar done;
Datt_write.c22 struct k_condvar done;
Dconnect.c18 struct k_condvar done;
Dsecurity.c21 struct k_condvar done;
Dscan.c18 struct k_condvar done;
Datt_read.c28 struct k_condvar done;
207 struct k_condvar done;
296 struct k_condvar done;
/Zephyr-Core-3.6.0/include/zephyr/modem/
Dpipe.h76 struct k_condvar condvar;
/Zephyr-Core-3.6.0/tests/kernel/condvar/condvar_api/src/
Dmain.c23 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/
Dcondvar.rst47 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/
Dcommon-ram.ld85 ITERABLE_SECTION_RAM_GC_ALLOWED(k_condvar, 4)
/Zephyr-Core-3.6.0/tests/subsys/tracing/tracing_api/src/
Dmain.c120 struct k_condvar condvar; in ZTEST()
/Zephyr-Core-3.6.0/include/zephyr/
Dkernel.h3012 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) = \

12