/Zephyr-Core-3.7.0/kernel/ |
D | sem.c | 45 int z_impl_k_sem_init(struct k_sem *sem, unsigned int initial_count, in z_impl_k_sem_init() 76 int z_vrfy_k_sem_init(struct k_sem *sem, unsigned int initial_count, in z_vrfy_k_sem_init() 85 static inline bool handle_poll_events(struct k_sem *sem) in handle_poll_events() 96 void z_impl_k_sem_give(struct k_sem *sem) in z_impl_k_sem_give() 124 static inline void z_vrfy_k_sem_give(struct k_sem *sem) in z_vrfy_k_sem_give() 132 int z_impl_k_sem_take(struct k_sem *sem, k_timeout_t timeout) in z_impl_k_sem_take() 166 void z_impl_k_sem_reset(struct k_sem *sem) in z_impl_k_sem_reset() 189 static inline int z_vrfy_k_sem_take(struct k_sem *sem, k_timeout_t timeout) in z_vrfy_k_sem_take() 196 static inline void z_vrfy_k_sem_reset(struct k_sem *sem) in z_vrfy_k_sem_reset() 203 static inline unsigned int z_vrfy_k_sem_count_get(struct k_sem *sem) in z_vrfy_k_sem_count_get()
|
/Zephyr-Core-3.7.0/lib/os/ |
D | sem.c | 47 int sys_sem_init(struct sys_sem *sem, unsigned int initial_count, in sys_sem_init() 61 int sys_sem_give(struct sys_sem *sem) in sys_sem_give() 82 int sys_sem_take(struct sys_sem *sem, k_timeout_t timeout) in sys_sem_take() 101 unsigned int sys_sem_count_get(struct sys_sem *sem) in sys_sem_count_get() 108 int sys_sem_init(struct sys_sem *sem, unsigned int initial_count, in sys_sem_init() 116 int sys_sem_give(struct sys_sem *sem) in sys_sem_give() 123 int sys_sem_take(struct sys_sem *sem, k_timeout_t timeout) in sys_sem_take() 135 unsigned int sys_sem_count_get(struct sys_sem *sem) in sys_sem_count_get()
|
/Zephyr-Core-3.7.0/lib/libc/armstdc/src/ |
D | threading_weak.c | 37 void __weak z_impl_k_sem_give(struct k_sem *sem) in z_impl_k_sem_give() 41 int __weak z_impl_k_sem_init(struct k_sem *sem, unsigned int initial_count, in z_impl_k_sem_init() 47 int __weak z_impl_k_sem_take(struct k_sem *sem, k_timeout_t timeout) in z_impl_k_sem_take()
|
/Zephyr-Core-3.7.0/tests/benchmarks/latency_measure/src/ |
D | int_to_thread.c | 41 struct k_sem *sem = (struct k_sem *)arg; in test_isr() local 75 struct k_sem *sem = p2; in start_thread_entry() local 108 struct k_sem *sem = p2; in alt_thread_entry() local
|
/Zephyr-Core-3.7.0/tests/posix/common/src/ |
D | semaphore.c | 18 sem_t *sem = (sem_t *)p1; in child_func() local 24 static void semaphore_test(sem_t *sem) in semaphore_test() 129 sem_t *sem = (sem_t *)p; in nsem_close_func() local
|
/Zephyr-Core-3.7.0/drivers/misc/ethos_u/ |
D | ethos_u.c | 63 struct k_sem *sem; in ethosu_semaphore_create() local 76 int ethosu_semaphore_take(void *sem, uint64_t timeout) in ethosu_semaphore_take() 102 int ethosu_semaphore_give(void *sem) in ethosu_semaphore_give()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/mesh/src/ |
D | test_replay_cache.c | 55 struct k_sem *sem = data; in tx_ended() local 130 struct k_sem sem; in test_tx_immediate_replay_attack() local 195 struct k_sem sem; in test_tx_power_replay_attack() local 249 struct k_sem *sem = cb_data; in send_end_cb() local 271 struct k_sem sem; in msg_send() local
|
D | test_iv_index.c | 30 struct k_sem *sem = data; in async_send_end() local 132 struct k_sem sem; in test_ivu_deferring() local
|
D | test_transport.c | 84 struct k_sem *sem = data; in async_send_end() local 373 struct k_sem sem; in test_tx_seg_concurrent() local 399 struct k_sem sem; in test_tx_seg_ivu() local 446 struct k_sem sem; in test_tx_seg_fail() local
|
/Zephyr-Core-3.7.0/tests/kernel/mem_protect/obj_validation/src/ |
D | main.c | 29 static int test_object(struct k_sem *sem, int retval) in test_object() 51 void object_permission_checks(struct k_sem *sem, bool skip_init) in object_permission_checks()
|
/Zephyr-Core-3.7.0/tests/kernel/queue/src/ |
D | test_queue_user.c | 31 struct k_sem *sem = p2; in child_thread_get() local 80 struct k_sem *sem; in ZTEST() local
|
/Zephyr-Core-3.7.0/lib/posix/options/ |
D | semaphore.c | 17 sem_t sem; member 345 int sem_close(sem_t *sem) in sem_close() 362 int nsem_get_ref_count(sem_t *sem) in nsem_get_ref_count()
|
/Zephyr-Core-3.7.0/tests/kernel/common/src/ |
D | timeout_order.c | 14 static struct k_sem sem[NUM_TIMEOUTS]; variable
|
/Zephyr-Core-3.7.0/tests/kernel/obj_tracking/src/ |
D | main.c | 34 struct k_sem sem; in ZTEST() local
|
/Zephyr-Core-3.7.0/drivers/pwm/ |
D | pwm_capture.c | 17 struct k_sem sem; member
|
/Zephyr-Core-3.7.0/samples/drivers/can/babbling/src/ |
D | main.c | 21 struct k_sem sem; member
|
/Zephyr-Core-3.7.0/subsys/tracing/ctf/ |
D | ctf_top.c | 192 void sys_trace_k_sem_init(struct k_sem *sem, int ret) in sys_trace_k_sem_init() 200 void sys_trace_k_sem_take_enter(struct k_sem *sem, k_timeout_t timeout) in sys_trace_k_sem_take_enter() 209 void sys_trace_k_sem_take_blocking(struct k_sem *sem, k_timeout_t timeout) in sys_trace_k_sem_take_blocking() 217 void sys_trace_k_sem_take_exit(struct k_sem *sem, k_timeout_t timeout, int ret) in sys_trace_k_sem_take_exit() 226 void sys_trace_k_sem_reset(struct k_sem *sem) in sys_trace_k_sem_reset() 233 void sys_trace_k_sem_give_enter(struct k_sem *sem) in sys_trace_k_sem_give_enter() 240 void sys_trace_k_sem_give_exit(struct k_sem *sem) in sys_trace_k_sem_give_exit()
|
/Zephyr-Core-3.7.0/samples/sensor/isl29035/src/ |
D | main.c | 16 struct k_sem sem; variable
|
/Zephyr-Core-3.7.0/include/zephyr/tracing/ |
D | tracking.h | 82 #define sys_port_track_k_sem_reset(sem) argument 83 #define sys_port_track_k_sem_init(sem, ret) \ argument 139 #define sys_port_track_k_sem_reset(sem) argument 140 #define sys_port_track_k_sem_init(sem, ret) argument
|
/Zephyr-Core-3.7.0/drivers/modem/ |
D | modem_cmd_handler.c | 499 struct k_sem *sem, k_timeout_t timeout, int flags) in modem_cmd_send_ext() 577 struct k_sem *sem, k_timeout_t timeout) in modem_cmd_handler_setup_cmds() 611 size_t cmds_len, struct k_sem *sem, in modem_cmd_handler_setup_cmds_nolock()
|
/Zephyr-Core-3.7.0/tests/drivers/pwm/pwm_loopback/src/ |
D | test_pwm_loopback.h | 44 struct k_sem sem; member
|
/Zephyr-Core-3.7.0/soc/intel/intel_adsp/common/include/ |
D | intel_adsp_ipc.h | 67 struct k_sem sem; member
|
/Zephyr-Core-3.7.0/subsys/usb/device/ |
D | usb_transfer.c | 19 struct k_sem sem; member 38 struct k_sem sem; member
|
/Zephyr-Core-3.7.0/drivers/sensor/sx9500/ |
D | sx9500.h | 41 struct k_sem sem; member
|
/Zephyr-Core-3.7.0/tests/arch/arm/arm_irq_vector_table/src/ |
D | arm_irq_vector_table.c | 39 struct k_sem sem[3]; variable
|