Lines Matching refs:__get_lock

175 static struct lock_lookup *__get_lock(void *lock)  in __get_lock()  function
244 __get_lock(mutex); in pthread_mutex_init()
255 lock_acquire(&__get_lock(mutex)->dep_map, 0, 0, 0, 1, NULL, in pthread_mutex_lock()
273 lock_release(&__get_lock(mutex)->dep_map, 0, (unsigned long)_RET_IP_); in pthread_mutex_lock()
284 lock_acquire(&__get_lock(mutex)->dep_map, 0, 1, 0, 1, NULL, (unsigned long)_RET_IP_); in pthread_mutex_trylock()
287 lock_release(&__get_lock(mutex)->dep_map, 0, (unsigned long)_RET_IP_); in pthread_mutex_trylock()
298 lock_release(&__get_lock(mutex)->dep_map, 0, (unsigned long)_RET_IP_); in pthread_mutex_unlock()
306 lock_acquire(&__get_lock(mutex)->dep_map, 0, 0, 0, 1, NULL, (unsigned long)_RET_IP_); in pthread_mutex_unlock()
321 __del_lock(__get_lock(mutex)); in pthread_mutex_destroy()
335 __get_lock(rwlock); in pthread_rwlock_init()
345 __del_lock(__get_lock(rwlock)); in pthread_rwlock_destroy()
355 lock_acquire(&__get_lock(rwlock)->dep_map, 0, 0, 2, 1, NULL, (unsigned long)_RET_IP_); in pthread_rwlock_rdlock()
358 lock_release(&__get_lock(rwlock)->dep_map, 0, (unsigned long)_RET_IP_); in pthread_rwlock_rdlock()
369 lock_acquire(&__get_lock(rwlock)->dep_map, 0, 1, 2, 1, NULL, (unsigned long)_RET_IP_); in pthread_rwlock_tryrdlock()
372 lock_release(&__get_lock(rwlock)->dep_map, 0, (unsigned long)_RET_IP_); in pthread_rwlock_tryrdlock()
383 lock_acquire(&__get_lock(rwlock)->dep_map, 0, 1, 0, 1, NULL, (unsigned long)_RET_IP_); in pthread_rwlock_trywrlock()
386 lock_release(&__get_lock(rwlock)->dep_map, 0, (unsigned long)_RET_IP_); in pthread_rwlock_trywrlock()
397 lock_acquire(&__get_lock(rwlock)->dep_map, 0, 0, 0, 1, NULL, (unsigned long)_RET_IP_); in pthread_rwlock_wrlock()
400 lock_release(&__get_lock(rwlock)->dep_map, 0, (unsigned long)_RET_IP_); in pthread_rwlock_wrlock()
411 lock_release(&__get_lock(rwlock)->dep_map, 0, (unsigned long)_RET_IP_); in pthread_rwlock_unlock()
414 lock_acquire(&__get_lock(rwlock)->dep_map, 0, 0, 0, 1, NULL, (unsigned long)_RET_IP_); in pthread_rwlock_unlock()