Home
last modified time | relevance | path

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

/freebsd-14-stable/sys/contrib/openzfs/module/zstd/
HDzfs_zstd.c257 #define ZSTD_POOL_MAX pool_count macro
290 for (int i = 0; i < ZSTD_POOL_MAX; i++) { in zstd_mempool_reap()
332 for (int i = 0; i < ZSTD_POOL_MAX; i++) { in zstd_mempool_alloc()
366 for (int i = 0; i < ZSTD_POOL_MAX; i++) { in zstd_mempool_alloc()
797 kmem_zalloc(ZSTD_POOL_MAX * sizeof (struct zstd_pool), KM_SLEEP); in zstd_mempool_init()
799 kmem_zalloc(ZSTD_POOL_MAX * sizeof (struct zstd_pool), KM_SLEEP); in zstd_mempool_init()
801 for (int i = 0; i < ZSTD_POOL_MAX; i++) { in zstd_mempool_init()
840 for (int i = 0; i < ZSTD_POOL_MAX; i++) { in zstd_mempool_deinit()
845 kmem_free(zstd_mempool_dctx, ZSTD_POOL_MAX * sizeof (struct zstd_pool)); in zstd_mempool_deinit()
846 kmem_free(zstd_mempool_cctx, ZSTD_POOL_MAX * sizeof (struct zstd_pool)); in zstd_mempool_deinit()