Lines Matching refs:rwlock
115 _cupsRWInit(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ in _cupsRWInit() argument
117 pthread_rwlock_init(rwlock, NULL); in _cupsRWInit()
126 _cupsRWLockRead(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ in _cupsRWLockRead() argument
128 pthread_rwlock_rdlock(rwlock); in _cupsRWLockRead()
137 _cupsRWLockWrite(_cups_rwlock_t *rwlock)/* I - Reader/writer lock */ in _cupsRWLockWrite() argument
139 pthread_rwlock_wrlock(rwlock); in _cupsRWLockWrite()
148 _cupsRWUnlock(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ in _cupsRWUnlock() argument
150 pthread_rwlock_unlock(rwlock); in _cupsRWUnlock()
302 _cupsRWInit(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ in _cupsRWInit() argument
304 _cupsMutexInit((_cups_mutex_t *)rwlock); in _cupsRWInit()
313 _cupsRWLockRead(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ in _cupsRWLockRead() argument
315 _cupsMutexLock((_cups_mutex_t *)rwlock); in _cupsRWLockRead()
324 _cupsRWLockWrite(_cups_rwlock_t *rwlock)/* I - Reader/writer lock */ in _cupsRWLockWrite() argument
326 _cupsMutexLock((_cups_mutex_t *)rwlock); in _cupsRWLockWrite()
335 _cupsRWUnlock(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ in _cupsRWUnlock() argument
337 _cupsMutexUnlock((_cups_mutex_t *)rwlock); in _cupsRWUnlock()
465 _cupsRWInit(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ in _cupsRWInit() argument
467 (void)rwlock; in _cupsRWInit()
476 _cupsRWLockRead(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ in _cupsRWLockRead() argument
478 (void)rwlock; in _cupsRWLockRead()
487 _cupsRWLockWrite(_cups_rwlock_t *rwlock)/* I - Reader/writer lock */ in _cupsRWLockWrite() argument
489 (void)rwlock; in _cupsRWLockWrite()
498 _cupsRWUnlock(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ in _cupsRWUnlock() argument
500 (void)rwlock; in _cupsRWUnlock()