Home
last modified time | relevance | path

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

/Zephyr-latest/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-latest/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;
/Zephyr-latest/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.h528 void sys_trace_k_condvar_init(struct k_condvar *condvar, int ret);
529 void sys_trace_k_condvar_signal_enter(struct k_condvar *condvar);
530 void sys_trace_k_condvar_signal_blocking(struct k_condvar *condvar);
531 void sys_trace_k_condvar_signal_exit(struct k_condvar *condvar, int ret);
532 void sys_trace_k_condvar_broadcast_enter(struct k_condvar *condvar);
533 void sys_trace_k_condvar_broadcast_exit(struct k_condvar *condvar, int ret);
534 void sys_trace_k_condvar_wait_enter(struct k_condvar *condvar, struct k_mutex *mutex,
536 void sys_trace_k_condvar_wait_exit(struct k_condvar *condvar, struct k_mutex *mutex,
/Zephyr-latest/tests/bluetooth/common/testlib/src/
Datt_write.c22 struct k_condvar done;
Dsecurity.c21 struct k_condvar done;
Dadv.c18 struct k_condvar done;
Dconnect.c18 struct k_condvar conn_cb_connected_match;
Dscan.c18 struct k_condvar done;
Datt_read.c28 struct k_condvar done;
207 struct k_condvar done;
296 struct k_condvar done;
/Zephyr-latest/lib/os/
Dfdtable.c35 struct k_condvar cond;
145 struct k_condvar ref_cond; in fdtable_fd_is_initialized()
156 ref_cond = (struct k_condvar)Z_CONDVAR_INITIALIZER(fdtable[fd].cond); in fdtable_fd_is_initialized()
198 struct k_condvar **cond) in zvfs_get_obj_lock_and_cond()
/Zephyr-latest/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-latest/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-latest/include/zephyr/sys/
Dfdtable.h191 struct k_condvar **cond);
/Zephyr-latest/lib/os/zvfs/
Dzvfs_eventfd.c178 struct k_condvar *cond = NULL; in zvfs_eventfd_close_op()
308 struct k_condvar *cond = NULL; in zvfs_eventfd_rw_op()
/Zephyr-latest/tests/subsys/tracing/tracing_api/src/
Dmain.c120 struct k_condvar condvar; in ZTEST()
/Zephyr-latest/include/zephyr/linker/
Dcommon-ram.ld89 ITERABLE_SECTION_RAM_GC_ALLOWED(k_condvar, Z_LINK_ITERABLE_SUBALIGN)
/Zephyr-latest/tests/kernel/obj_core/obj_core/src/
Dmain.c41 static struct k_condvar condvar2;
/Zephyr-latest/include/zephyr/
Dkernel.h3136 struct k_condvar { struct
3161 __syscall int k_condvar_init(struct k_condvar *condvar);
3169 __syscall int k_condvar_signal(struct k_condvar *condvar);
3178 __syscall int k_condvar_broadcast(struct k_condvar *condvar);
3197 __syscall int k_condvar_wait(struct k_condvar *condvar, struct k_mutex *mutex,
3211 STRUCT_SECTION_ITERABLE(k_condvar, name) = \
/Zephyr-latest/cmake/linker_script/common/
Dcommon-ram.cmake48 zephyr_iterable_section(NAME k_condvar GROUP DATA_REGION ${XIP_ALIGN_WITH_INPUT} SUBALIGN ${CONFIG_…
/Zephyr-latest/tests/kernel/mem_protect/mem_protect/src/
Dkobject.c1261 struct k_condvar *condvar; in ZTEST()
1328 struct k_condvar condvar;
/Zephyr-latest/include/zephyr/net/
Dnet_context.h286 struct k_condvar recv;
/Zephyr-latest/drivers/i3c/
Di3c_mcux.c99 struct k_condvar condvar;