Searched refs:rwlock (Results 1 – 3 of 3) sorted by relevance
50 #define _raw_read_lock(rwlock) __raw_read_lock(&(rwlock)->raw_lock) argument51 #define _raw_read_trylock(rwlock) __raw_read_trylock(&(rwlock)->raw_lock) argument52 #define _raw_read_unlock(rwlock) __raw_read_unlock(&(rwlock)->raw_lock) argument53 #define _raw_write_lock(rwlock) __raw_write_lock(&(rwlock)->raw_lock) argument54 #define _raw_write_trylock(rwlock) __raw_write_trylock(&(rwlock)->raw_lock) argument55 #define _raw_write_unlock(rwlock) __raw_write_unlock(&(rwlock)->raw_lock) argument57 #define read_can_lock(rwlock) __raw_read_can_lock(&(rwlock)->raw_lock) argument58 #define write_can_lock(rwlock) __raw_write_can_lock(&(rwlock)->raw_lock) argument
251 int pthread_rwlock_init(pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr);252 int pthread_rwlock_destroy(pthread_rwlock_t *rwlock);254 int pthread_rwlock_rdlock(pthread_rwlock_t *rwlock);255 int pthread_rwlock_tryrdlock(pthread_rwlock_t *rwlock);256 int pthread_rwlock_timedrdlock(pthread_rwlock_t *rwlock, const struct timespec *abs_timeout);258 int pthread_rwlock_wrlock(pthread_rwlock_t *rwlock);259 int pthread_rwlock_trywrlock(pthread_rwlock_t *rwlock);260 int pthread_rwlock_timedwrlock(pthread_rwlock_t *rwlock, const struct timespec *abs_timeout);262 int pthread_rwlock_unlock(pthread_rwlock_t *rwlock);
228 int pthread_rwlock_unlock(pthread_rwlock_t *rwlock) __nonnull((1));