/kernel/linux/linux-5.10/tools/lib/bpf/ |
H A D | hashmap.c | 155 enum hashmap_insert_strategy strategy, in hashmap__insert() 168 if (strategy != HASHMAP_APPEND && in hashmap__insert() 175 if (strategy == HASHMAP_SET || strategy == HASHMAP_UPDATE) { in hashmap__insert() 179 } else if (strategy == HASHMAP_ADD) { in hashmap__insert() 184 if (strategy == HASHMAP_UPDATE) in hashmap__insert() 154 hashmap__insert(struct hashmap *map, const void *key, void *value, enum hashmap_insert_strategy strategy, const void **old_key, void **old_value) hashmap__insert() argument
|
H A D | hashmap.h | 85 * Hashmap insertion strategy: 107 * provided strategy value. If a given key/value pair replaced already 113 enum hashmap_insert_strategy strategy,
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | hashmap.c | 155 enum hashmap_insert_strategy strategy, in hashmap__insert() 168 if (strategy != HASHMAP_APPEND && in hashmap__insert() 175 if (strategy == HASHMAP_SET || strategy == HASHMAP_UPDATE) { in hashmap__insert() 179 } else if (strategy == HASHMAP_ADD) { in hashmap__insert() 184 if (strategy == HASHMAP_UPDATE) in hashmap__insert() 154 hashmap__insert(struct hashmap *map, const void *key, void *value, enum hashmap_insert_strategy strategy, const void **old_key, void **old_value) hashmap__insert() argument
|
H A D | hashmap.h | 85 * Hashmap insertion strategy: 107 * provided strategy value. If a given key/value pair replaced already 113 enum hashmap_insert_strategy strategy,
|
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | hashmap.c | 155 enum hashmap_insert_strategy strategy, in hashmap_insert() 168 if (strategy != HASHMAP_APPEND && in hashmap_insert() 175 if (strategy == HASHMAP_SET || strategy == HASHMAP_UPDATE) { in hashmap_insert() 179 } else if (strategy == HASHMAP_ADD) { in hashmap_insert() 184 if (strategy == HASHMAP_UPDATE) in hashmap_insert() 154 hashmap_insert(struct hashmap *map, long key, long value, enum hashmap_insert_strategy strategy, long *old_key, long *old_value) hashmap_insert() argument
|
H A D | hashmap.h | 95 * Hashmap insertion strategy: 124 * provided strategy value. If a given key/value pair replaced already 130 enum hashmap_insert_strategy strategy, 133 #define hashmap__insert(map, key, value, strategy, old_key, old_value) \ 134 hashmap_insert((map), (long)(key), (long)(value), (strategy), \
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | hashmap.c | 155 enum hashmap_insert_strategy strategy, in hashmap_insert() 168 if (strategy != HASHMAP_APPEND && in hashmap_insert() 175 if (strategy == HASHMAP_SET || strategy == HASHMAP_UPDATE) { in hashmap_insert() 179 } else if (strategy == HASHMAP_ADD) { in hashmap_insert() 184 if (strategy == HASHMAP_UPDATE) in hashmap_insert() 154 hashmap_insert(struct hashmap *map, long key, long value, enum hashmap_insert_strategy strategy, long *old_key, long *old_value) hashmap_insert() argument
|
H A D | hashmap.h | 95 * Hashmap insertion strategy: 124 * provided strategy value. If a given key/value pair replaced already 130 enum hashmap_insert_strategy strategy, 133 #define hashmap__insert(map, key, value, strategy, old_key, old_value) \ 134 hashmap_insert((map), (long)(key), (long)(value), (strategy), \
|
/kernel/linux/linux-6.6/lib/zstd/compress/ |
H A D | zstd_compress_literals.c | 72 ZSTD_strategy strategy, int disableLiteralCompression, in ZSTD_compressLiterals() 79 size_t const minGain = ZSTD_minGain(srcSize, strategy); in ZSTD_compressLiterals() 103 int const preferRepeat = strategy < ZSTD_lazy ? srcSize <= 1024 : 0; in ZSTD_compressLiterals() 70 ZSTD_compressLiterals(ZSTD_hufCTables_t const* prevHuf, ZSTD_hufCTables_t* nextHuf, ZSTD_strategy strategy, int disableLiteralCompression, void* dst, size_t dstCapacity, const void* src, size_t srcSize, void* entropyWorkspace, size_t entropyWorkspaceSize, const int bmi2, unsigned suspectUncompressible) ZSTD_compressLiterals() argument
|
H A D | zstd_compress.c | 59 * full-block strategy. 210 /* Returns true if the strategy supports using a row based matchfinder */ 211 static int ZSTD_rowMatchFinderSupported(const ZSTD_strategy strategy) { in ZSTD_rowMatchFinderSupported() argument 212 return (strategy >= ZSTD_greedy && strategy <= ZSTD_lazy2); in ZSTD_rowMatchFinderSupported() 215 /* Returns true if the strategy and useRowMatchFinder mode indicate that we will use the row based matchfinder 218 static int ZSTD_rowMatchFinderUsed(const ZSTD_strategy strategy, const ZSTD_paramSwitch_e mode) { in ZSTD_rowMatchFinderUsed() argument 220 return ZSTD_rowMatchFinderSupported(strategy) && (mode == ZSTD_ps_enable); in ZSTD_rowMatchFinderUsed() 233 if (!ZSTD_rowMatchFinderSupported(cParams->strategy)) return mode; in ZSTD_resolveRowMatchFinderMode() 246 return (cParams->strategy > in ZSTD_resolveBlockSplitterMode() 250 ZSTD_allocateChainTable(const ZSTD_strategy strategy, const ZSTD_paramSwitch_e useRowMatchFinder, const U32 forDDSDict) ZSTD_allocateChainTable() argument 2360 ZSTD_buildSequencesStatistics(seqStore_t* seqStorePtr, size_t nbSeq, const ZSTD_fseCTables_t* prevEntropy, ZSTD_fseCTables_t* nextEntropy, BYTE* dst, const BYTE* const dstEnd, ZSTD_strategy strategy, unsigned* countWorkspace, void* entropyWorkspace, size_t entropyWkspSize) ZSTD_buildSequencesStatistics() argument 2492 ZSTD_strategy const strategy = cctxParams->cParams.strategy; ZSTD_entropyCompressSeqStore_internal() local 3089 ZSTD_strategy const strategy = cctxParams->cParams.strategy; ZSTD_buildBlockEntropyStats_sequences() local [all...] |
H A D | zstd_compress_literals.h | 24 ZSTD_strategy strategy, int disableLiteralCompression,
|
H A D | zstd_compress_sequences.h | 29 ZSTD_strategy const strategy);
|
H A D | zstd_compress_sequences.c | 163 ZSTD_strategy const strategy) in ZSTD_selectEncodingType() 179 if (strategy < ZSTD_lazy) { in ZSTD_selectEncodingType() 182 size_t const mult = 10 - strategy; in ZSTD_selectEncodingType() 157 ZSTD_selectEncodingType( FSE_repeat* repeatMode, unsigned const* count, unsigned const max, size_t const mostFrequent, size_t nbSeq, unsigned const FSELog, FSE_CTable const* prevCTable, short const* defaultNorm, U32 defaultNormLog, ZSTD_defaultPolicy_e const isDefaultAllowed, ZSTD_strategy const strategy) ZSTD_selectEncodingType() argument
|
H A D | zstd_ldm.c | 242 switch(ms->cParams.strategy) in ZSTD_ldm_fillFastTables() 261 assert(0); /* not possible : not a valid strategy id */ in ZSTD_ldm_fillFastTables() 668 ZSTD_selectBlockCompressor(cParams->strategy, useRowMatchFinder, ZSTD_matchState_dictMode(ms)); in ZSTD_ldm_blockCompress() 677 if (cParams->strategy >= ZSTD_btopt) { in ZSTD_ldm_blockCompress()
|
/kernel/linux/linux-5.10/lib/zlib_dfltcc/ |
H A D | dfltcc_util.h | 92 int strategy, in dfltcc_are_params_ok() 98 (strategy == Z_DEFAULT_STRATEGY); in dfltcc_are_params_ok() 89 dfltcc_are_params_ok( int level, uInt window_bits, int strategy, uLong level_mask ) dfltcc_are_params_ok() argument
|
H A D | dfltcc_deflate.c | 26 if (!dfltcc_are_params_ok(state->level, state->w_bits, state->strategy, in dfltcc_can_deflate()
|
/kernel/linux/linux-6.6/lib/zlib_dfltcc/ |
H A D | dfltcc_util.h | 92 int strategy, in dfltcc_are_params_ok() 98 (strategy == Z_DEFAULT_STRATEGY); in dfltcc_are_params_ok() 89 dfltcc_are_params_ok( int level, uInt window_bits, int strategy, uLong level_mask ) dfltcc_are_params_ok() argument
|
/kernel/linux/linux-5.10/lib/zlib_deflate/ |
H A D | deflate.c | 194 int strategy in zlib_deflateInit2() 221 strategy < 0 || strategy > Z_HUFFMAN_ONLY) { in zlib_deflateInit2() 275 s->strategy = strategy; in zlib_deflateInit2() 953 if (s->strategy != Z_HUFFMAN_ONLY) { in deflate_fast() 1051 if (s->strategy != Z_HUFFMAN_ONLY) { in deflate_slow() 1056 if (s->match_length <= 5 && (s->strategy == Z_FILTERED || in deflate_slow()
|
H A D | defutil.h | 161 int strategy; /* favor or force Huffman coding*/ member
|
/kernel/linux/linux-6.6/lib/zlib_deflate/ |
H A D | deflate.c | 194 int strategy in zlib_deflateInit2() 221 strategy < 0 || strategy > Z_HUFFMAN_ONLY) { in zlib_deflateInit2() 275 s->strategy = strategy; in zlib_deflateInit2() 960 if (s->strategy != Z_HUFFMAN_ONLY) { in deflate_fast() 1058 if (s->strategy != Z_HUFFMAN_ONLY) { in deflate_slow() 1063 if (s->match_length <= 5 && (s->strategy == Z_FILTERED || in deflate_slow()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | zlib.h | 170 /* compression strategy; see deflateInit2() below for details */ 465 int strategy); 486 The strategy parameter is used to tune the compression algorithm. Use the 493 between Z_DEFAULT and Z_HUFFMAN_ONLY. The strategy parameter only affects 588 int strategy);
|
H A D | zstd.h | 115 * enum ZSTD_strategy - zstd compression search strategy 143 * @strategy: The zstd compression strategy. 152 ZSTD_strategy strategy; member
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | zlib.h | 170 /* compression strategy; see deflateInit2() below for details */ 465 int strategy); 486 The strategy parameter is used to tune the compression algorithm. Use the 493 between Z_DEFAULT and Z_HUFFMAN_ONLY. The strategy parameter only affects 588 int strategy);
|
/kernel/linux/linux-6.6/lib/zstd/ |
H A D | zstd_compress_module.c | 47 cctx, ZSTD_c_strategy, parameters->cParams.strategy)); in zstd_cctx_init()
|
/kernel/linux/linux-5.10/lib/zstd/ |
H A D | compress.c | 96 size_t const chainSize = (cParams.strategy == ZSTD_fast) ? 0 : (1 << cParams.chainLog); in ZSTD_CCtxWorkspaceBound() 104 (((cParams.strategy == ZSTD_btopt) || (cParams.strategy == ZSTD_btopt2)) ? optSpace : 0); in ZSTD_CCtxWorkspaceBound() 161 if ((U32)(cParams.strategy) > (U32)ZSTD_btopt2) in ZSTD_checkCParams() 198 U32 const cycleLog = ZSTD_cycleLog(cPar.chainLog, cPar.strategy); in ZSTD_adjustCParams() 212 (param1.cParams.strategy == param2.cParams.strategy) & ((param1.cParams.searchLength == 3) == (param2.cParams.searchLength == 3)); in ZSTD_equivalentParams() 256 size_t const chainSize = (params.cParams.strategy == ZSTD_fast) ? 0 : (1 << params.cParams.chainLog); in ZSTD_resetCCtx_advanced() 268 (((params.cParams.strategy == ZSTD_btopt) || (params.cParams.strategy in ZSTD_resetCCtx_advanced() [all...] |