Lines Matching refs:customMem
35 ZSTD_customMem customMem; member
118 ZSTD_customMem customMem) in POOL_create_advanced() argument
124 ctx = (POOL_ctx*)ZSTD_customCalloc(sizeof(POOL_ctx), customMem); in POOL_create_advanced()
131 ctx->queue = (POOL_job*)ZSTD_customMalloc(ctx->queueSize * sizeof(POOL_job), customMem); in POOL_create_advanced()
145 … ctx->threads = (ZSTD_pthread_t*)ZSTD_customMalloc(numThreads * sizeof(ZSTD_pthread_t), customMem); in POOL_create_advanced()
147 ctx->customMem = customMem; in POOL_create_advanced()
188 ZSTD_customFree(ctx->queue, ctx->customMem); in POOL_free()
189 ZSTD_customFree(ctx->threads, ctx->customMem); in POOL_free()
190 ZSTD_customFree(ctx, ctx->customMem); in POOL_free()
214 …readPool = (ZSTD_pthread_t*)ZSTD_customMalloc(numThreads * sizeof(ZSTD_pthread_t), ctx->customMem); in POOL_resize_internal()
218 ZSTD_customFree(ctx->threads, ctx->customMem); in POOL_resize_internal()
320 POOL_create_advanced(size_t numThreads, size_t queueSize, ZSTD_customMem customMem) in POOL_create_advanced() argument
324 (void)customMem; in POOL_create_advanced()