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()
6 type = pthread_spinlock_t
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()
523 int pthread_spin_destroy(pthread_spinlock_t *lock);530 int pthread_spin_init(pthread_spinlock_t *lock, int pshared);537 int pthread_spin_lock(pthread_spinlock_t *lock);544 int pthread_spin_trylock(pthread_spinlock_t *lock);551 int pthread_spin_unlock(pthread_spinlock_t *lock);
54 typedef uint32_t pthread_spinlock_t; typedef