xref: /freebsd/sys/contrib/openzfs/module/zstd/include/zstd_compat_wrapper.h (revision cc1a53bc1aea0675d64e9547cdca241612906592)
1 /*
2  * BSD 3-Clause New License (https://spdx.org/licenses/BSD-3-Clause.html)
3  *
4  * Redistribution and use in source and binary forms, with or without
5  * modification, are permitted provided that the following conditions are met:
6  *
7  * 1. Redistributions of source code must retain the above copyright notice,
8  * this list of conditions and the following disclaimer.
9  *
10  * 2. Redistributions in binary form must reproduce the above copyright notice,
11  * this list of conditions and the following disclaimer in the documentation
12  * and/or other materials provided with the distribution.
13  *
14  * 3. Neither the name of the copyright holder nor the names of its
15  * contributors may be used to endorse or promote products derived from this
16  * software without specific prior written permission.
17  *
18  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
22  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28  * POSSIBILITY OF SUCH DAMAGE.
29  */
30 
31 /*
32  * Copyright (c) 2020, Sebastian Gottschall
33  */
34 
35 /*
36  * This wrapper fixes a problem, in case the ZFS filesystem driver, is compiled
37  * statically into the kernel.
38  * This will cause a symbol collision with the older in-kernel zstd library.
39  *
40  * On update, truncate this file at the scissor line, rebuild the module,
41  * and make gensymbols.
42  */
43 
44 #define	MEM_MODULE
45 #define	XXH_NAMESPACE ZSTD_
46 #define	XXH_PRIVATE_API
47 #define	XXH_INLINE_ALL
48 #define	ZSTD_LEGACY_SUPPORT 0
49 #define	ZSTD_LIB_DICTBUILDER 0
50 #define	ZSTD_LIB_DEPRECATED 0
51 #define	ZSTD_NOBENCH
52 #define	DEBUGLEVEL 0
53 #ifdef _KERNEL
54 #define	ZSTD_DEPS_ASSERT
55 #endif
56 
57 
58 /* -- >8 -- */
59 
60 /* lib/common/entropy_common.o: */
61 #define	FSE_getErrorName zfs_FSE_getErrorName
62 #define	FSE_isError zfs_FSE_isError
63 #define	FSE_readNCount zfs_FSE_readNCount
64 #define	FSE_versionNumber zfs_FSE_versionNumber
65 #define	HUF_getErrorName zfs_HUF_getErrorName
66 #define	HUF_isError zfs_HUF_isError
67 #define	HUF_readStats zfs_HUF_readStats
68 
69 /* lib/common/error_private.o: */
70 #define	ERR_getErrorString zfs_ERR_getErrorString
71 
72 /* lib/common/fse_decompress.o: */
73 #define	FSE_buildDTable_raw zfs_FSE_buildDTable_raw
74 #define	FSE_buildDTable_rle zfs_FSE_buildDTable_rle
75 #define	FSE_buildDTable zfs_FSE_buildDTable
76 #define	FSE_createDTable zfs_FSE_createDTable
77 #define	FSE_decompress_usingDTable zfs_FSE_decompress_usingDTable
78 #define	FSE_decompress_wksp zfs_FSE_decompress_wksp
79 #define	FSE_decompress zfs_FSE_decompress
80 #define	FSE_freeDTable zfs_FSE_freeDTable
81 
82 /* lib/common/pool.o: */
83 #define	POOL_add zfs_POOL_add
84 #define	POOL_create_advanced zfs_POOL_create_advanced
85 #define	POOL_create zfs_POOL_create
86 #define	POOL_free zfs_POOL_free
87 #define	POOL_resize zfs_POOL_resize
88 #define	POOL_sizeof zfs_POOL_sizeof
89 #define	POOL_tryAdd zfs_POOL_tryAdd
90 
91 /* lib/common/zstd_common.o: */
92 #define	ZSTD_calloc zfs_ZSTD_calloc
93 #define	ZSTD_free zfs_ZSTD_free
94 #define	ZSTD_getErrorCode zfs_ZSTD_getErrorCode
95 #define	ZSTD_getErrorName zfs_ZSTD_getErrorName
96 #define	ZSTD_getErrorString zfs_ZSTD_getErrorString
97 #define	ZSTD_isError zfs_ZSTD_isError
98 #define	ZSTD_malloc zfs_ZSTD_malloc
99 #define	ZSTD_versionNumber zfs_ZSTD_versionNumber
100 #define	ZSTD_versionString zfs_ZSTD_versionString
101 
102 /* lib/compress/fse_compress.o: */
103 #define	FSE_buildCTable_raw zfs_FSE_buildCTable_raw
104 #define	FSE_buildCTable_rle zfs_FSE_buildCTable_rle
105 #define	FSE_buildCTable_wksp zfs_FSE_buildCTable_wksp
106 #define	FSE_buildCTable zfs_FSE_buildCTable
107 #define	FSE_compress2 zfs_FSE_compress2
108 #define	FSE_compressBound zfs_FSE_compressBound
109 #define	FSE_compress_usingCTable zfs_FSE_compress_usingCTable
110 #define	FSE_compress_wksp zfs_FSE_compress_wksp
111 #define	FSE_compress zfs_FSE_compress
112 #define	FSE_createCTable zfs_FSE_createCTable
113 #define	FSE_freeCTable zfs_FSE_freeCTable
114 #define	FSE_NCountWriteBound zfs_FSE_NCountWriteBound
115 #define	FSE_normalizeCount zfs_FSE_normalizeCount
116 #define	FSE_optimalTableLog_internal zfs_FSE_optimalTableLog_internal
117 #define	FSE_optimalTableLog zfs_FSE_optimalTableLog
118 #define	FSE_writeNCount zfs_FSE_writeNCount
119 
120 /* lib/compress/hist.o: */
121 #define	HIST_countFast_wksp zfs_HIST_countFast_wksp
122 #define	HIST_countFast zfs_HIST_countFast
123 #define	HIST_count_simple zfs_HIST_count_simple
124 #define	HIST_count_wksp zfs_HIST_count_wksp
125 #define	HIST_count zfs_HIST_count
126 #define	HIST_isError zfs_HIST_isError
127 
128 /* lib/compress/huf_compress.o: */
129 #define	HUF_buildCTable_wksp zfs_HUF_buildCTable_wksp
130 #define	HUF_buildCTable zfs_HUF_buildCTable
131 #define	HUF_compress1X_repeat zfs_HUF_compress1X_repeat
132 #define	HUF_compress1X_usingCTable zfs_HUF_compress1X_usingCTable
133 #define	HUF_compress1X_wksp zfs_HUF_compress1X_wksp
134 #define	HUF_compress1X zfs_HUF_compress1X
135 #define	HUF_compress2 zfs_HUF_compress2
136 #define	HUF_compress4X_repeat zfs_HUF_compress4X_repeat
137 #define	HUF_compress4X_usingCTable zfs_HUF_compress4X_usingCTable
138 #define	HUF_compress4X_wksp zfs_HUF_compress4X_wksp
139 #define	HUF_compressBound zfs_HUF_compressBound
140 #define	HUF_compress zfs_HUF_compress
141 #define	HUF_estimateCompressedSize zfs_HUF_estimateCompressedSize
142 #define	HUF_getNbBits zfs_HUF_getNbBits
143 #define	HUF_optimalTableLog zfs_HUF_optimalTableLog
144 #define	HUF_readCTable zfs_HUF_readCTable
145 #define	HUF_validateCTable zfs_HUF_validateCTable
146 #define	HUF_writeCTable zfs_HUF_writeCTable
147 
148 /* lib/compress/zstd_compress_literals.o: */
149 #define	ZSTD_compressLiterals zfs_ZSTD_compressLiterals
150 #define	ZSTD_compressRleLiteralsBlock zfs_ZSTD_compressRleLiteralsBlock
151 #define	ZSTD_noCompressLiterals zfs_ZSTD_noCompressLiterals
152 
153 /* lib/compress/zstd_compress_sequences.o: */
154 #define	ZSTD_buildCTable zfs_ZSTD_buildCTable
155 #define	ZSTD_crossEntropyCost zfs_ZSTD_crossEntropyCost
156 #define	ZSTD_encodeSequences zfs_ZSTD_encodeSequences
157 #define	ZSTD_fseBitCost zfs_ZSTD_fseBitCost
158 #define	ZSTD_selectEncodingType zfs_ZSTD_selectEncodingType
159 
160 /* lib/compress/zstd_compress_superblock.o: */
161 #define	ZSTD_compressSuperBlock zfs_ZSTD_compressSuperBlock
162 
163 /* lib/compress/zstd_compress.o: */
164 #define	ZSTD_adjustCParams zfs_ZSTD_adjustCParams
165 #define	ZSTD_CCtx_getParameter zfs_ZSTD_CCtx_getParameter
166 #define	ZSTD_CCtx_loadDictionary_advanced zfs_ZSTD_CCtx_loadDictionary_advanced
167 #define	ZSTD_CCtx_loadDictionary_byReference zfs_ZSTD_CCtx_loadDictionary_byReference
168 #define	ZSTD_CCtx_loadDictionary zfs_ZSTD_CCtx_loadDictionary
169 #define	ZSTD_CCtxParams_getParameter zfs_ZSTD_CCtxParams_getParameter
170 #define	ZSTD_CCtxParams_init_advanced zfs_ZSTD_CCtxParams_init_advanced
171 #define	ZSTD_CCtxParams_init zfs_ZSTD_CCtxParams_init
172 #define	ZSTD_CCtxParams_reset zfs_ZSTD_CCtxParams_reset
173 #define	ZSTD_CCtxParams_setParameter zfs_ZSTD_CCtxParams_setParameter
174 #define	ZSTD_CCtx_refCDict zfs_ZSTD_CCtx_refCDict
175 #define	ZSTD_CCtx_refPrefix_advanced zfs_ZSTD_CCtx_refPrefix_advanced
176 #define	ZSTD_CCtx_refPrefix zfs_ZSTD_CCtx_refPrefix
177 #define	ZSTD_CCtx_reset zfs_ZSTD_CCtx_reset
178 #define	ZSTD_CCtx_setParametersUsingCCtxParams zfs_ZSTD_CCtx_setParametersUsingCCtxParams
179 #define	ZSTD_CCtx_setParameter zfs_ZSTD_CCtx_setParameter
180 #define	ZSTD_CCtx_setPledgedSrcSize zfs_ZSTD_CCtx_setPledgedSrcSize
181 #define	ZSTD_checkCParams zfs_ZSTD_checkCParams
182 #define	ZSTD_compress2 zfs_ZSTD_compress2
183 #define	ZSTD_compress_advanced_internal zfs_ZSTD_compress_advanced_internal
184 #define	ZSTD_compress_advanced zfs_ZSTD_compress_advanced
185 #define	ZSTD_compressBegin_advanced_internal zfs_ZSTD_compressBegin_advanced_internal
186 #define	ZSTD_compressBegin_advanced zfs_ZSTD_compressBegin_advanced
187 #define	ZSTD_compressBegin_usingCDict_advanced zfs_ZSTD_compressBegin_usingCDict_advanced
188 #define	ZSTD_compressBegin_usingCDict zfs_ZSTD_compressBegin_usingCDict
189 #define	ZSTD_compressBegin_usingDict zfs_ZSTD_compressBegin_usingDict
190 #define	ZSTD_compressBegin zfs_ZSTD_compressBegin
191 #define	ZSTD_compressBlock zfs_ZSTD_compressBlock
192 #define	ZSTD_compressBound zfs_ZSTD_compressBound
193 #define	ZSTD_compressCCtx zfs_ZSTD_compressCCtx
194 #define	ZSTD_compressContinue zfs_ZSTD_compressContinue
195 #define	ZSTD_compressEnd zfs_ZSTD_compressEnd
196 #define	ZSTD_compressStream2_simpleArgs zfs_ZSTD_compressStream2_simpleArgs
197 #define	ZSTD_compressStream2 zfs_ZSTD_compressStream2
198 #define	ZSTD_compressStream zfs_ZSTD_compressStream
199 #define	ZSTD_compress_usingCDict_advanced zfs_ZSTD_compress_usingCDict_advanced
200 #define	ZSTD_compress_usingCDict zfs_ZSTD_compress_usingCDict
201 #define	ZSTD_compress_usingDict zfs_ZSTD_compress_usingDict
202 #define	ZSTD_compress zfs_ZSTD_compress
203 #define	ZSTD_copyCCtx zfs_ZSTD_copyCCtx
204 #define	ZSTD_cParam_getBounds zfs_ZSTD_cParam_getBounds
205 #define	ZSTD_createCCtx_advanced zfs_ZSTD_createCCtx_advanced
206 #define	ZSTD_createCCtxParams zfs_ZSTD_createCCtxParams
207 #define	ZSTD_createCCtx zfs_ZSTD_createCCtx
208 #define	ZSTD_createCDict_advanced zfs_ZSTD_createCDict_advanced
209 #define	ZSTD_createCDict_byReference zfs_ZSTD_createCDict_byReference
210 #define	ZSTD_createCDict zfs_ZSTD_createCDict
211 #define	ZSTD_createCStream_advanced zfs_ZSTD_createCStream_advanced
212 #define	ZSTD_createCStream zfs_ZSTD_createCStream
213 #define	ZSTD_CStreamInSize zfs_ZSTD_CStreamInSize
214 #define	ZSTD_CStreamOutSize zfs_ZSTD_CStreamOutSize
215 #define	ZSTD_cycleLog zfs_ZSTD_cycleLog
216 #define	ZSTD_endStream zfs_ZSTD_endStream
217 #define	ZSTD_estimateCCtxSize_usingCCtxParams zfs_ZSTD_estimateCCtxSize_usingCCtxParams
218 #define	ZSTD_estimateCCtxSize_usingCParams zfs_ZSTD_estimateCCtxSize_usingCParams
219 #define	ZSTD_estimateCCtxSize zfs_ZSTD_estimateCCtxSize
220 #define	ZSTD_estimateCDictSize_advanced zfs_ZSTD_estimateCDictSize_advanced
221 #define	ZSTD_estimateCDictSize zfs_ZSTD_estimateCDictSize
222 #define	ZSTD_estimateCStreamSize_usingCCtxParams zfs_ZSTD_estimateCStreamSize_usingCCtxParams
223 #define	ZSTD_estimateCStreamSize_usingCParams zfs_ZSTD_estimateCStreamSize_usingCParams
224 #define	ZSTD_estimateCStreamSize zfs_ZSTD_estimateCStreamSize
225 #define	ZSTD_flushStream zfs_ZSTD_flushStream
226 #define	ZSTD_freeCCtxParams zfs_ZSTD_freeCCtxParams
227 #define	ZSTD_freeCCtx zfs_ZSTD_freeCCtx
228 #define	ZSTD_freeCDict zfs_ZSTD_freeCDict
229 #define	ZSTD_freeCStream zfs_ZSTD_freeCStream
230 #define	ZSTD_getBlockSize zfs_ZSTD_getBlockSize
231 #define	ZSTD_getCParamsFromCCtxParams zfs_ZSTD_getCParamsFromCCtxParams
232 #define	ZSTD_getCParamsFromCDict zfs_ZSTD_getCParamsFromCDict
233 #define	ZSTD_getCParams zfs_ZSTD_getCParams
234 #define	ZSTD_getFrameProgression zfs_ZSTD_getFrameProgression
235 #define	ZSTD_getParams zfs_ZSTD_getParams
236 #define	ZSTD_getSeqStore zfs_ZSTD_getSeqStore
237 #define	ZSTD_getSequences zfs_ZSTD_getSequences
238 #define	ZSTD_initCStream_advanced zfs_ZSTD_initCStream_advanced
239 #define	ZSTD_initCStream_internal zfs_ZSTD_initCStream_internal
240 #define	ZSTD_initCStream_srcSize zfs_ZSTD_initCStream_srcSize
241 #define	ZSTD_initCStream_usingCDict_advanced zfs_ZSTD_initCStream_usingCDict_advanced
242 #define	ZSTD_initCStream_usingCDict zfs_ZSTD_initCStream_usingCDict
243 #define	ZSTD_initCStream_usingDict zfs_ZSTD_initCStream_usingDict
244 #define	ZSTD_initCStream zfs_ZSTD_initCStream
245 #define	ZSTD_initStaticCCtx zfs_ZSTD_initStaticCCtx
246 #define	ZSTD_initStaticCDict zfs_ZSTD_initStaticCDict
247 #define	ZSTD_initStaticCStream zfs_ZSTD_initStaticCStream
248 #define	ZSTD_invalidateRepCodes zfs_ZSTD_invalidateRepCodes
249 #define	ZSTD_loadCEntropy zfs_ZSTD_loadCEntropy
250 #define	ZSTD_maxCLevel zfs_ZSTD_maxCLevel
251 #define	ZSTD_minCLevel zfs_ZSTD_minCLevel
252 #define	ZSTD_referenceExternalSequences zfs_ZSTD_referenceExternalSequences
253 #define	ZSTD_reset_compressedBlockState zfs_ZSTD_reset_compressedBlockState
254 #define	ZSTD_resetCStream zfs_ZSTD_resetCStream
255 #define	ZSTD_resetSeqStore zfs_ZSTD_resetSeqStore
256 #define	ZSTD_selectBlockCompressor zfs_ZSTD_selectBlockCompressor
257 #define	ZSTD_seqToCodes zfs_ZSTD_seqToCodes
258 #define	ZSTD_sizeof_CCtx zfs_ZSTD_sizeof_CCtx
259 #define	ZSTD_sizeof_CDict zfs_ZSTD_sizeof_CDict
260 #define	ZSTD_sizeof_CStream zfs_ZSTD_sizeof_CStream
261 #define	ZSTD_toFlushNow zfs_ZSTD_toFlushNow
262 #define	ZSTD_writeLastEmptyBlock zfs_ZSTD_writeLastEmptyBlock
263 
264 /* lib/compress/zstd_double_fast.o: */
265 #define	ZSTD_compressBlock_doubleFast_dictMatchState zfs_ZSTD_compressBlock_doubleFast_dictMatchState
266 #define	ZSTD_compressBlock_doubleFast_extDict zfs_ZSTD_compressBlock_doubleFast_extDict
267 #define	ZSTD_compressBlock_doubleFast zfs_ZSTD_compressBlock_doubleFast
268 #define	ZSTD_fillDoubleHashTable zfs_ZSTD_fillDoubleHashTable
269 
270 /* lib/compress/zstd_fast.o: */
271 #define	ZSTD_compressBlock_fast_dictMatchState zfs_ZSTD_compressBlock_fast_dictMatchState
272 #define	ZSTD_compressBlock_fast_extDict zfs_ZSTD_compressBlock_fast_extDict
273 #define	ZSTD_compressBlock_fast zfs_ZSTD_compressBlock_fast
274 #define	ZSTD_fillHashTable zfs_ZSTD_fillHashTable
275 
276 /* lib/compress/zstd_lazy.o: */
277 #define	ZSTD_compressBlock_btlazy2_dictMatchState zfs_ZSTD_compressBlock_btlazy2_dictMatchState
278 #define	ZSTD_compressBlock_btlazy2_extDict zfs_ZSTD_compressBlock_btlazy2_extDict
279 #define	ZSTD_compressBlock_btlazy2 zfs_ZSTD_compressBlock_btlazy2
280 #define	ZSTD_compressBlock_greedy_dictMatchState zfs_ZSTD_compressBlock_greedy_dictMatchState
281 #define	ZSTD_compressBlock_greedy_extDict zfs_ZSTD_compressBlock_greedy_extDict
282 #define	ZSTD_compressBlock_greedy zfs_ZSTD_compressBlock_greedy
283 #define	ZSTD_compressBlock_lazy2_dictMatchState zfs_ZSTD_compressBlock_lazy2_dictMatchState
284 #define	ZSTD_compressBlock_lazy2_extDict zfs_ZSTD_compressBlock_lazy2_extDict
285 #define	ZSTD_compressBlock_lazy2 zfs_ZSTD_compressBlock_lazy2
286 #define	ZSTD_compressBlock_lazy_dictMatchState zfs_ZSTD_compressBlock_lazy_dictMatchState
287 #define	ZSTD_compressBlock_lazy_extDict zfs_ZSTD_compressBlock_lazy_extDict
288 #define	ZSTD_compressBlock_lazy zfs_ZSTD_compressBlock_lazy
289 #define	ZSTD_insertAndFindFirstIndex zfs_ZSTD_insertAndFindFirstIndex
290 
291 /* lib/compress/zstd_ldm.o: */
292 #define	ZSTD_ldm_adjustParameters zfs_ZSTD_ldm_adjustParameters
293 #define	ZSTD_ldm_blockCompress zfs_ZSTD_ldm_blockCompress
294 #define	ZSTD_ldm_fillHashTable zfs_ZSTD_ldm_fillHashTable
295 #define	ZSTD_ldm_generateSequences zfs_ZSTD_ldm_generateSequences
296 #define	ZSTD_ldm_getMaxNbSeq zfs_ZSTD_ldm_getMaxNbSeq
297 #define	ZSTD_ldm_getTableSize zfs_ZSTD_ldm_getTableSize
298 #define	ZSTD_ldm_skipSequences zfs_ZSTD_ldm_skipSequences
299 
300 /* lib/compress/zstd_opt.o: */
301 #define	ZSTD_compressBlock_btopt_dictMatchState zfs_ZSTD_compressBlock_btopt_dictMatchState
302 #define	ZSTD_compressBlock_btopt_extDict zfs_ZSTD_compressBlock_btopt_extDict
303 #define	ZSTD_compressBlock_btopt zfs_ZSTD_compressBlock_btopt
304 #define	ZSTD_compressBlock_btultra2 zfs_ZSTD_compressBlock_btultra2
305 #define	ZSTD_compressBlock_btultra_dictMatchState zfs_ZSTD_compressBlock_btultra_dictMatchState
306 #define	ZSTD_compressBlock_btultra_extDict zfs_ZSTD_compressBlock_btultra_extDict
307 #define	ZSTD_compressBlock_btultra zfs_ZSTD_compressBlock_btultra
308 #define	ZSTD_updateTree zfs_ZSTD_updateTree
309 
310 /* lib/decompress/huf_decompress.o: */
311 #define	HUF_decompress1X1_DCtx_wksp_bmi2 zfs_HUF_decompress1X1_DCtx_wksp_bmi2
312 #define	HUF_decompress1X1_DCtx_wksp zfs_HUF_decompress1X1_DCtx_wksp
313 #define	HUF_decompress1X1_DCtx zfs_HUF_decompress1X1_DCtx
314 #define	HUF_decompress1X1_usingDTable zfs_HUF_decompress1X1_usingDTable
315 #define	HUF_decompress1X1 zfs_HUF_decompress1X1
316 #define	HUF_decompress1X2_DCtx_wksp zfs_HUF_decompress1X2_DCtx_wksp
317 #define	HUF_decompress1X2_DCtx zfs_HUF_decompress1X2_DCtx
318 #define	HUF_decompress1X2_usingDTable zfs_HUF_decompress1X2_usingDTable
319 #define	HUF_decompress1X2 zfs_HUF_decompress1X2
320 #define	HUF_decompress1X_DCtx_wksp zfs_HUF_decompress1X_DCtx_wksp
321 #define	HUF_decompress1X_DCtx zfs_HUF_decompress1X_DCtx
322 #define	HUF_decompress1X_usingDTable_bmi2 zfs_HUF_decompress1X_usingDTable_bmi2
323 #define	HUF_decompress1X_usingDTable zfs_HUF_decompress1X_usingDTable
324 #define	HUF_decompress4X1_DCtx_wksp zfs_HUF_decompress4X1_DCtx_wksp
325 #define	HUF_decompress4X1_DCtx zfs_HUF_decompress4X1_DCtx
326 #define	HUF_decompress4X1_usingDTable zfs_HUF_decompress4X1_usingDTable
327 #define	HUF_decompress4X1 zfs_HUF_decompress4X1
328 #define	HUF_decompress4X2_DCtx_wksp zfs_HUF_decompress4X2_DCtx_wksp
329 #define	HUF_decompress4X2_DCtx zfs_HUF_decompress4X2_DCtx
330 #define	HUF_decompress4X2_usingDTable zfs_HUF_decompress4X2_usingDTable
331 #define	HUF_decompress4X2 zfs_HUF_decompress4X2
332 #define	HUF_decompress4X_DCtx zfs_HUF_decompress4X_DCtx
333 #define	HUF_decompress4X_hufOnly_wksp_bmi2 zfs_HUF_decompress4X_hufOnly_wksp_bmi2
334 #define	HUF_decompress4X_hufOnly_wksp zfs_HUF_decompress4X_hufOnly_wksp
335 #define	HUF_decompress4X_hufOnly zfs_HUF_decompress4X_hufOnly
336 #define	HUF_decompress4X_usingDTable_bmi2 zfs_HUF_decompress4X_usingDTable_bmi2
337 #define	HUF_decompress4X_usingDTable zfs_HUF_decompress4X_usingDTable
338 #define	HUF_decompress zfs_HUF_decompress
339 #define	HUF_readDTableX1_wksp zfs_HUF_readDTableX1_wksp
340 #define	HUF_readDTableX1 zfs_HUF_readDTableX1
341 #define	HUF_readDTableX2_wksp zfs_HUF_readDTableX2_wksp
342 #define	HUF_readDTableX2 zfs_HUF_readDTableX2
343 #define	HUF_selectDecoder zfs_HUF_selectDecoder
344 
345 /* lib/decompress/zstd_ddict.o: */
346 #define	ZSTD_copyDDictParameters zfs_ZSTD_copyDDictParameters
347 #define	ZSTD_createDDict_advanced zfs_ZSTD_createDDict_advanced
348 #define	ZSTD_createDDict_byReference zfs_ZSTD_createDDict_byReference
349 #define	ZSTD_createDDict zfs_ZSTD_createDDict
350 #define	ZSTD_DDict_dictContent zfs_ZSTD_DDict_dictContent
351 #define	ZSTD_DDict_dictSize zfs_ZSTD_DDict_dictSize
352 #define	ZSTD_estimateDDictSize zfs_ZSTD_estimateDDictSize
353 #define	ZSTD_freeDDict zfs_ZSTD_freeDDict
354 #define	ZSTD_getDictID_fromDDict zfs_ZSTD_getDictID_fromDDict
355 #define	ZSTD_initStaticDDict zfs_ZSTD_initStaticDDict
356 #define	ZSTD_sizeof_DDict zfs_ZSTD_sizeof_DDict
357 
358 /* lib/decompress/zstd_decompress.o: */
359 #define	ZSTD_copyDCtx zfs_ZSTD_copyDCtx
360 #define	ZSTD_createDCtx_advanced zfs_ZSTD_createDCtx_advanced
361 #define	ZSTD_createDCtx zfs_ZSTD_createDCtx
362 #define	ZSTD_createDStream_advanced zfs_ZSTD_createDStream_advanced
363 #define	ZSTD_createDStream zfs_ZSTD_createDStream
364 #define	ZSTD_DCtx_loadDictionary_advanced zfs_ZSTD_DCtx_loadDictionary_advanced
365 #define	ZSTD_DCtx_loadDictionary_byReference zfs_ZSTD_DCtx_loadDictionary_byReference
366 #define	ZSTD_DCtx_loadDictionary zfs_ZSTD_DCtx_loadDictionary
367 #define	ZSTD_DCtx_refDDict zfs_ZSTD_DCtx_refDDict
368 #define	ZSTD_DCtx_refPrefix_advanced zfs_ZSTD_DCtx_refPrefix_advanced
369 #define	ZSTD_DCtx_refPrefix zfs_ZSTD_DCtx_refPrefix
370 #define	ZSTD_DCtx_reset zfs_ZSTD_DCtx_reset
371 #define	ZSTD_DCtx_setFormat zfs_ZSTD_DCtx_setFormat
372 #define	ZSTD_DCtx_setMaxWindowSize zfs_ZSTD_DCtx_setMaxWindowSize
373 #define	ZSTD_DCtx_setParameter zfs_ZSTD_DCtx_setParameter
374 #define	ZSTD_decodingBufferSize_min zfs_ZSTD_decodingBufferSize_min
375 #define	ZSTD_decompressBegin_usingDDict zfs_ZSTD_decompressBegin_usingDDict
376 #define	ZSTD_decompressBegin_usingDict zfs_ZSTD_decompressBegin_usingDict
377 #define	ZSTD_decompressBegin zfs_ZSTD_decompressBegin
378 #define	ZSTD_decompressBound zfs_ZSTD_decompressBound
379 #define	ZSTD_decompressContinue zfs_ZSTD_decompressContinue
380 #define	ZSTD_decompressDCtx zfs_ZSTD_decompressDCtx
381 #define	ZSTD_decompressStream_simpleArgs zfs_ZSTD_decompressStream_simpleArgs
382 #define	ZSTD_decompressStream zfs_ZSTD_decompressStream
383 #define	ZSTD_decompress_usingDDict zfs_ZSTD_decompress_usingDDict
384 #define	ZSTD_decompress_usingDict zfs_ZSTD_decompress_usingDict
385 #define	ZSTD_decompress zfs_ZSTD_decompress
386 #define	ZSTD_dParam_getBounds zfs_ZSTD_dParam_getBounds
387 #define	ZSTD_DStreamInSize zfs_ZSTD_DStreamInSize
388 #define	ZSTD_DStreamOutSize zfs_ZSTD_DStreamOutSize
389 #define	ZSTD_estimateDCtxSize zfs_ZSTD_estimateDCtxSize
390 #define	ZSTD_estimateDStreamSize_fromFrame zfs_ZSTD_estimateDStreamSize_fromFrame
391 #define	ZSTD_estimateDStreamSize zfs_ZSTD_estimateDStreamSize
392 #define	ZSTD_findDecompressedSize zfs_ZSTD_findDecompressedSize
393 #define	ZSTD_findFrameCompressedSize zfs_ZSTD_findFrameCompressedSize
394 #define	ZSTD_frameHeaderSize zfs_ZSTD_frameHeaderSize
395 #define	ZSTD_freeDCtx zfs_ZSTD_freeDCtx
396 #define	ZSTD_freeDStream zfs_ZSTD_freeDStream
397 #define	ZSTD_getDecompressedSize zfs_ZSTD_getDecompressedSize
398 #define	ZSTD_getDictID_fromDict zfs_ZSTD_getDictID_fromDict
399 #define	ZSTD_getDictID_fromFrame zfs_ZSTD_getDictID_fromFrame
400 #define	ZSTD_getFrameContentSize zfs_ZSTD_getFrameContentSize
401 #define	ZSTD_getFrameHeader_advanced zfs_ZSTD_getFrameHeader_advanced
402 #define	ZSTD_getFrameHeader zfs_ZSTD_getFrameHeader
403 #define	ZSTD_initDStream_usingDDict zfs_ZSTD_initDStream_usingDDict
404 #define	ZSTD_initDStream_usingDict zfs_ZSTD_initDStream_usingDict
405 #define	ZSTD_initDStream zfs_ZSTD_initDStream
406 #define	ZSTD_initStaticDCtx zfs_ZSTD_initStaticDCtx
407 #define	ZSTD_initStaticDStream zfs_ZSTD_initStaticDStream
408 #define	ZSTD_insertBlock zfs_ZSTD_insertBlock
409 #define	ZSTD_isFrame zfs_ZSTD_isFrame
410 #define	ZSTD_loadDEntropy zfs_ZSTD_loadDEntropy
411 #define	ZSTD_nextInputType zfs_ZSTD_nextInputType
412 #define	ZSTD_nextSrcSizeToDecompress zfs_ZSTD_nextSrcSizeToDecompress
413 #define	ZSTD_resetDStream zfs_ZSTD_resetDStream
414 #define	ZSTD_sizeof_DCtx zfs_ZSTD_sizeof_DCtx
415 #define	ZSTD_sizeof_DStream zfs_ZSTD_sizeof_DStream
416 
417 /* lib/decompress/zstd_decompress_block.o: */
418 #define	ZSTD_buildFSETable zfs_ZSTD_buildFSETable
419 #define	ZSTD_checkContinuity zfs_ZSTD_checkContinuity
420 #define	ZSTD_decodeLiteralsBlock zfs_ZSTD_decodeLiteralsBlock
421 #define	ZSTD_decodeSeqHeaders zfs_ZSTD_decodeSeqHeaders
422 #define	ZSTD_decompressBlock_internal zfs_ZSTD_decompressBlock_internal
423 #define	ZSTD_decompressBlock zfs_ZSTD_decompressBlock
424 #define	ZSTD_getcBlockSize zfs_ZSTD_getcBlockSize
425