Searched refs:strategy (Results 1 - 23 of 23) sorted by relevance

/linux-master/lib/zstd/compress/
H A Dzstd_compress_literals.h24 ZSTD_strategy strategy, int disableLiteralCompression,
H A Dzstd_compress_literals.c72 ZSTD_strategy strategy, int disableLiteralCompression,
79 size_t const minGain = ZSTD_minGain(srcSize, strategy);
103 int const preferRepeat = strategy < ZSTD_lazy ? srcSize <= 1024 : 0;
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) argument
H A Dzstd_compress_sequences.h29 ZSTD_strategy const strategy);
H A Dzstd_compress.c59 * full-block strategy.
210 /* Returns true if the strategy supports using a row based matchfinder */
211 static int ZSTD_rowMatchFinderSupported(const ZSTD_strategy strategy) { argument
212 return (strategy >= ZSTD_greedy && strategy <= ZSTD_lazy2);
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) { argument
220 return ZSTD_rowMatchFinderSupported(strategy) && (mode == ZSTD_ps_enable);
233 if (!ZSTD_rowMatchFinderSupported(cParams->strategy)) return mode;
246 return (cParams->strategy >
250 ZSTD_allocateChainTable(const ZSTD_strategy strategy, const ZSTD_paramSwitch_e useRowMatchFinder, const U32 forDDSDict) 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) argument
2492 ZSTD_strategy const strategy = cctxParams->cParams.strategy; local
3089 ZSTD_strategy const strategy = cctxParams->cParams.strategy; local
[all...]
H A Dzstd_compress_sequences.c163 ZSTD_strategy const strategy)
179 if (strategy < ZSTD_lazy) {
182 size_t const mult = 10 - strategy;
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) argument
H A Dzstd_ldm.c242 switch(ms->cParams.strategy)
261 assert(0); /* not possible : not a valid strategy id */
668 ZSTD_selectBlockCompressor(cParams->strategy, useRowMatchFinder, ZSTD_matchState_dictMode(ms));
677 if (cParams->strategy >= ZSTD_btopt) {
H A Dzstd_compress_internal.h30 #define ZSTD_DUBT_UNSORTED_MARK 1 /* For btlazy2 strategy, index ZSTD_DUBT_UNSORTED_MARK==1 means "unsorted".
35 The benefit is that ZSTD_DUBT_UNSORTED_MARK cannot be mishandled after table re-use with a different strategy.
547 return (cctxParams->cParams.strategy == ZSTD_fast) && (cctxParams->cParams.targetLength > 0);
/linux-master/lib/zlib_dfltcc/
H A Ddfltcc_util.h92 int strategy,
98 (strategy == Z_DEFAULT_STRATEGY);
89 dfltcc_are_params_ok( int level, uInt window_bits, int strategy, uLong level_mask ) argument
H A Ddfltcc_deflate.c28 if (!dfltcc_are_params_ok(state->level, state->w_bits, state->strategy,
/linux-master/tools/lib/bpf/
H A Dhashmap.c155 enum hashmap_insert_strategy strategy,
168 if (strategy != HASHMAP_APPEND &&
175 if (strategy == HASHMAP_SET || strategy == HASHMAP_UPDATE) {
179 } else if (strategy == HASHMAP_ADD) {
184 if (strategy == HASHMAP_UPDATE)
154 hashmap_insert(struct hashmap *map, long key, long value, enum hashmap_insert_strategy strategy, long *old_key, long *old_value) argument
H A Dhashmap.h95 * 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), \
/linux-master/tools/perf/util/
H A Dhashmap.c155 enum hashmap_insert_strategy strategy,
168 if (strategy != HASHMAP_APPEND &&
175 if (strategy == HASHMAP_SET || strategy == HASHMAP_UPDATE) {
179 } else if (strategy == HASHMAP_ADD) {
184 if (strategy == HASHMAP_UPDATE)
154 hashmap_insert(struct hashmap *map, long key, long value, enum hashmap_insert_strategy strategy, long *old_key, long *old_value) argument
H A Dhashmap.h95 * 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), \
/linux-master/include/linux/
H A Dzlib.h170 /* 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 Dzstd_lib.h299 * This parameter is useless for "fast" strategy.
300 * It's still useful when using "dfast" strategy,
315 ZSTD_c_targetLength=106, /* Impact of this field depends on strategy.
319 * For strategy fast:
324 * The higher the value of selected strategy, the more complex it is,
326 * Special: value 0 means "use default strategy". */
335 * compression strategy >= ZSTD_btopt (== compression level 16+) */
391 * - 0 means "default" : value will be determined by the library, depending on strategy
396 * default value varies between 6 and 9, depending on strategy */
458 * => compressionLevel, hashLog, chainLog, searchLog, minMatch, targetLength and strategy
1203 ZSTD_strategy strategy; /*< see ZSTD_strategy definition above */ member in struct:__anon95
[all...]
/linux-master/tools/testing/selftests/net/tcp_ao/
H A Dunsigned-md5.c361 unsigned int strategy,
377 if (strategy & PREINSTALL_MD5_FIRST) {
382 if (strategy & PREINSTALL_AO) {
392 if (strategy & PREINSTALL_MD5) {
405 unsigned int strategy,
420 sk = open_add(tst_name, port, strategy, md5_addr, md5_prefix, md5_vrf,
431 unsigned int strategy,
444 sk = open_add(tst_name, port, strategy, md5_addr, md5_prefix, md5_vrf,
459 if (strategy & POSTINSTALL_MD5) {
473 if (strategy
360 open_add(const char *tst_name, unsigned int port, unsigned int strategy, union tcp_addr md5_addr, uint8_t md5_prefix, int md5_vrf, union tcp_addr ao_addr, uint8_t ao_prefix, int ao_vrf, bool set_ao_required, uint8_t sndid, uint8_t rcvid, fault_t inj) argument
404 try_to_preadd(const char *tst_name, unsigned int port, unsigned int strategy, union tcp_addr md5_addr, uint8_t md5_prefix, int md5_vrf, union tcp_addr ao_addr, uint8_t ao_prefix, int ao_vrf, bool set_ao_required, uint8_t sndid, uint8_t rcvid, int needs_tcp_md5, int needs_vrf, fault_t inj) argument
430 try_to_add(const char *tst_name, unsigned int port, unsigned int strategy, union tcp_addr md5_addr, uint8_t md5_prefix, int md5_vrf, union tcp_addr ao_addr, uint8_t ao_prefix, int ao_vrf, uint8_t sndid, uint8_t rcvid, int needs_tcp_md5, fault_t inj) argument
[all...]
/linux-master/lib/zlib_deflate/
H A Ddeflate.c194 int strategy
221 strategy < 0 || strategy > Z_HUFFMAN_ONLY) {
275 s->strategy = strategy;
960 if (s->strategy != Z_HUFFMAN_ONLY) {
1058 if (s->strategy != Z_HUFFMAN_ONLY) {
1063 if (s->match_length <= 5 && (s->strategy == Z_FILTERED ||
H A Ddefutil.h161 int strategy; /* favor or force Huffman coding*/ member in struct:deflate_state
/linux-master/lib/zstd/
H A Dzstd_compress_module.c47 cctx, ZSTD_c_strategy, parameters->cParams.strategy));
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_common.h100 u32 headroom, int strategy);
H A Dixgbe_82598.c1081 * @strategy: packet buffer allocation strategy
1084 u32 headroom, int strategy)
1093 switch (strategy) {
1083 ixgbe_set_rxpba_82598(struct ixgbe_hw *hw, int num_pb, u32 headroom, int strategy) argument
H A Dixgbe_common.c3509 * @strategy: packet buffer allocation strategy
3514 int strategy)
3527 * of packet buffers requested using supplied strategy.
3529 switch (strategy) {
3531 /* pba_80_48 strategy weight first half of packet buffer with
3511 ixgbe_set_rxpba_generic(struct ixgbe_hw *hw, int num_pb, u32 headroom, int strategy) argument
/linux-master/arch/m68k/ifpsp060/src/
H A Dilsp.S227 # here, the result is in d1 and d0. the current strategy is to save
588 # here, the result is in d1 and d0. the current strategy is to save
725 # here, the result is in d1 and d0. the current strategy is to save

Completed in 450 milliseconds