Lines Matching refs:poolMutex

97     ZSTD_pthread_mutex_t poolMutex;  member
110 if (ZSTD_pthread_mutex_init(&bufPool->poolMutex, NULL)) { in ZSTDMT_createBufferPool()
130 ZSTD_pthread_mutex_destroy(&bufPool->poolMutex); in ZSTDMT_freeBufferPool()
141 ZSTD_pthread_mutex_lock(&bufPool->poolMutex); in ZSTDMT_sizeof_bufferPool()
144 ZSTD_pthread_mutex_unlock(&bufPool->poolMutex); in ZSTDMT_sizeof_bufferPool()
155 ZSTD_pthread_mutex_lock(&bufPool->poolMutex); in ZSTDMT_setBufferSize()
158 ZSTD_pthread_mutex_unlock(&bufPool->poolMutex); in ZSTDMT_setBufferSize()
187 ZSTD_pthread_mutex_lock(&bufPool->poolMutex); in ZSTDMT_getBuffer()
196 ZSTD_pthread_mutex_unlock(&bufPool->poolMutex); in ZSTDMT_getBuffer()
203 ZSTD_pthread_mutex_unlock(&bufPool->poolMutex); in ZSTDMT_getBuffer()
250 ZSTD_pthread_mutex_lock(&bufPool->poolMutex); in ZSTDMT_releaseBuffer()
255 ZSTD_pthread_mutex_unlock(&bufPool->poolMutex); in ZSTDMT_releaseBuffer()
258 ZSTD_pthread_mutex_unlock(&bufPool->poolMutex); in ZSTDMT_releaseBuffer()
348 ZSTD_pthread_mutex_t poolMutex; member
361 ZSTD_pthread_mutex_destroy(&pool->poolMutex); in ZSTDMT_freeCCtxPool()
374 if (ZSTD_pthread_mutex_init(&cctxPool->poolMutex, NULL)) { in ZSTDMT_createCCtxPool()
402 ZSTD_pthread_mutex_lock(&cctxPool->poolMutex); in ZSTDMT_sizeof_CCtxPool()
411 ZSTD_pthread_mutex_unlock(&cctxPool->poolMutex); in ZSTDMT_sizeof_CCtxPool()
420 ZSTD_pthread_mutex_lock(&cctxPool->poolMutex); in ZSTDMT_getCCtx()
424 ZSTD_pthread_mutex_unlock(&cctxPool->poolMutex); in ZSTDMT_getCCtx()
427 ZSTD_pthread_mutex_unlock(&cctxPool->poolMutex); in ZSTDMT_getCCtx()
435 ZSTD_pthread_mutex_lock(&pool->poolMutex); in ZSTDMT_releaseCCtx()
443 ZSTD_pthread_mutex_unlock(&pool->poolMutex); in ZSTDMT_releaseCCtx()