Lines Matching refs:customMem
35 ZSTD_customMem customMem; member
117 ZSTD_customMem customMem) { in POOL_create_advanced() argument
122 ctx = (POOL_ctx*)ZSTD_customCalloc(sizeof(POOL_ctx), customMem); in POOL_create_advanced()
129 ctx->queue = (POOL_job*)ZSTD_customMalloc(ctx->queueSize * sizeof(POOL_job), customMem); in POOL_create_advanced()
143 … ctx->threads = (ZSTD_pthread_t*)ZSTD_customMalloc(numThreads * sizeof(ZSTD_pthread_t), customMem); in POOL_create_advanced()
145 ctx->customMem = customMem; in POOL_create_advanced()
186 ZSTD_customFree(ctx->queue, ctx->customMem); in POOL_free()
187 ZSTD_customFree(ctx->threads, ctx->customMem); in POOL_free()
188 ZSTD_customFree(ctx, ctx->customMem); in POOL_free()
212 …readPool = (ZSTD_pthread_t*)ZSTD_customMalloc(numThreads * sizeof(ZSTD_pthread_t), ctx->customMem); in POOL_resize_internal()
216 ZSTD_customFree(ctx->threads, ctx->customMem); in POOL_resize_internal()
316 POOL_ctx* POOL_create_advanced(size_t numThreads, size_t queueSize, ZSTD_customMem customMem) { in POOL_create_advanced() argument
319 (void)customMem; in POOL_create_advanced()