Lines Matching refs:poolMutex

98     ZSTD_pthread_mutex_t poolMutex;  member
112 if (ZSTD_pthread_mutex_init(&bufPool->poolMutex, NULL)) { in ZSTDMT_createBufferPool()
132 ZSTD_pthread_mutex_destroy(&bufPool->poolMutex); in ZSTDMT_freeBufferPool()
143 ZSTD_pthread_mutex_lock(&bufPool->poolMutex); in ZSTDMT_sizeof_bufferPool()
146 ZSTD_pthread_mutex_unlock(&bufPool->poolMutex); in ZSTDMT_sizeof_bufferPool()
157 ZSTD_pthread_mutex_lock(&bufPool->poolMutex); in ZSTDMT_setBufferSize()
160 ZSTD_pthread_mutex_unlock(&bufPool->poolMutex); in ZSTDMT_setBufferSize()
171 ZSTD_pthread_mutex_lock(&bufPool->poolMutex); in ZSTDMT_getBuffer()
180 ZSTD_pthread_mutex_unlock(&bufPool->poolMutex); in ZSTDMT_getBuffer()
187 ZSTD_pthread_mutex_unlock(&bufPool->poolMutex); in ZSTDMT_getBuffer()
234 ZSTD_pthread_mutex_lock(&bufPool->poolMutex); in ZSTDMT_releaseBuffer()
239 ZSTD_pthread_mutex_unlock(&bufPool->poolMutex); in ZSTDMT_releaseBuffer()
242 ZSTD_pthread_mutex_unlock(&bufPool->poolMutex); in ZSTDMT_releaseBuffer()
319 ZSTD_pthread_mutex_t poolMutex; member
332 ZSTD_pthread_mutex_destroy(&pool->poolMutex); in ZSTDMT_freeCCtxPool()
345 if (ZSTD_pthread_mutex_init(&cctxPool->poolMutex, NULL)) { in ZSTDMT_createCCtxPool()
361 ZSTD_pthread_mutex_lock(&cctxPool->poolMutex); in ZSTDMT_sizeof_CCtxPool()
370 ZSTD_pthread_mutex_unlock(&cctxPool->poolMutex); in ZSTDMT_sizeof_CCtxPool()
379 ZSTD_pthread_mutex_lock(&cctxPool->poolMutex); in ZSTDMT_getCCtx()
383 ZSTD_pthread_mutex_unlock(&cctxPool->poolMutex); in ZSTDMT_getCCtx()
386 ZSTD_pthread_mutex_unlock(&cctxPool->poolMutex); in ZSTDMT_getCCtx()
394 ZSTD_pthread_mutex_lock(&pool->poolMutex); in ZSTDMT_releaseCCtx()
402 ZSTD_pthread_mutex_unlock(&pool->poolMutex); in ZSTDMT_releaseCCtx()