Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zstd/
H A Dzfs_zstd.c163 struct zstd_kmem { struct
329 struct zstd_kmem *mem = NULL; in zstd_mempool_alloc()
418 zstd_mempool_free(struct zstd_kmem *z) in zstd_mempool_free()
777 size_t nbytes = sizeof (struct zstd_kmem) + size; in ZFS_DECOMPRESS_WRAP_DECL()
778 struct zstd_kmem *z = NULL; in ZFS_DECOMPRESS_WRAP_DECL()
780 z = (struct zstd_kmem *)zstd_mempool_alloc(zstd_mempool_cctx, nbytes); in ZFS_DECOMPRESS_WRAP_DECL()
787 return ((void*)z + (sizeof (struct zstd_kmem))); in ZFS_DECOMPRESS_WRAP_DECL()
798 size_t nbytes = sizeof (struct zstd_kmem) + size; in zstd_dctx_alloc()
799 struct zstd_kmem *z = NULL; in zstd_dctx_alloc()
802 z = (struct zstd_kmem *)zstd_mempool_alloc(zstd_mempool_dctx, nbytes); in zstd_dctx_alloc()
[all …]