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.c40 ZSTD_pthread_t* const thread = (ZSTD_pthread_t*) arg; in worker()
45 int ZSTD_pthread_create(ZSTD_pthread_t* thread, const void* unused, in ZSTD_pthread_create()
59 int ZSTD_pthread_join(ZSTD_pthread_t thread, void **value_ptr) in ZSTD_pthread_join()
H A Dthreading.h69 } ZSTD_pthread_t; typedef
71 int ZSTD_pthread_create(ZSTD_pthread_t* thread, const void* unused,
74 int ZSTD_pthread_join(ZSTD_pthread_t thread, void** value_ptr);
100 #define ZSTD_pthread_t pthread_t
125 #define ZSTD_pthread_t pthread_t
H A Dpool.c37 ZSTD_pthread_t* threads;
145 … ctx->threads = (ZSTD_pthread_t*)ZSTD_customMalloc(numThreads * sizeof(ZSTD_pthread_t), customMem); in POOL_create_advanced()
201 + ctx->threadCapacity * sizeof(ZSTD_pthread_t); in POOL_sizeof()
214 …{ ZSTD_pthread_t* const threadPool = (ZSTD_pthread_t*)ZSTD_customMalloc(numThreads * sizeof(ZSTD… in POOL_resize_internal()
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dpool.c37 ZSTD_pthread_t* threads;
139 ctx->threads = (ZSTD_pthread_t*)ZSTD_malloc(numThreads * sizeof(ZSTD_pthread_t), customMem); in POOL_create_advanced()
193 + ctx->threadCapacity * sizeof(ZSTD_pthread_t); in POOL_sizeof()
206 …{ ZSTD_pthread_t* const threadPool = (ZSTD_pthread_t*)ZSTD_malloc(numThreads * sizeof(ZSTD_pthre… in POOL_resize_internal()