Home
last modified time | relevance | path

Searched refs:ZSTD_pthread_t (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/contrib/zstd/lib/common/
H A Dthreading.h60 typedef HANDLE ZSTD_pthread_t; typedef
62 int ZSTD_pthread_create(ZSTD_pthread_t* thread, const void* unused,
65 int ZSTD_pthread_join(ZSTD_pthread_t thread);
90 #define ZSTD_pthread_t pthread_t macro
115 #define ZSTD_pthread_t pthread_t macro
H A Dpool.c37 ZSTD_pthread_t* threads;
143 … ctx->threads = (ZSTD_pthread_t*)ZSTD_customCalloc(numThreads * sizeof(ZSTD_pthread_t), customMem); in POOL_create_advanced()
210 + ctx->threadCapacity * sizeof(ZSTD_pthread_t); in POOL_sizeof()
223 …{ ZSTD_pthread_t* const threadPool = (ZSTD_pthread_t*)ZSTD_customCalloc(numThreads * sizeof(ZSTD… in POOL_resize_internal()
226 ZSTD_memcpy(threadPool, ctx->threads, ctx->threadCapacity * sizeof(ZSTD_pthread_t)); in POOL_resize_internal()
H A Dthreading.c70 int ZSTD_pthread_create(ZSTD_pthread_t* thread, const void* unused, in ZSTD_pthread_create()
114 int ZSTD_pthread_join(ZSTD_pthread_t thread) in ZSTD_pthread_join()
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dpool.c38 ZSTD_pthread_t* threads;
144 … ctx->threads = (ZSTD_pthread_t*)ZSTD_customCalloc(numThreads * sizeof(ZSTD_pthread_t), customMem); in POOL_create_advanced()
211 + ctx->threadCapacity * sizeof(ZSTD_pthread_t); in POOL_sizeof()
224 …{ ZSTD_pthread_t* const threadPool = (ZSTD_pthread_t*)ZSTD_customCalloc(numThreads * sizeof(ZSTD… in POOL_resize_internal()
227 ZSTD_memcpy(threadPool, ctx->threads, ctx->threadCapacity * sizeof(ZSTD_pthread_t)); in POOL_resize_internal()