Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/zstd/lib/decompress/
H A Dzstd_ddict.c40 ZSTD_entropyDTables_t entropy; member
75 dctx->LLTptr = ddict->entropy.LLTable; in ZSTD_copyDDictParameters()
76 dctx->MLTptr = ddict->entropy.MLTable; in ZSTD_copyDDictParameters()
77 dctx->OFTptr = ddict->entropy.OFTable; in ZSTD_copyDDictParameters()
78 dctx->HUFptr = ddict->entropy.hufTable; in ZSTD_copyDDictParameters()
79 dctx->entropy.rep[0] = ddict->entropy.rep[0]; in ZSTD_copyDDictParameters()
80 dctx->entropy.rep[1] = ddict->entropy.rep[1]; in ZSTD_copyDDictParameters()
81 dctx->entropy.rep[2] = ddict->entropy.rep[2]; in ZSTD_copyDDictParameters()
113 &ddict->entropy, ddict->dictContent, ddict->dictSize)), in ZSTD_loadEntropy_intoDDict()
137 …ddict->entropy.hufTable[0] = (HUF_DTable)((HufLog)*0x1000001); /* cover both little and big endia… in ZSTD_initDDict_internal()
H A Dzstd_decompress.c1080 …ZSTD_STATIC_ASSERT(sizeof(entropy->LLTable) + sizeof(entropy->OFTable) + sizeof(entropy->MLTable) … in ZSTD_loadDEntropy()
1082 …size_t const workspaceSize = sizeof(entropy->LLTable) + sizeof(entropy->OFTable) + sizeof(entropy-… in ZSTD_loadDEntropy()
1103 ZSTD_buildFSETable( entropy->OFTable, in ZSTD_loadDEntropy()
1107 entropy->workspace, sizeof(entropy->workspace), in ZSTD_loadDEntropy()
1122 entropy->workspace, sizeof(entropy->workspace), in ZSTD_loadDEntropy()
1137 entropy->workspace, sizeof(entropy->workspace), in ZSTD_loadDEntropy()
1149 entropy->rep[i] = rep; in ZSTD_loadDEntropy()
1192 dctx->LLTptr = dctx->entropy.LLTable; in ZSTD_decompressBegin()
1193 dctx->MLTptr = dctx->entropy.MLTable; in ZSTD_decompressBegin()
1194 dctx->OFTptr = dctx->entropy.OFTable; in ZSTD_decompressBegin()
[all …]
H A Dzstd_decompress_internal.h108 ZSTD_entropyDTables_t entropy; member
179 size_t ZSTD_loadDEntropy(ZSTD_entropyDTables_t* entropy,
H A Dzstd_decompress_block.c129 PREFETCH_AREA(dctx->HUFptr, sizeof(dctx->entropy.hufTable)); in ZSTD_decodeLiteralsBlock()
146 dctx->entropy.hufTable, dctx->litBuffer, litSize, in ZSTD_decodeLiteralsBlock()
151 dctx->entropy.hufTable, dctx->litBuffer, litSize, in ZSTD_decodeLiteralsBlock()
157 dctx->entropy.hufTable, dctx->litBuffer, litSize, in ZSTD_decodeLiteralsBlock()
168 if (litEncType==set_compressed) dctx->HUFptr = dctx->entropy.hufTable; in ZSTD_decodeLiteralsBlock()
616 { size_t const llhSize = ZSTD_buildSeqTable(dctx->entropy.LLTable, &dctx->LLTptr, in ZSTD_decodeSeqHeaders()
628 { size_t const ofhSize = ZSTD_buildSeqTable(dctx->entropy.OFTable, &dctx->OFTptr, in ZSTD_decodeSeqHeaders()
640 { size_t const mlhSize = ZSTD_buildSeqTable(dctx->entropy.MLTable, &dctx->MLTptr, in ZSTD_decodeSeqHeaders()
1127 { U32 i; for (i=0; i<ZSTD_REP_NUM; i++) seqState.prevOffset[i] = dctx->entropy.rep[i]; } in ZSTD_decompressSequences_body()
1208 … { U32 i; for (i=0; i<ZSTD_REP_NUM; i++) dctx->entropy.rep[i] = (U32)(seqState.prevOffset[i]); } in ZSTD_decompressSequences_body()
[all …]
/f-stack/freebsd/sys/
H A Drandom.h119 random_harvest_queue(const void *entropy, u_int size, enum random_entropy_source origin) in random_harvest_queue() argument
123 random_harvest_queue_(entropy, size, origin); in random_harvest_queue()
127 random_harvest_fast(const void *entropy, u_int size, enum random_entropy_source origin) in random_harvest_fast() argument
131 random_harvest_fast_(entropy, size); in random_harvest_fast()
135 random_harvest_direct(const void *entropy, u_int size, enum random_entropy_source origin) in random_harvest_direct() argument
139 random_harvest_direct_(entropy, size, origin); in random_harvest_direct()
/f-stack/freebsd/contrib/device-tree/Bindings/rng/
H A Dtimeriomem_rng.txt9 - quality : estimated number of bits of true entropy per 1024 bits read from the
13 entropy pool.
/f-stack/freebsd/contrib/zstd/lib/compress/
H A Dzstd_compress_superblock.c536 static size_t ZSTD_compressSubBlock(const ZSTD_entropyCTables_t* entropy, in ZSTD_compressSubBlock() argument
553 { size_t cLitSize = ZSTD_compressSubBlock_literal((const HUF_CElt*)entropy->huf.CTable, in ZSTD_compressSubBlock()
560 { size_t cSeqSize = ZSTD_compressSubBlock_sequences(&entropy->fse, in ZSTD_compressSubBlock()
669 const ZSTD_entropyCTables_t* entropy, in ZSTD_estimateSubBlockSize() argument
675 … &entropy->huf, &entropyMetadata->hufMetadata, in ZSTD_estimateSubBlockSize()
678 … nbSeq, &entropy->fse, &entropyMetadata->fseMetadata, in ZSTD_estimateSubBlockSize()
757 &nextCBlock->entropy, entropyMetadata, in ZSTD_compressSubBlock_multi()
763 const size_t cSize = ZSTD_compressSubBlock(&nextCBlock->entropy, entropyMetadata, in ZSTD_compressSubBlock_multi()
797 … ZSTD_memcpy(&nextCBlock->entropy.huf, &prevCBlock->entropy.huf, sizeof(prevCBlock->entropy.huf)); in ZSTD_compressSubBlock_multi()
834 &zc->blockState.prevCBlock->entropy, in ZSTD_compressSuperBlock()
[all …]
H A Dzstd_compress.c1478 bs->entropy.huf.repeatMode = HUF_repeat_none; in ZSTD_reset_compressedBlockState()
1479 bs->entropy.fse.offcode_repeatMode = FSE_repeat_none; in ZSTD_reset_compressedBlockState()
1480 bs->entropy.fse.matchlength_repeatMode = FSE_repeat_none; in ZSTD_reset_compressedBlockState()
1481 bs->entropy.fse.litlength_repeatMode = FSE_repeat_none; in ZSTD_reset_compressedBlockState()
2692 &zc->blockState.prevCBlock->entropy, &zc->blockState.nextCBlock->entropy, in ZSTD_compressBlock_internal()
3175 bs->entropy.huf.repeatMode = HUF_repeat_check; in ZSTD_loadCEntropy()
3185 bs->entropy.huf.repeatMode = HUF_repeat_valid; in ZSTD_loadCEntropy()
3198 bs->entropy.fse.offcodeCTable, in ZSTD_loadCEntropy()
3212 bs->entropy.fse.matchlengthCTable, in ZSTD_loadCEntropy()
3226 bs->entropy.fse.litlengthCTable, in ZSTD_loadCEntropy()
[all …]
H A Dzstd_compress_internal.h139 ZSTD_entropyCTables_t entropy; member
/f-stack/freebsd/kern/
H A Dkern_intr.c949 struct intr_entropy entropy; in intr_event_schedule_thread() local
970 entropy.event = (uintptr_t)ie; in intr_event_schedule_thread()
971 entropy.td = ctd; in intr_event_schedule_thread()
972 random_harvest_queue(&entropy, sizeof(entropy), RANDOM_INTERRUPT); in intr_event_schedule_thread()
1056 struct intr_entropy entropy; in swi_sched() local
1063 entropy.event = (uintptr_t)ih; in swi_sched()
1064 entropy.td = curthread; in swi_sched()
1065 random_harvest_queue(&entropy, sizeof(entropy), RANDOM_SWI); in swi_sched()
/f-stack/freebsd/contrib/zstd/lib/
H A DBUCK107 name='entropy',
226 ':entropy',
/f-stack/freebsd/contrib/openzfs/module/os/linux/spl/
H A Dspl-generic.c153 }entropy; in random_get_pseudo_bytes() local
157 entropy.ui64 = spl_rand_next(s); in random_get_pseudo_bytes()
160 *ptr++ = entropy.byte[i]; in random_get_pseudo_bytes()
/f-stack/lib/
H A Dff_compat.c307 random_harvest_queue(const void *entropy, u_int size,
/f-stack/freebsd/contrib/openzfs/module/zstd/lib/
H A Dzstd.c10034 ZSTD_entropyCTables_t entropy; member
12501 memcpy(&nextCBlock->entropy.huf, &prevCBlock->entropy.huf, sizeof(prevCBlock->entropy.huf)); in ZSTD_compressSubBlock_multi()
15526 &zc->blockState.prevCBlock->entropy, &zc->blockState.nextCBlock->entropy, in ZSTD_compressBlock_internal()
22732 ZSTD_entropyDTables_t entropy; member
24240 ZSTD_entropyDTables_t entropy; member
24279 dctx->entropy.rep[0] = ddict->entropy.rep[0]; in ZSTD_copyDDictParameters()
24280 dctx->entropy.rep[1] = ddict->entropy.rep[1]; in ZSTD_copyDDictParameters()
24281 dctx->entropy.rep[2] = ddict->entropy.rep[2]; in ZSTD_copyDDictParameters()
25574 …ZSTD_STATIC_ASSERT(sizeof(entropy->LLTable) + sizeof(entropy->OFTable) + sizeof(entropy->MLTable) … in ZSTD_loadDEntropy()
25576 …size_t const workspaceSize = sizeof(entropy->LLTable) + sizeof(entropy->OFTable) + sizeof(entropy-… in ZSTD_loadDEntropy()
[all …]
/f-stack/freebsd/contrib/device-tree/Bindings/
H A Dchosen.txt15 entropy used to randomize the kernel image base address location. Since
/f-stack/freebsd/contrib/libsodium/
H A Dconfigure.ac259 AX_CHECK_LINK_FLAG([-Wl,--high-entropy-va], [LDFLAGS="$LDFLAGS -Wl,--high-entropy-va"])
/f-stack/freebsd/contrib/zstd/
H A DREADME.md5 It's backed by a very fast entropy stage, provided by [Huff0 and FSE library](https://github.com/Cy…
/f-stack/freebsd/contrib/zstd/doc/
H A Dzstd_compression_format.md90 - [Entropy Encoding](#entropy-encoding)
1003 Two types of entropy encoding are used by the Zstandard format:
1013 FSE, short for Finite State Entropy, is an entropy codec based on [ANS].
/f-stack/freebsd/contrib/zstd/programs/
H A Dzstd.1.md20 It is based on the **LZ77** family, with further FSE & huff0 entropy stages.