Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/kernel/
Dcondvar.c16 int z_impl_k_condvar_init(struct k_condvar *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()
35 int z_impl_k_condvar_signal(struct k_condvar *condvar) in z_impl_k_condvar_signal()
39 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_condvar, signal, condvar); in z_impl_k_condvar_signal()
44 SYS_PORT_TRACING_OBJ_FUNC_BLOCKING(k_condvar, signal, condvar, K_FOREVER); in z_impl_k_condvar_signal()
53 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_condvar, signal, condvar, 0); in z_impl_k_condvar_signal()
59 int z_vrfy_k_condvar_signal(struct k_condvar *condvar) in z_vrfy_k_condvar_signal()
67 int z_impl_k_condvar_broadcast(struct k_condvar *condvar) in z_impl_k_condvar_broadcast()
75 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_condvar, broadcast, condvar); in z_impl_k_condvar_broadcast()
[all …]
/Zephyr-Core-3.4.0/lib/posix/
Dpthread_cond.c16 static struct k_condvar posix_cond_pool[CONFIG_MAX_PTHREAD_COND_COUNT];
27 static inline size_t posix_cond_to_offset(struct k_condvar *cv) in posix_cond_to_offset()
37 static struct k_condvar *get_posix_cond(pthread_cond_t cond) in get_posix_cond()
60 static struct k_condvar *to_posix_cond(pthread_cond_t *cvar) in to_posix_cond()
63 struct k_condvar *cv; in to_posix_cond()
86 struct k_condvar *cv; in cond_wait()
109 struct k_condvar *cv; in pthread_cond_signal()
129 struct k_condvar *cv; in pthread_cond_broadcast()
158 struct k_condvar *cv; in pthread_cond_init()
176 struct k_condvar *cv; in pthread_cond_destroy()
Dpthread_barrier.c16 struct k_condvar cond;
Deventfd.c146 struct k_condvar *cond = NULL; in eventfd_close_op()
274 struct k_condvar *cond = NULL; in eventfd_rw_op()
/Zephyr-Core-3.4.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.h517 void sys_trace_k_condvar_init(struct k_condvar *condvar, int ret);
518 void sys_trace_k_condvar_signal_enter(struct k_condvar *condvar);
519 void sys_trace_k_condvar_signal_blocking(struct k_condvar *condvar);
520 void sys_trace_k_condvar_signal_exit(struct k_condvar *condvar, int ret);
521 void sys_trace_k_condvar_broadcast_enter(struct k_condvar *condvar);
522 void sys_trace_k_condvar_broadcast_exit(struct k_condvar *condvar, int ret);
523 void sys_trace_k_condvar_wait_enter(struct k_condvar *condvar, struct k_mutex *mutex,
525 void sys_trace_k_condvar_wait_exit(struct k_condvar *condvar, struct k_mutex *mutex,
/Zephyr-Core-3.4.0/include/zephyr/sys/
Dfdtable.h126 struct k_condvar **cond);
/Zephyr-Core-3.4.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.4.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.4.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.4.0/lib/os/
Dfdtable.c29 struct k_condvar cond;
160 struct k_condvar **cond) in z_get_obj_lock_and_cond()
/Zephyr-Core-3.4.0/include/zephyr/linker/
Dcommon-ram.ld78 ITERABLE_SECTION_RAM_GC_ALLOWED(k_condvar, 4)
/Zephyr-Core-3.4.0/tests/subsys/tracing/tracing_api/src/
Dmain.c120 struct k_condvar condvar; in ZTEST()
/Zephyr-Core-3.4.0/include/zephyr/
Dkernel.h2930 struct k_condvar { struct
2951 __syscall int k_condvar_init(struct k_condvar *condvar);
2959 __syscall int k_condvar_signal(struct k_condvar *condvar);
2968 __syscall int k_condvar_broadcast(struct k_condvar *condvar);
2987 __syscall int k_condvar_wait(struct k_condvar *condvar, struct k_mutex *mutex,
3001 STRUCT_SECTION_ITERABLE(k_condvar, name) = \
/Zephyr-Core-3.4.0/cmake/linker_script/common/
Dcommon-ram.cmake45 zephyr_iterable_section(NAME k_condvar GROUP DATA_REGION ${XIP_ALIGN_WITH_INPUT} SUBALIGN 4)
/Zephyr-Core-3.4.0/include/zephyr/net/
Dnet_context.h280 struct k_condvar recv;
/Zephyr-Core-3.4.0/tests/kernel/mem_protect/mem_protect/src/
Dkobject.c1264 struct k_condvar *condvar; in ZTEST()
1331 struct k_condvar c;