Lines Matching refs:data_mutex_
27 pthread_mutex_init(&data_mutex_, NULL); in BlockData()
31 pthread_mutex_destroy(&data_mutex_); in ~BlockData()
35 pthread_mutex_lock(&data_mutex_); in set_initialized()
37 pthread_mutex_unlock(&data_mutex_); in set_initialized()
41 pthread_mutex_lock(&data_mutex_); in initialized()
43 pthread_mutex_unlock(&data_mutex_); in initialized()
51 pthread_mutex_init(&data_mutex_, NULL); in DiskBlockTable()
57 pthread_mutex_destroy(&data_mutex_); in ~DiskBlockTable()
75 pthread_mutex_lock(&data_mutex_); in Size()
77 pthread_mutex_unlock(&data_mutex_); in Size()
87 pthread_mutex_lock(&data_mutex_); in InsertOnStructure()
96 pthread_mutex_unlock(&data_mutex_); in InsertOnStructure()
113 pthread_mutex_lock(&data_mutex_); in RemoveBlock()
125 pthread_mutex_unlock(&data_mutex_); in RemoveBlock()
135 pthread_mutex_lock(&data_mutex_); in ReleaseBlock()
143 pthread_mutex_unlock(&data_mutex_); in ReleaseBlock()
155 pthread_mutex_lock(&data_mutex_); in GetRandomBlock()
157 result = pthread_cond_timedwait(&data_condition_, &data_mutex_, &ts); in GetRandomBlock()
160 pthread_mutex_unlock(&data_mutex_); in GetRandomBlock()
175 pthread_mutex_unlock(&data_mutex_); in GetRandomBlock()
236 pthread_mutex_lock(&data_mutex_); in GetUnusedBlock()
240 pthread_mutex_unlock(&data_mutex_); in GetUnusedBlock()