xref: /freebsd/sys/contrib/openzfs/module/zstd/include/zstd_compat_wrapper.h (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
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 gen-zstd-symbols.
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_decompress_usingDTable zfs_FSE_decompress_usingDTable
77 #define	FSE_decompress_wksp zfs_FSE_decompress_wksp
78 #define	FSE_decompress zfs_FSE_decompress
79 
80 /* lib/common/pool.o: */
81 #define	POOL_add zfs_POOL_add
82 #define	POOL_create_advanced zfs_POOL_create_advanced
83 #define	POOL_create zfs_POOL_create
84 #define	POOL_free zfs_POOL_free
85 #define	POOL_resize zfs_POOL_resize
86 #define	POOL_sizeof zfs_POOL_sizeof
87 #define	POOL_tryAdd zfs_POOL_tryAdd
88 
89 /* lib/common/zstd_common.o: */
90 #define	ZSTD_calloc zfs_ZSTD_calloc
91 #define	ZSTD_free zfs_ZSTD_free
92 #define	ZSTD_getErrorCode zfs_ZSTD_getErrorCode
93 #define	ZSTD_getErrorName zfs_ZSTD_getErrorName
94 #define	ZSTD_getErrorString zfs_ZSTD_getErrorString
95 #define	ZSTD_isError zfs_ZSTD_isError
96 #define	ZSTD_malloc zfs_ZSTD_malloc
97 #define	ZSTD_versionNumber zfs_ZSTD_versionNumber
98 #define	ZSTD_versionString zfs_ZSTD_versionString
99 
100 /* lib/compress/fse_compress.o: */
101 #define	FSE_buildCTable_raw zfs_FSE_buildCTable_raw
102 #define	FSE_buildCTable_rle zfs_FSE_buildCTable_rle
103 #define	FSE_buildCTable_wksp zfs_FSE_buildCTable_wksp
104 #define	FSE_buildCTable zfs_FSE_buildCTable
105 #define	FSE_compress2 zfs_FSE_compress2
106 #define	FSE_compressBound zfs_FSE_compressBound
107 #define	FSE_compress_usingCTable zfs_FSE_compress_usingCTable
108 #define	FSE_compress_wksp zfs_FSE_compress_wksp
109 #define	FSE_compress zfs_FSE_compress
110 #define	FSE_createCTable zfs_FSE_createCTable
111 #define	FSE_freeCTable zfs_FSE_freeCTable
112 #define	FSE_NCountWriteBound zfs_FSE_NCountWriteBound
113 #define	FSE_normalizeCount zfs_FSE_normalizeCount
114 #define	FSE_optimalTableLog_internal zfs_FSE_optimalTableLog_internal
115 #define	FSE_optimalTableLog zfs_FSE_optimalTableLog
116 #define	FSE_writeNCount zfs_FSE_writeNCount
117 
118 /* lib/compress/hist.o: */
119 #define	HIST_countFast_wksp zfs_HIST_countFast_wksp
120 #define	HIST_countFast zfs_HIST_countFast
121 #define	HIST_count_simple zfs_HIST_count_simple
122 #define	HIST_count_wksp zfs_HIST_count_wksp
123 #define	HIST_count zfs_HIST_count
124 #define	HIST_isError zfs_HIST_isError
125 
126 /* lib/compress/huf_compress.o: */
127 #define	HUF_buildCTable_wksp zfs_HUF_buildCTable_wksp
128 #define	HUF_buildCTable zfs_HUF_buildCTable
129 #define	HUF_compress1X_repeat zfs_HUF_compress1X_repeat
130 #define	HUF_compress1X_usingCTable zfs_HUF_compress1X_usingCTable
131 #define	HUF_compress1X_wksp zfs_HUF_compress1X_wksp
132 #define	HUF_compress1X zfs_HUF_compress1X
133 #define	HUF_compress2 zfs_HUF_compress2
134 #define	HUF_compress4X_repeat zfs_HUF_compress4X_repeat
135 #define	HUF_compress4X_usingCTable zfs_HUF_compress4X_usingCTable
136 #define	HUF_compress4X_wksp zfs_HUF_compress4X_wksp
137 #define	HUF_compressBound zfs_HUF_compressBound
138 #define	HUF_compress zfs_HUF_compress
139 #define	HUF_estimateCompressedSize zfs_HUF_estimateCompressedSize
140 #define	HUF_getNbBits zfs_HUF_getNbBits
141 #define	HUF_optimalTableLog zfs_HUF_optimalTableLog
142 #define	HUF_readCTable zfs_HUF_readCTable
143 #define	HUF_validateCTable zfs_HUF_validateCTable
144 #define	HUF_writeCTable zfs_HUF_writeCTable
145 
146 /* lib/compress/zstd_compress_literals.o: */
147 #define	ZSTD_compressLiterals zfs_ZSTD_compressLiterals
148 #define	ZSTD_compressRleLiteralsBlock zfs_ZSTD_compressRleLiteralsBlock
149 #define	ZSTD_noCompressLiterals zfs_ZSTD_noCompressLiterals
150 
151 /* lib/compress/zstd_compress_sequences.o: */
152 #define	ZSTD_buildCTable zfs_ZSTD_buildCTable
153 #define	ZSTD_crossEntropyCost zfs_ZSTD_crossEntropyCost
154 #define	ZSTD_encodeSequences zfs_ZSTD_encodeSequences
155 #define	ZSTD_fseBitCost zfs_ZSTD_fseBitCost
156 #define	ZSTD_selectEncodingType zfs_ZSTD_selectEncodingType
157 
158 /* lib/compress/zstd_compress_superblock.o: */
159 #define	ZSTD_compressSuperBlock zfs_ZSTD_compressSuperBlock
160 
161 /* lib/compress/zstd_compress.o: */
162 #define	ZSTD_adjustCParams zfs_ZSTD_adjustCParams
163 #define	ZSTD_CCtx_getParameter zfs_ZSTD_CCtx_getParameter
164 #define	ZSTD_CCtx_loadDictionary_advanced zfs_ZSTD_CCtx_loadDictionary_advanced
165 #define	ZSTD_CCtx_loadDictionary_byReference zfs_ZSTD_CCtx_loadDictionary_byReference
166 #define	ZSTD_CCtx_loadDictionary zfs_ZSTD_CCtx_loadDictionary
167 #define	ZSTD_CCtxParams_getParameter zfs_ZSTD_CCtxParams_getParameter
168 #define	ZSTD_CCtxParams_init_advanced zfs_ZSTD_CCtxParams_init_advanced
169 #define	ZSTD_CCtxParams_init zfs_ZSTD_CCtxParams_init
170 #define	ZSTD_CCtxParams_reset zfs_ZSTD_CCtxParams_reset
171 #define	ZSTD_CCtxParams_setParameter zfs_ZSTD_CCtxParams_setParameter
172 #define	ZSTD_CCtx_refCDict zfs_ZSTD_CCtx_refCDict
173 #define	ZSTD_CCtx_refPrefix_advanced zfs_ZSTD_CCtx_refPrefix_advanced
174 #define	ZSTD_CCtx_refPrefix zfs_ZSTD_CCtx_refPrefix
175 #define	ZSTD_CCtx_reset zfs_ZSTD_CCtx_reset
176 #define	ZSTD_CCtx_setParametersUsingCCtxParams zfs_ZSTD_CCtx_setParametersUsingCCtxParams
177 #define	ZSTD_CCtx_setParameter zfs_ZSTD_CCtx_setParameter
178 #define	ZSTD_CCtx_setPledgedSrcSize zfs_ZSTD_CCtx_setPledgedSrcSize
179 #define	ZSTD_checkCParams zfs_ZSTD_checkCParams
180 #define	ZSTD_compress2 zfs_ZSTD_compress2
181 #define	ZSTD_compress_advanced_internal zfs_ZSTD_compress_advanced_internal
182 #define	ZSTD_compress_advanced zfs_ZSTD_compress_advanced
183 #define	ZSTD_compressBegin_advanced_internal zfs_ZSTD_compressBegin_advanced_internal
184 #define	ZSTD_compressBegin_advanced zfs_ZSTD_compressBegin_advanced
185 #define	ZSTD_compressBegin_usingCDict_advanced zfs_ZSTD_compressBegin_usingCDict_advanced
186 #define	ZSTD_compressBegin_usingCDict zfs_ZSTD_compressBegin_usingCDict
187 #define	ZSTD_compressBegin_usingDict zfs_ZSTD_compressBegin_usingDict
188 #define	ZSTD_compressBegin zfs_ZSTD_compressBegin
189 #define	ZSTD_compressBlock zfs_ZSTD_compressBlock
190 #define	ZSTD_compressBound zfs_ZSTD_compressBound
191 #define	ZSTD_compressCCtx zfs_ZSTD_compressCCtx
192 #define	ZSTD_compressContinue zfs_ZSTD_compressContinue
193 #define	ZSTD_compressEnd zfs_ZSTD_compressEnd
194 #define	ZSTD_compressStream2_simpleArgs zfs_ZSTD_compressStream2_simpleArgs
195 #define	ZSTD_compressStream2 zfs_ZSTD_compressStream2
196 #define	ZSTD_compressStream zfs_ZSTD_compressStream
197 #define	ZSTD_compress_usingCDict_advanced zfs_ZSTD_compress_usingCDict_advanced
198 #define	ZSTD_compress_usingCDict zfs_ZSTD_compress_usingCDict
199 #define	ZSTD_compress_usingDict zfs_ZSTD_compress_usingDict
200 #define	ZSTD_compress zfs_ZSTD_compress
201 #define	ZSTD_copyCCtx zfs_ZSTD_copyCCtx
202 #define	ZSTD_cParam_getBounds zfs_ZSTD_cParam_getBounds
203 #define	ZSTD_createCCtx_advanced zfs_ZSTD_createCCtx_advanced
204 #define	ZSTD_createCCtxParams zfs_ZSTD_createCCtxParams
205 #define	ZSTD_createCCtx zfs_ZSTD_createCCtx
206 #define	ZSTD_createCDict_advanced zfs_ZSTD_createCDict_advanced
207 #define	ZSTD_createCDict_byReference zfs_ZSTD_createCDict_byReference
208 #define	ZSTD_createCDict zfs_ZSTD_createCDict
209 #define	ZSTD_createCStream_advanced zfs_ZSTD_createCStream_advanced
210 #define	ZSTD_createCStream zfs_ZSTD_createCStream
211 #define	ZSTD_CStreamInSize zfs_ZSTD_CStreamInSize
212 #define	ZSTD_CStreamOutSize zfs_ZSTD_CStreamOutSize
213 #define	ZSTD_cycleLog zfs_ZSTD_cycleLog
214 #define	ZSTD_endStream zfs_ZSTD_endStream
215 #define	ZSTD_estimateCCtxSize_usingCCtxParams zfs_ZSTD_estimateCCtxSize_usingCCtxParams
216 #define	ZSTD_estimateCCtxSize_usingCParams zfs_ZSTD_estimateCCtxSize_usingCParams
217 #define	ZSTD_estimateCCtxSize zfs_ZSTD_estimateCCtxSize
218 #define	ZSTD_estimateCDictSize_advanced zfs_ZSTD_estimateCDictSize_advanced
219 #define	ZSTD_estimateCDictSize zfs_ZSTD_estimateCDictSize
220 #define	ZSTD_estimateCStreamSize_usingCCtxParams zfs_ZSTD_estimateCStreamSize_usingCCtxParams
221 #define	ZSTD_estimateCStreamSize_usingCParams zfs_ZSTD_estimateCStreamSize_usingCParams
222 #define	ZSTD_estimateCStreamSize zfs_ZSTD_estimateCStreamSize
223 #define	ZSTD_flushStream zfs_ZSTD_flushStream
224 #define	ZSTD_freeCCtxParams zfs_ZSTD_freeCCtxParams
225 #define	ZSTD_freeCCtx zfs_ZSTD_freeCCtx
226 #define	ZSTD_freeCDict zfs_ZSTD_freeCDict
227 #define	ZSTD_freeCStream zfs_ZSTD_freeCStream
228 #define	ZSTD_getBlockSize zfs_ZSTD_getBlockSize
229 #define	ZSTD_getCParamsFromCCtxParams zfs_ZSTD_getCParamsFromCCtxParams
230 #define	ZSTD_getCParamsFromCDict zfs_ZSTD_getCParamsFromCDict
231 #define	ZSTD_getCParams zfs_ZSTD_getCParams
232 #define	ZSTD_getFrameProgression zfs_ZSTD_getFrameProgression
233 #define	ZSTD_getParams zfs_ZSTD_getParams
234 #define	ZSTD_getSeqStore zfs_ZSTD_getSeqStore
235 #define	ZSTD_getSequences zfs_ZSTD_getSequences
236 #define	ZSTD_initCStream_advanced zfs_ZSTD_initCStream_advanced
237 #define	ZSTD_initCStream_internal zfs_ZSTD_initCStream_internal
238 #define	ZSTD_initCStream_srcSize zfs_ZSTD_initCStream_srcSize
239 #define	ZSTD_initCStream_usingCDict_advanced zfs_ZSTD_initCStream_usingCDict_advanced
240 #define	ZSTD_initCStream_usingCDict zfs_ZSTD_initCStream_usingCDict
241 #define	ZSTD_initCStream_usingDict zfs_ZSTD_initCStream_usingDict
242 #define	ZSTD_initCStream zfs_ZSTD_initCStream
243 #define	ZSTD_initStaticCCtx zfs_ZSTD_initStaticCCtx
244 #define	ZSTD_initStaticCDict zfs_ZSTD_initStaticCDict
245 #define	ZSTD_initStaticCStream zfs_ZSTD_initStaticCStream
246 #define	ZSTD_invalidateRepCodes zfs_ZSTD_invalidateRepCodes
247 #define	ZSTD_loadCEntropy zfs_ZSTD_loadCEntropy
248 #define	ZSTD_maxCLevel zfs_ZSTD_maxCLevel
249 #define	ZSTD_minCLevel zfs_ZSTD_minCLevel
250 #define	ZSTD_referenceExternalSequences zfs_ZSTD_referenceExternalSequences
251 #define	ZSTD_reset_compressedBlockState zfs_ZSTD_reset_compressedBlockState
252 #define	ZSTD_resetCStream zfs_ZSTD_resetCStream
253 #define	ZSTD_resetSeqStore zfs_ZSTD_resetSeqStore
254 #define	ZSTD_selectBlockCompressor zfs_ZSTD_selectBlockCompressor
255 #define	ZSTD_seqToCodes zfs_ZSTD_seqToCodes
256 #define	ZSTD_sizeof_CCtx zfs_ZSTD_sizeof_CCtx
257 #define	ZSTD_sizeof_CDict zfs_ZSTD_sizeof_CDict
258 #define	ZSTD_sizeof_CStream zfs_ZSTD_sizeof_CStream
259 #define	ZSTD_toFlushNow zfs_ZSTD_toFlushNow
260 #define	ZSTD_writeLastEmptyBlock zfs_ZSTD_writeLastEmptyBlock
261 
262 /* lib/compress/zstd_double_fast.o: */
263 #define	ZSTD_compressBlock_doubleFast_dictMatchState zfs_ZSTD_compressBlock_doubleFast_dictMatchState
264 #define	ZSTD_compressBlock_doubleFast_extDict zfs_ZSTD_compressBlock_doubleFast_extDict
265 #define	ZSTD_compressBlock_doubleFast zfs_ZSTD_compressBlock_doubleFast
266 #define	ZSTD_fillDoubleHashTable zfs_ZSTD_fillDoubleHashTable
267 
268 /* lib/compress/zstd_fast.o: */
269 #define	ZSTD_compressBlock_fast_dictMatchState zfs_ZSTD_compressBlock_fast_dictMatchState
270 #define	ZSTD_compressBlock_fast_extDict zfs_ZSTD_compressBlock_fast_extDict
271 #define	ZSTD_compressBlock_fast zfs_ZSTD_compressBlock_fast
272 #define	ZSTD_fillHashTable zfs_ZSTD_fillHashTable
273 
274 /* lib/compress/zstd_lazy.o: */
275 #define	ZSTD_compressBlock_btlazy2_dictMatchState zfs_ZSTD_compressBlock_btlazy2_dictMatchState
276 #define	ZSTD_compressBlock_btlazy2_extDict zfs_ZSTD_compressBlock_btlazy2_extDict
277 #define	ZSTD_compressBlock_btlazy2 zfs_ZSTD_compressBlock_btlazy2
278 #define	ZSTD_compressBlock_greedy_dictMatchState zfs_ZSTD_compressBlock_greedy_dictMatchState
279 #define	ZSTD_compressBlock_greedy_extDict zfs_ZSTD_compressBlock_greedy_extDict
280 #define	ZSTD_compressBlock_greedy zfs_ZSTD_compressBlock_greedy
281 #define	ZSTD_compressBlock_lazy2_dictMatchState zfs_ZSTD_compressBlock_lazy2_dictMatchState
282 #define	ZSTD_compressBlock_lazy2_extDict zfs_ZSTD_compressBlock_lazy2_extDict
283 #define	ZSTD_compressBlock_lazy2 zfs_ZSTD_compressBlock_lazy2
284 #define	ZSTD_compressBlock_lazy_dictMatchState zfs_ZSTD_compressBlock_lazy_dictMatchState
285 #define	ZSTD_compressBlock_lazy_extDict zfs_ZSTD_compressBlock_lazy_extDict
286 #define	ZSTD_compressBlock_lazy zfs_ZSTD_compressBlock_lazy
287 #define	ZSTD_insertAndFindFirstIndex zfs_ZSTD_insertAndFindFirstIndex
288 
289 /* lib/compress/zstd_ldm.o: */
290 #define	ZSTD_ldm_adjustParameters zfs_ZSTD_ldm_adjustParameters
291 #define	ZSTD_ldm_blockCompress zfs_ZSTD_ldm_blockCompress
292 #define	ZSTD_ldm_fillHashTable zfs_ZSTD_ldm_fillHashTable
293 #define	ZSTD_ldm_generateSequences zfs_ZSTD_ldm_generateSequences
294 #define	ZSTD_ldm_getMaxNbSeq zfs_ZSTD_ldm_getMaxNbSeq
295 #define	ZSTD_ldm_getTableSize zfs_ZSTD_ldm_getTableSize
296 #define	ZSTD_ldm_skipSequences zfs_ZSTD_ldm_skipSequences
297 
298 /* lib/compress/zstd_opt.o: */
299 #define	ZSTD_compressBlock_btopt_dictMatchState zfs_ZSTD_compressBlock_btopt_dictMatchState
300 #define	ZSTD_compressBlock_btopt_extDict zfs_ZSTD_compressBlock_btopt_extDict
301 #define	ZSTD_compressBlock_btopt zfs_ZSTD_compressBlock_btopt
302 #define	ZSTD_compressBlock_btultra2 zfs_ZSTD_compressBlock_btultra2
303 #define	ZSTD_compressBlock_btultra_dictMatchState zfs_ZSTD_compressBlock_btultra_dictMatchState
304 #define	ZSTD_compressBlock_btultra_extDict zfs_ZSTD_compressBlock_btultra_extDict
305 #define	ZSTD_compressBlock_btultra zfs_ZSTD_compressBlock_btultra
306 #define	ZSTD_updateTree zfs_ZSTD_updateTree
307 
308 /* lib/decompress/huf_decompress.o: */
309 #define	HUF_decompress1X1_DCtx_wksp_bmi2 zfs_HUF_decompress1X1_DCtx_wksp_bmi2
310 #define	HUF_decompress1X1_DCtx_wksp zfs_HUF_decompress1X1_DCtx_wksp
311 #define	HUF_decompress1X1_DCtx zfs_HUF_decompress1X1_DCtx
312 #define	HUF_decompress1X1_usingDTable zfs_HUF_decompress1X1_usingDTable
313 #define	HUF_decompress1X1 zfs_HUF_decompress1X1
314 #define	HUF_decompress1X2_DCtx_wksp zfs_HUF_decompress1X2_DCtx_wksp
315 #define	HUF_decompress1X2_DCtx zfs_HUF_decompress1X2_DCtx
316 #define	HUF_decompress1X2_usingDTable zfs_HUF_decompress1X2_usingDTable
317 #define	HUF_decompress1X2 zfs_HUF_decompress1X2
318 #define	HUF_decompress1X_DCtx_wksp zfs_HUF_decompress1X_DCtx_wksp
319 #define	HUF_decompress1X_DCtx zfs_HUF_decompress1X_DCtx
320 #define	HUF_decompress1X_usingDTable_bmi2 zfs_HUF_decompress1X_usingDTable_bmi2
321 #define	HUF_decompress1X_usingDTable zfs_HUF_decompress1X_usingDTable
322 #define	HUF_decompress4X1_DCtx_wksp zfs_HUF_decompress4X1_DCtx_wksp
323 #define	HUF_decompress4X1_DCtx zfs_HUF_decompress4X1_DCtx
324 #define	HUF_decompress4X1_usingDTable zfs_HUF_decompress4X1_usingDTable
325 #define	HUF_decompress4X1 zfs_HUF_decompress4X1
326 #define	HUF_decompress4X2_DCtx_wksp zfs_HUF_decompress4X2_DCtx_wksp
327 #define	HUF_decompress4X2_DCtx zfs_HUF_decompress4X2_DCtx
328 #define	HUF_decompress4X2_usingDTable zfs_HUF_decompress4X2_usingDTable
329 #define	HUF_decompress4X2 zfs_HUF_decompress4X2
330 #define	HUF_decompress4X_DCtx zfs_HUF_decompress4X_DCtx
331 #define	HUF_decompress4X_hufOnly_wksp_bmi2 zfs_HUF_decompress4X_hufOnly_wksp_bmi2
332 #define	HUF_decompress4X_hufOnly_wksp zfs_HUF_decompress4X_hufOnly_wksp
333 #define	HUF_decompress4X_hufOnly zfs_HUF_decompress4X_hufOnly
334 #define	HUF_decompress4X_usingDTable_bmi2 zfs_HUF_decompress4X_usingDTable_bmi2
335 #define	HUF_decompress4X_usingDTable zfs_HUF_decompress4X_usingDTable
336 #define	HUF_decompress zfs_HUF_decompress
337 #define	HUF_readDTableX1_wksp zfs_HUF_readDTableX1_wksp
338 #define	HUF_readDTableX1 zfs_HUF_readDTableX1
339 #define	HUF_readDTableX2_wksp zfs_HUF_readDTableX2_wksp
340 #define	HUF_readDTableX2 zfs_HUF_readDTableX2
341 #define	HUF_selectDecoder zfs_HUF_selectDecoder
342 
343 /* lib/decompress/zstd_ddict.o: */
344 #define	ZSTD_copyDDictParameters zfs_ZSTD_copyDDictParameters
345 #define	ZSTD_createDDict_advanced zfs_ZSTD_createDDict_advanced
346 #define	ZSTD_createDDict_byReference zfs_ZSTD_createDDict_byReference
347 #define	ZSTD_createDDict zfs_ZSTD_createDDict
348 #define	ZSTD_DDict_dictContent zfs_ZSTD_DDict_dictContent
349 #define	ZSTD_DDict_dictSize zfs_ZSTD_DDict_dictSize
350 #define	ZSTD_estimateDDictSize zfs_ZSTD_estimateDDictSize
351 #define	ZSTD_freeDDict zfs_ZSTD_freeDDict
352 #define	ZSTD_getDictID_fromDDict zfs_ZSTD_getDictID_fromDDict
353 #define	ZSTD_initStaticDDict zfs_ZSTD_initStaticDDict
354 #define	ZSTD_sizeof_DDict zfs_ZSTD_sizeof_DDict
355 
356 /* lib/decompress/zstd_decompress.o: */
357 #define	ZSTD_copyDCtx zfs_ZSTD_copyDCtx
358 #define	ZSTD_createDCtx_advanced zfs_ZSTD_createDCtx_advanced
359 #define	ZSTD_createDCtx zfs_ZSTD_createDCtx
360 #define	ZSTD_createDStream_advanced zfs_ZSTD_createDStream_advanced
361 #define	ZSTD_createDStream zfs_ZSTD_createDStream
362 #define	ZSTD_DCtx_loadDictionary_advanced zfs_ZSTD_DCtx_loadDictionary_advanced
363 #define	ZSTD_DCtx_loadDictionary_byReference zfs_ZSTD_DCtx_loadDictionary_byReference
364 #define	ZSTD_DCtx_loadDictionary zfs_ZSTD_DCtx_loadDictionary
365 #define	ZSTD_DCtx_refDDict zfs_ZSTD_DCtx_refDDict
366 #define	ZSTD_DCtx_refPrefix_advanced zfs_ZSTD_DCtx_refPrefix_advanced
367 #define	ZSTD_DCtx_refPrefix zfs_ZSTD_DCtx_refPrefix
368 #define	ZSTD_DCtx_reset zfs_ZSTD_DCtx_reset
369 #define	ZSTD_DCtx_setFormat zfs_ZSTD_DCtx_setFormat
370 #define	ZSTD_DCtx_setMaxWindowSize zfs_ZSTD_DCtx_setMaxWindowSize
371 #define	ZSTD_DCtx_setParameter zfs_ZSTD_DCtx_setParameter
372 #define	ZSTD_decodingBufferSize_min zfs_ZSTD_decodingBufferSize_min
373 #define	ZSTD_decompressBegin_usingDDict zfs_ZSTD_decompressBegin_usingDDict
374 #define	ZSTD_decompressBegin_usingDict zfs_ZSTD_decompressBegin_usingDict
375 #define	ZSTD_decompressBegin zfs_ZSTD_decompressBegin
376 #define	ZSTD_decompressBound zfs_ZSTD_decompressBound
377 #define	ZSTD_decompressContinue zfs_ZSTD_decompressContinue
378 #define	ZSTD_decompressDCtx zfs_ZSTD_decompressDCtx
379 #define	ZSTD_decompressStream_simpleArgs zfs_ZSTD_decompressStream_simpleArgs
380 #define	ZSTD_decompressStream zfs_ZSTD_decompressStream
381 #define	ZSTD_decompress_usingDDict zfs_ZSTD_decompress_usingDDict
382 #define	ZSTD_decompress_usingDict zfs_ZSTD_decompress_usingDict
383 #define	ZSTD_decompress zfs_ZSTD_decompress
384 #define	ZSTD_dParam_getBounds zfs_ZSTD_dParam_getBounds
385 #define	ZSTD_DStreamInSize zfs_ZSTD_DStreamInSize
386 #define	ZSTD_DStreamOutSize zfs_ZSTD_DStreamOutSize
387 #define	ZSTD_estimateDCtxSize zfs_ZSTD_estimateDCtxSize
388 #define	ZSTD_estimateDStreamSize_fromFrame zfs_ZSTD_estimateDStreamSize_fromFrame
389 #define	ZSTD_estimateDStreamSize zfs_ZSTD_estimateDStreamSize
390 #define	ZSTD_findDecompressedSize zfs_ZSTD_findDecompressedSize
391 #define	ZSTD_findFrameCompressedSize zfs_ZSTD_findFrameCompressedSize
392 #define	ZSTD_frameHeaderSize zfs_ZSTD_frameHeaderSize
393 #define	ZSTD_freeDCtx zfs_ZSTD_freeDCtx
394 #define	ZSTD_freeDStream zfs_ZSTD_freeDStream
395 #define	ZSTD_getDecompressedSize zfs_ZSTD_getDecompressedSize
396 #define	ZSTD_getDictID_fromDict zfs_ZSTD_getDictID_fromDict
397 #define	ZSTD_getDictID_fromFrame zfs_ZSTD_getDictID_fromFrame
398 #define	ZSTD_getFrameContentSize zfs_ZSTD_getFrameContentSize
399 #define	ZSTD_getFrameHeader_advanced zfs_ZSTD_getFrameHeader_advanced
400 #define	ZSTD_getFrameHeader zfs_ZSTD_getFrameHeader
401 #define	ZSTD_initDStream_usingDDict zfs_ZSTD_initDStream_usingDDict
402 #define	ZSTD_initDStream_usingDict zfs_ZSTD_initDStream_usingDict
403 #define	ZSTD_initDStream zfs_ZSTD_initDStream
404 #define	ZSTD_initStaticDCtx zfs_ZSTD_initStaticDCtx
405 #define	ZSTD_initStaticDStream zfs_ZSTD_initStaticDStream
406 #define	ZSTD_insertBlock zfs_ZSTD_insertBlock
407 #define	ZSTD_isFrame zfs_ZSTD_isFrame
408 #define	ZSTD_loadDEntropy zfs_ZSTD_loadDEntropy
409 #define	ZSTD_nextInputType zfs_ZSTD_nextInputType
410 #define	ZSTD_nextSrcSizeToDecompress zfs_ZSTD_nextSrcSizeToDecompress
411 #define	ZSTD_resetDStream zfs_ZSTD_resetDStream
412 #define	ZSTD_sizeof_DCtx zfs_ZSTD_sizeof_DCtx
413 #define	ZSTD_sizeof_DStream zfs_ZSTD_sizeof_DStream
414 
415 /* lib/decompress/zstd_decompress_block.o: */
416 #define	ZSTD_buildFSETable zfs_ZSTD_buildFSETable
417 #define	ZSTD_checkContinuity zfs_ZSTD_checkContinuity
418 #define	ZSTD_decodeLiteralsBlock zfs_ZSTD_decodeLiteralsBlock
419 #define	ZSTD_decodeSeqHeaders zfs_ZSTD_decodeSeqHeaders
420 #define	ZSTD_decompressBlock_internal zfs_ZSTD_decompressBlock_internal
421 #define	ZSTD_decompressBlock zfs_ZSTD_decompressBlock
422 #define	ZSTD_getcBlockSize zfs_ZSTD_getcBlockSize
423