Searched refs:pthread_spinlock_t (Results 1 – 5 of 5) sorted by relevance
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()
224 bool "pthread_spinlock_t support [DEPRECATED]"233 bool "pthread_spinlock_t support [DEPRECATED]"
14 pthread_spinlock_t lock; in ZTEST()29 pthread_spinlock_t lock[CONFIG_MAX_PTHREAD_SPINLOCK_COUNT]; in ZTEST()52 pthread_spinlock_t lock; in ZTEST()
512 int pthread_spin_destroy(pthread_spinlock_t *lock);519 int pthread_spin_init(pthread_spinlock_t *lock, int pshared);526 int pthread_spin_lock(pthread_spinlock_t *lock);533 int pthread_spin_trylock(pthread_spinlock_t *lock);540 int pthread_spin_unlock(pthread_spinlock_t *lock);
96 typedef uint32_t pthread_spinlock_t; typedef