Home
last modified time | relevance | path

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

12345

/openbmc/linux/tools/lib/bpf/
H A 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()
H A Dhashmap.h130 enum hashmap_insert_strategy strategy,
133 #define hashmap__insert(map, key, value, strategy, old_key, old_value) \ argument
134 hashmap_insert((map), (long)(key), (long)(value), (strategy), \
/openbmc/linux/tools/perf/util/
H A 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()
H A Dhashmap.h130 enum hashmap_insert_strategy strategy,
133 #define hashmap__insert(map, key, value, strategy, old_key, old_value) \ argument
134 hashmap_insert((map), (long)(key), (long)(value), (strategy), \
/openbmc/u-boot/lib/zlib/
H A Ddeflate.c210 int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy, in deflateInit2_() argument
217 int strategy;
261 strategy < 0 || strategy > Z_FIXED) {
304 s->strategy = strategy;
412 int ZEXPORT deflateParams(strm, level, strategy) in deflateParams() argument
415 int strategy;
429 if (level < 0 || level > 9 || strategy < 0 || strategy > Z_FIXED) {
434 if ((strategy != s->strategy || func != configuration_table[level].func) &&
446 s->strategy = strategy;
619 (s->strategy >= Z_HUFFMAN_ONLY || s->level < 2 ?
[all …]
/openbmc/linux/lib/zstd/compress/
H A Dzstd_compress_literals.c72 ZSTD_strategy strategy, int disableLiteralCompression, in ZSTD_compressLiterals() argument
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()
H A Dzstd_compress.c211 static int ZSTD_rowMatchFinderSupported(const ZSTD_strategy strategy) { in ZSTD_rowMatchFinderSupported() argument
212 return (strategy >= ZSTD_greedy && strategy <= ZSTD_lazy2); in ZSTD_rowMatchFinderSupported()
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 >= ZSTD_btopt && cParams->windowLog >= 17) ? ZSTD_ps_enable : ZSTD_ps_di… in ZSTD_resolveBlockSplitterMode()
250 static int ZSTD_allocateChainTable(const ZSTD_strategy strategy, in ZSTD_allocateChainTable() argument
257 …return forDDSDict || ((strategy != ZSTD_fast) && !ZSTD_rowMatchFinderUsed(strategy, useRowMatchFin… in ZSTD_allocateChainTable()
267 …return (cParams->strategy >= ZSTD_btopt && cParams->windowLog >= 27) ? ZSTD_ps_enable : ZSTD_ps_di… in ZSTD_resolveEnableLdm()
737 CCtxParams->cParams.strategy = (ZSTD_strategy)value; in ZSTD_CCtxParams_setParameter()
[all …]
H A Dzstd_compress_literals.h24 ZSTD_strategy strategy, int disableLiteralCompression,
H A Dzstd_compress_sequences.h29 ZSTD_strategy const strategy);
H A Dzstd_compress_sequences.c163 ZSTD_strategy const strategy) in ZSTD_selectEncodingType() argument
179 if (strategy < ZSTD_lazy) { in ZSTD_selectEncodingType()
182 size_t const mult = 10 - strategy; in ZSTD_selectEncodingType()
H A Dzstd_ldm.c242 switch(ms->cParams.strategy) 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()
/openbmc/linux/lib/zlib_dfltcc/
H A Ddfltcc_util.h92 int strategy, in dfltcc_are_params_ok() argument
98 (strategy == Z_DEFAULT_STRATEGY); in dfltcc_are_params_ok()
/openbmc/linux/lib/zlib_deflate/
H A 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()
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()
/openbmc/linux/Documentation/admin-guide/pm/
H A 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
/openbmc/linux/Documentation/networking/
H A 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.
/openbmc/linux/Documentation/firmware-guide/acpi/
H A 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.
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-fs-erofs13 Description: Control strategy of sync decompression:
H A Dsysfs-driver-uacce27 isolation strategy. This size is a configured integer value, which is the
/openbmc/linux/arch/arm/boot/dts/nxp/lpc/
H A Dlpc4350.dtsi6 * This code is released using a dual license strategy: BSD/GPL
H A Dlpc4357.dtsi6 * This code is released using a dual license strategy: BSD/GPL
/openbmc/linux/include/linux/
H A Dzlib.h588 int strategy);
/openbmc/u-boot/include/u-boot/
H A Dzlib.h524 int strategy, const char *version,
537 int strategy));
/openbmc/openbmc/poky/documentation/kernel-dev/
H A Dconcepts-appx.rst117 team's Yocto Linux kernel development strategy. It is the Yocto Project
149 The features are tagged and organized by way of a branching strategy
176 features, the same branching strategy is used.
185 Another consequence of this strategy results in not having to store the
204 same branching strategy applies to BSPs as it does to kernel features.
208 While this strategy can result in a tree with a significant number of
329 architecture and its branching strategy, see the
/openbmc/linux/lib/zstd/
H A Dzstd_compress_module.c47 cctx, ZSTD_c_strategy, parameters->cParams.strategy)); in zstd_cctx_init()
/openbmc/openbmc/poky/
H A DMAINTAINERS.md63 * meta-gplv2 (ideally new strategy but active maintainer welcome)

12345