Lines Matching refs:lock
63 static pthread_mutex_t lock; variable
71 pthread_mutex_init(&lock, NULL); in allocation_tracker_init()
73 pthread_mutex_lock(&lock); in allocation_tracker_init()
81 pthread_mutex_unlock(&lock); in allocation_tracker_init()
89 pthread_mutex_lock(&lock); in allocation_tracker_uninit()
92 pthread_mutex_unlock(&lock); in allocation_tracker_uninit()
99 pthread_mutex_lock(&lock); in allocation_tracker_reset()
101 pthread_mutex_unlock(&lock); in allocation_tracker_reset()
108 pthread_mutex_lock(&lock); in allocation_tracker_expect_no_allocations()
113 pthread_mutex_unlock(&lock); in allocation_tracker_expect_no_allocations()
126 pthread_mutex_lock(&lock); in allocation_tracker_notify_alloc()
141 pthread_mutex_unlock(&lock); in allocation_tracker_notify_alloc()
154 pthread_mutex_lock(&lock); in allocation_tracker_notify_free()
175 pthread_mutex_unlock(&lock); in allocation_tracker_notify_free()