Home
last modified time | relevance | path

Searched refs:strategy (Results 1 – 25 of 68) sorted by relevance

123

/Linux-v6.1/tools/lib/bpf/
Dhashmap.c155 enum hashmap_insert_strategy strategy, in hashmap__insert() argument
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()
Dhashmap.h113 enum hashmap_insert_strategy strategy,
/Linux-v6.1/tools/perf/util/
Dhashmap.c155 enum hashmap_insert_strategy strategy, in hashmap__insert() argument
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()
Dhashmap.h113 enum hashmap_insert_strategy strategy,
/Linux-v6.1/lib/zstd/compress/
Dzstd_compress_literals.c72 ZSTD_strategy strategy, int disableLiteralCompression, in ZSTD_compressLiterals() argument
78 size_t const minGain = ZSTD_minGain(srcSize, strategy); in ZSTD_compressLiterals()
102 int const preferRepeat = strategy < ZSTD_lazy ? srcSize <= 1024 : 0; in ZSTD_compressLiterals()
Dzstd_compress.c200 return cParams->strategy >= ZSTD_btopt && cParams->windowLog >= 27; in ZSTD_CParams_shouldEnableLdm()
644 CCtxParams->cParams.strategy = (ZSTD_strategy)value; in ZSTD_CCtxParams_setParameter()
645 return (size_t)CCtxParams->cParams.strategy; in ZSTD_CCtxParams_setParameter()
800 *value = (unsigned)CCtxParams->cParams.strategy; in ZSTD_CCtxParams_getParameter()
1054 BOUNDCHECK(ZSTD_c_strategy, cParams.strategy); in ZSTD_checkCParams()
1076 CLAMP_TYPE(ZSTD_c_strategy,cParams.strategy, ZSTD_strategy); in ZSTD_clampCParams()
1177 U32 const cycleLog = ZSTD_cycleLog(cPar.chainLog, cPar.strategy); in ZSTD_adjustCParams_internal()
1212 if (overrides->strategy) cParams->strategy = overrides->strategy; in ZSTD_overrideCParams()
1234 … size_t const chainSize = (cParams->strategy == ZSTD_fast) ? 0 : ((size_t)1 << cParams->chainLog); in ZSTD_sizeof_matchState()
1250 size_t const optSpace = (forCCtx && (cParams->strategy >= ZSTD_btopt)) in ZSTD_sizeof_matchState()
[all …]
Dzstd_compress_literals.h23 ZSTD_strategy strategy, int disableLiteralCompression,
Dzstd_compress_sequences.h29 ZSTD_strategy const strategy);
Dzstd_compress_sequences.c161 ZSTD_strategy const strategy) in ZSTD_selectEncodingType() argument
177 if (strategy < ZSTD_lazy) { in ZSTD_selectEncodingType()
180 size_t const mult = 10 - strategy; in ZSTD_selectEncodingType()
Dzstd_compress_superblock.c178 ZSTD_strategy const strategy = cctxParams->cParams.strategy; in ZSTD_buildSuperBlockEntropy_sequences() local
207 ZSTD_defaultAllowed, strategy); in ZSTD_buildSuperBlockEntropy_sequences()
232 defaultPolicy, strategy); in ZSTD_buildSuperBlockEntropy_sequences()
254 ZSTD_defaultAllowed, strategy); in ZSTD_buildSuperBlockEntropy_sequences()
Dzstd_ldm.c215 switch(ms->cParams.strategy) in ZSTD_ldm_fillFastTables()
630 ZSTD_selectBlockCompressor(cParams->strategy, ZSTD_matchState_dictMode(ms)); in ZSTD_ldm_blockCompress()
639 if (cParams->strategy >= ZSTD_btopt) { in ZSTD_ldm_blockCompress()
/Linux-v6.1/lib/zlib_dfltcc/
Ddfltcc_util.h92 int strategy, in dfltcc_are_params_ok() argument
98 (strategy == Z_DEFAULT_STRATEGY); in dfltcc_are_params_ok()
Ddfltcc_deflate.c26 if (!dfltcc_are_params_ok(state->level, state->w_bits, state->strategy, in dfltcc_can_deflate()
/Linux-v6.1/lib/zlib_deflate/
Ddeflate.c194 int strategy in zlib_deflateInit2() argument
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()
Ddefutil.h161 int strategy; /* favor or force Huffman coding*/ member
/Linux-v6.1/Documentation/admin-guide/pm/
Dstrategies.rst22 is affected by the state changes, this strategy is referred to as the
25 The other strategy, referred to as the :doc:`working-state power management
28 this strategy is in use, the working state of the system usually does not
/Linux-v6.1/Documentation/networking/
Dipvs-sysctl.rst21 enough available memory, the respective strategy will be
23 the strategy is disabled and the variable is set to 1.
112 that this strategy is always disabled, 1 and 2 mean automatic
113 modes (when there is no enough available memory, the strategy
115 otherwise the strategy is disabled and the variable is set to
116 1), and 3 means that the strategy is always enabled.
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-fs-erofs12 Description: Control strategy of sync decompression:
/Linux-v6.1/Documentation/firmware-guide/acpi/
Dosi.rst95 That is the *only* viable strategy, as that is what modern Windows does,
124 This strategy is problematic, as Linux is never completely compatible with
140 The result is a strategy for Linux to maximize compatibility with
172 Like Linux's _OSI("*Windows*") strategy, Linux defaults to
175 Just like on Windows-tested platforms, this strategy has risks.
/Linux-v6.1/arch/arm/boot/dts/
Dlpc4350.dtsi6 * This code is released using a dual license strategy: BSD/GPL
Dlpc4357.dtsi6 * This code is released using a dual license strategy: BSD/GPL
Dlpc4337-ciaa.dts6 * This code is released using a dual license strategy: BSD/GPL
/Linux-v6.1/include/linux/
Dzlib.h588 int strategy);
/Linux-v6.1/lib/zstd/
Dzstd_compress_module.c47 cctx, ZSTD_c_strategy, parameters->cParams.strategy)); in zstd_cctx_init()
/Linux-v6.1/fs/ubifs/
DKconfig61 so be careful. How often atime is updated depends on the selected strategy:

123