/Zephyr-Core-3.5.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.5.0/lib/os/ |
D | sem.c | 48 int sys_sem_init(struct sys_sem *sem, unsigned int initial_count, in sys_sem_init() 62 int sys_sem_give(struct sys_sem *sem) in sys_sem_give() 83 int sys_sem_take(struct sys_sem *sem, k_timeout_t timeout) in sys_sem_take() 102 unsigned int sys_sem_count_get(struct sys_sem *sem) in sys_sem_count_get() 109 int sys_sem_init(struct sys_sem *sem, unsigned int initial_count, in sys_sem_init() 117 int sys_sem_give(struct sys_sem *sem) in sys_sem_give() 124 int sys_sem_take(struct sys_sem *sem, k_timeout_t timeout) in sys_sem_take() 136 unsigned int sys_sem_count_get(struct sys_sem *sem) in sys_sem_count_get()
|
/Zephyr-Core-3.5.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.5.0/subsys/tracing/ctf/ |
D | ctf_top.c | 172 void sys_trace_k_sem_init(struct k_sem *sem, int ret) in sys_trace_k_sem_init() 180 void sys_trace_k_sem_take_enter(struct k_sem *sem, k_timeout_t timeout) in sys_trace_k_sem_take_enter() 189 void sys_trace_k_sem_take_blocking(struct k_sem *sem, k_timeout_t timeout) in sys_trace_k_sem_take_blocking() 197 void sys_trace_k_sem_take_exit(struct k_sem *sem, k_timeout_t timeout, int ret) in sys_trace_k_sem_take_exit() 206 void sys_trace_k_sem_reset(struct k_sem *sem) in sys_trace_k_sem_reset() 213 void sys_trace_k_sem_give_enter(struct k_sem *sem) in sys_trace_k_sem_give_enter() 220 void sys_trace_k_sem_give_exit(struct k_sem *sem) in sys_trace_k_sem_give_exit()
|
/Zephyr-Core-3.5.0/drivers/misc/ethos_u/ |
D | ethos_u.c | 62 struct k_sem *sem; in ethosu_semaphore_create() local 75 int ethosu_semaphore_take(void *sem) in ethosu_semaphore_take() 88 int ethosu_semaphore_give(void *sem) in ethosu_semaphore_give()
|
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/mesh/src/ |
D | test_replay_cache.c | 55 struct k_sem *sem = data; in tx_ended() local 134 struct k_sem sem; in test_tx_immediate_replay_attack() local 195 struct k_sem sem; in test_tx_power_replay_attack() local 245 struct k_sem *sem = cb_data; in send_end_cb() local 267 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 375 struct k_sem sem; in test_tx_seg_concurrent() local 401 struct k_sem sem; in test_tx_seg_ivu() local 448 struct k_sem sem; in test_tx_seg_fail() local
|
/Zephyr-Core-3.5.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.5.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.5.0/tests/kernel/common/src/ |
D | timeout_order.c | 14 static struct k_sem sem[NUM_TIMEOUTS]; variable
|
/Zephyr-Core-3.5.0/tests/kernel/obj_tracking/src/ |
D | main.c | 34 struct k_sem sem; in ZTEST() local
|
/Zephyr-Core-3.5.0/samples/drivers/can/babbling/src/ |
D | main.c | 21 struct k_sem sem; member
|
/Zephyr-Core-3.5.0/drivers/pwm/ |
D | pwm_capture.c | 17 struct k_sem sem; member
|
/Zephyr-Core-3.5.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 135 #define sys_port_track_k_sem_reset(sem) argument 136 #define sys_port_track_k_sem_init(sem, ret) argument
|
/Zephyr-Core-3.5.0/samples/sensor/isl29035/src/ |
D | main.c | 16 struct k_sem sem; variable
|
/Zephyr-Core-3.5.0/tests/arch/arm/arm_irq_vector_table/src/ |
D | arm_irq_vector_table.c | 80 struct k_sem sem[3]; variable
|
/Zephyr-Core-3.5.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.5.0/tests/drivers/pwm/pwm_loopback/src/ |
D | test_pwm_loopback.h | 44 struct k_sem sem; member
|
/Zephyr-Core-3.5.0/soc/xtensa/intel_adsp/common/include/ |
D | intel_adsp_ipc.h | 70 struct k_sem sem; member
|
/Zephyr-Core-3.5.0/subsys/usb/device/ |
D | usb_transfer.c | 19 struct k_sem sem; member 38 struct k_sem sem; member
|
/Zephyr-Core-3.5.0/drivers/sensor/sx9500/ |
D | sx9500.h | 41 struct k_sem sem; member
|
/Zephyr-Core-3.5.0/include/zephyr/drivers/console/ |
D | ipm_console.h | 71 struct k_sem sem; member
|
/Zephyr-Core-3.5.0/tests/kernel/semaphore/semaphore/src/ |
D | main.c | 26 #define expect_k_sem_take(sem, timeout, exp, str) do { \ argument 32 #define expect_k_sem_init(sem, init, max, exp, str) do { \ argument 38 #define expect_k_sem_count_get(sem, exp, str) do { \ argument 44 #define expect_k_sem_take_nomsg(sem, timeout, exp) \ argument 46 #define expect_k_sem_init_nomsg(sem, init, max, exp) \ argument 49 #define expect_k_sem_count_get_nomsg(sem, exp) \ argument
|
/Zephyr-Core-3.5.0/subsys/tracing/test/ |
D | tracing_string_format_test.c | 250 void sys_trace_k_sem_init(struct k_sem *sem, int ret) in sys_trace_k_sem_init() 254 void sys_trace_k_sem_give_enter(struct k_sem *sem) in sys_trace_k_sem_give_enter() 259 void sys_trace_k_sem_take_enter(struct k_sem *sem, k_timeout_t timeout) in sys_trace_k_sem_take_enter() 264 void sys_trace_k_sem_take_exit(struct k_sem *sem, k_timeout_t timeout, int ret) in sys_trace_k_sem_take_exit() 269 void sys_trace_k_sem_take_blocking(struct k_sem *sem, k_timeout_t timeout) in sys_trace_k_sem_take_blocking() 274 void sys_trace_k_sem_reset(struct k_sem *sem) in sys_trace_k_sem_reset()
|