Home
last modified time | relevance | path

Searched defs:lock (Results 1 – 25 of 230) sorted by relevance

12345678910

/Zephyr-Core-3.6.0/lib/posix/options/
Dspinlock.c15 struct k_spinlock lock; member
41 static inline size_t to_posix_spinlock_idx(pthread_spinlock_t lock) in to_posix_spinlock_idx()
46 static struct k_spinlock *get_posix_spinlock(pthread_spinlock_t *lock) in get_posix_spinlock()
74 int pthread_spin_init(pthread_spinlock_t *lock, int pshared) in pthread_spin_init()
95 int pthread_spin_destroy(pthread_spinlock_t *lock) in pthread_spin_destroy()
114 int pthread_spin_lock(pthread_spinlock_t *lock) in pthread_spin_lock()
131 int pthread_spin_trylock(pthread_spinlock_t *lock) in pthread_spin_trylock()
146 int pthread_spin_unlock(pthread_spinlock_t *lock) in pthread_spin_unlock()
Deventfd.c22 struct k_spinlock lock; member
176 struct k_mutex *lock = NULL; in eventfd_close_op() local
304 struct k_mutex *lock = NULL; in eventfd_rw_op() local
/Zephyr-Core-3.6.0/lib/libc/picolibc/
Dlibc-hooks.c130 void __retarget_lock_init_recursive(_LOCK_T *lock) in __retarget_lock_init_recursive()
146 void __retarget_lock_init(_LOCK_T *lock) in __retarget_lock_init()
152 void __retarget_lock_close_recursive(_LOCK_T lock) in __retarget_lock_close_recursive()
163 void __retarget_lock_close(_LOCK_T lock) in __retarget_lock_close()
169 void __retarget_lock_acquire_recursive(_LOCK_T lock) in __retarget_lock_acquire_recursive()
176 void __retarget_lock_acquire(_LOCK_T lock) in __retarget_lock_acquire()
182 int __retarget_lock_try_acquire_recursive(_LOCK_T lock) in __retarget_lock_try_acquire_recursive()
189 int __retarget_lock_try_acquire(_LOCK_T lock) in __retarget_lock_try_acquire()
195 void __retarget_lock_release_recursive(_LOCK_T lock) in __retarget_lock_release_recursive()
202 void __retarget_lock_release(_LOCK_T lock) in __retarget_lock_release()
/Zephyr-Core-3.6.0/tests/posix/common/src/
Dspinlock.c14 pthread_spinlock_t lock; in ZTEST() local
29 pthread_spinlock_t lock[CONFIG_MAX_PTHREAD_SPINLOCK_COUNT]; in ZTEST() local
52 pthread_spinlock_t lock; in ZTEST() local
/Zephyr-Core-3.6.0/modules/thrift/src/thrift/concurrency/
DMutex.cpp22 struct k_spinlock lock; member in apache::thrift::concurrency::Mutex::impl
30 void Mutex::lock() const in lock() function in apache::thrift::concurrency::Mutex
/Zephyr-Core-3.6.0/kernel/include/
Dkswap.h78 struct k_spinlock *lock, in do_swap()
186 static inline int z_swap(struct k_spinlock *lock, k_spinlock_key_t key) in z_swap()
217 static ALWAYS_INLINE int z_swap(struct k_spinlock *lock, k_spinlock_key_t key) in z_swap()
/Zephyr-Core-3.6.0/drivers/w1/
Dw1_ds2482-800.c23 struct k_mutex lock; member
26 int ds2482_change_bus_lock_impl(const struct device *dev, bool lock) in ds2482_change_bus_lock_impl()
/Zephyr-Core-3.6.0/lib/libc/newlib/
Dlibc-hooks.c359 void __retarget_lock_init(_LOCK_T *lock) in __retarget_lock_init()
378 void __retarget_lock_init_recursive(_LOCK_T *lock) in __retarget_lock_init_recursive()
397 void __retarget_lock_close(_LOCK_T lock) in __retarget_lock_close()
408 void __retarget_lock_close_recursive(_LOCK_T lock) in __retarget_lock_close_recursive()
419 void __retarget_lock_acquire(_LOCK_T lock) in __retarget_lock_acquire()
426 void __retarget_lock_acquire_recursive(_LOCK_T lock) in __retarget_lock_acquire_recursive()
433 int __retarget_lock_try_acquire(_LOCK_T lock) in __retarget_lock_try_acquire()
440 int __retarget_lock_try_acquire_recursive(_LOCK_T lock) in __retarget_lock_try_acquire_recursive()
447 void __retarget_lock_release(_LOCK_T lock) in __retarget_lock_release()
454 void __retarget_lock_release_recursive(_LOCK_T lock) in __retarget_lock_release_recursive()
/Zephyr-Core-3.6.0/drivers/gnss/
Dgnss_publish.c11 static struct k_spinlock lock; variable
/Zephyr-Core-3.6.0/drivers/timer/
Dlitex_timer.c50 static struct k_spinlock lock; in sys_clock_cycle_get_32() local
64 static struct k_spinlock lock; in sys_clock_cycle_get_64() local
/Zephyr-Core-3.6.0/tests/lib/newlib/thread_safety/src/
Dlocks.c62 _LOCK_T lock = NULL; in ZTEST() local
84 _LOCK_T lock = p1; in retargetable_lock_mutex_thread_acq() local
97 _LOCK_T lock = p1; in retargetable_lock_mutex_thread_rel() local
116 _LOCK_T lock = NULL; in ZTEST() local
/Zephyr-Core-3.6.0/tests/drivers/rtc/rtc_api/src/
Dtest_update_callback.c16 static struct k_spinlock lock; variable
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/att/read_fill_buf/testlib/
Dconnect.c14 struct k_mutex lock; member
/Zephyr-Core-3.6.0/tests/bluetooth/common/testlib/src/
Dconnect.c17 struct k_mutex lock; member
Datt_write.c21 struct k_mutex lock; member
/Zephyr-Core-3.6.0/drivers/mfd/
Dmfd_nct38xx.c16 struct k_sem lock; member
/Zephyr-Core-3.6.0/soc/xtensa/intel_adsp/ace/
Dtimestamp.c25 static struct k_spinlock lock; variable
/Zephyr-Core-3.6.0/include/zephyr/sys/
Dbitarray.h43 struct k_spinlock lock; member
Donoff.h169 struct k_spinlock lock; member
578 struct k_spinlock lock; member
/Zephyr-Core-3.6.0/tests/bluetooth/tester/src/btp/
Dbtp_cas.h18 uint8_t lock; member
Dbtp_csis.h19 uint8_t lock; member
/Zephyr-Core-3.6.0/arch/x86/core/
Defi.c115 static struct k_spinlock lock; in efi_console_putchar() local
/Zephyr-Core-3.6.0/tests/kernel/timer/starve/src/
Dmain.c39 static struct k_spinlock lock; in ZTEST() local
/Zephyr-Core-3.6.0/drivers/counter/
Dcounter_ace_v1x_art.c15 static struct k_spinlock lock; variable
/Zephyr-Core-3.6.0/tests/kernel/spinlock/src/
Dspinlock_error_case.c13 static struct k_spinlock lock; variable

12345678910