Searched refs:numThreads (Results 1 – 6 of 6) sorted by relevance
| /freebsd-14.2/sys/contrib/zstd/lib/common/ |
| H A D | pool.c | 110 return POOL_create (numThreads, 0); in ZSTD_createThreadPool() 122 if (!numThreads) { return NULL; } in POOL_create_advanced() 152 for (i = 0; i < numThreads; ++i) { in POOL_create_advanced() 158 ctx->threadCapacity = numThreads; in POOL_create_advanced() 159 ctx->threadLimit = numThreads; in POOL_create_advanced() 209 if (!numThreads) return 1; in POOL_resize_internal() 210 ctx->threadLimit = numThreads; in POOL_resize_internal() 229 ctx->threadCapacity = numThreads; in POOL_resize_internal() 230 ctx->threadLimit = numThreads; in POOL_resize_internal() 322 (void)numThreads; in POOL_create_advanced() [all …]
|
| H A D | pool.h | 31 POOL_ctx* POOL_create(size_t numThreads, size_t queueSize); 33 POOL_ctx* POOL_create_advanced(size_t numThreads, size_t queueSize, 50 int POOL_resize(POOL_ctx* ctx, size_t numThreads);
|
| /freebsd-14.2/sys/contrib/openzfs/module/zstd/lib/common/ |
| H A D | pool.c | 116 if (!numThreads) { return NULL; } in POOL_create_advanced() 146 for (i = 0; i < numThreads; ++i) { in POOL_create_advanced() 152 ctx->threadCapacity = numThreads; in POOL_create_advanced() 153 ctx->threadLimit = numThreads; in POOL_create_advanced() 200 if (numThreads <= ctx->threadCapacity) { in POOL_resize_internal() 201 if (!numThreads) return 1; in POOL_resize_internal() 202 ctx->threadLimit = numThreads; in POOL_resize_internal() 221 ctx->threadCapacity = numThreads; in POOL_resize_internal() 222 ctx->threadLimit = numThreads; in POOL_resize_internal() 311 (void)numThreads; in POOL_create_advanced() [all …]
|
| H A D | pool.h | 31 POOL_ctx* POOL_create(size_t numThreads, size_t queueSize); 33 POOL_ctx* POOL_create_advanced(size_t numThreads, size_t queueSize, 50 int POOL_resize(POOL_ctx* ctx, size_t numThreads);
|
| /freebsd-14.2/tools/test/stress2/misc/ |
| H A D | signal.sh | 97 int numThreads; 98 sscanf(argv[1], "%d", &numThreads); 99 if( numThreads < 1 ) numThreads = 1; 101 pthread_t *threads = (pthread_t *)malloc(sizeof(pthread_t)*numThreads); 116 for(i = 0; i < numThreads; ++i) { 159 for(i = 0; i < numThreads; ++i ) {
|
| /freebsd-14.2/sys/contrib/zstd/lib/ |
| H A D | zstd.h | 1616 ZSTDLIB_STATIC_API ZSTD_threadPool* ZSTD_createThreadPool(size_t numThreads);
|