Lines Matching refs:posix_rwlock
18 struct posix_rwlock { struct
31 static uint32_t read_lock_acquire(struct posix_rwlock *rwl, int32_t timeout); argument
32 static uint32_t write_lock_acquire(struct posix_rwlock *rwl, int32_t timeout);
38 static struct posix_rwlock posix_rwlock_pool[CONFIG_MAX_PTHREAD_RWLOCK_COUNT];
49 static inline size_t posix_rwlock_to_offset(struct posix_rwlock *rwl) in posix_rwlock_to_offset()
59 static struct posix_rwlock *get_posix_rwlock(pthread_rwlock_t rwlock) in get_posix_rwlock()
85 struct posix_rwlock *to_posix_rwlock(pthread_rwlock_t *rwlock) in to_posix_rwlock()
88 struct posix_rwlock *rwl; in to_posix_rwlock()
117 struct posix_rwlock *rwl; in pthread_rwlock_init()
147 struct posix_rwlock *rwl; in pthread_rwlock_destroy()
180 struct posix_rwlock *rwl; in pthread_rwlock_rdlock()
203 struct posix_rwlock *rwl; in pthread_rwlock_timedrdlock()
233 struct posix_rwlock *rwl; in pthread_rwlock_tryrdlock()
253 struct posix_rwlock *rwl; in pthread_rwlock_wrlock()
276 struct posix_rwlock *rwl; in pthread_rwlock_timedwrlock()
306 struct posix_rwlock *rwl; in pthread_rwlock_trywrlock()
324 struct posix_rwlock *rwl; in pthread_rwlock_unlock()
348 static uint32_t read_lock_acquire(struct posix_rwlock *rwl, int32_t timeout) in read_lock_acquire()
363 static uint32_t write_lock_acquire(struct posix_rwlock *rwl, int32_t timeout) in write_lock_acquire()