Home
last modified time | relevance | path

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

123

/linux/tools/lib/bpf/
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()
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), \
/linux/tools/perf/util/
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()
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), \
/linux/tools/testing/selftests/net/tcp_ao/
A Dunsigned-md5.c363 unsigned int strategy, in open_add() argument
379 if (strategy & PREINSTALL_MD5_FIRST) { in open_add()
384 if (strategy & PREINSTALL_AO) { in open_add()
394 if (strategy & PREINSTALL_MD5) { in open_add()
407 unsigned int strategy, in try_to_preadd() argument
422 sk = open_add(tst_name, port, strategy, md5_addr, md5_prefix, md5_vrf, in try_to_preadd()
433 unsigned int strategy, in try_to_add() argument
446 sk = open_add(tst_name, port, strategy, md5_addr, md5_prefix, md5_vrf, in try_to_add()
462 if (strategy & POSTINSTALL_MD5) { in try_to_add()
476 if (strategy & POSTINSTALL_AO) { in try_to_add()
/linux/lib/zstd/compress/
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()
A Dzstd_compress.c212 return (strategy >= ZSTD_greedy && strategy <= ZSTD_lazy2); in ZSTD_rowMatchFinderSupported()
257 …return forDDSDict || ((strategy != ZSTD_fast) && !ZSTD_rowMatchFinderUsed(strategy, useRowMatchFin… in ZSTD_allocateChainTable()
1329 if (overrides->strategy) cParams->strategy = overrides->strategy; in ZSTD_overrideCParams()
1585 assert(cParams1.strategy == cParams2.strategy); in ZSTD_assertEqualCParams()
1989 assert(cctx->appliedParams.cParams.strategy == adjusted_cdict_cParams.strategy); in ZSTD_resetCCtx_byAttachingCDict()
2043 assert(cctx->appliedParams.cParams.strategy == cdict_cParams->strategy); in ZSTD_resetCCtx_byCopyingCDict()
2154 assert(dstCCtx->appliedParams.cParams.strategy == srcCCtx->appliedParams.cParams.strategy); in ZSTD_copyCCtx_internal()
2492 ZSTD_strategy const strategy = cctxParams->cParams.strategy; in ZSTD_entropyCompressSeqStore_internal() local
3089 ZSTD_strategy const strategy = cctxParams->cParams.strategy; in ZSTD_buildBlockEntropyStats_sequences() local
5995 switch (cParams.strategy) { in ZSTD_dedicatedDictSearch_getCParams()
[all …]
A Dzstd_compress_literals.h24 ZSTD_strategy strategy, int disableLiteralCompression,
A Dzstd_compress_sequences.h29 ZSTD_strategy const strategy);
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()
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()
/linux/lib/zlib_dfltcc/
A Ddfltcc_util.h120 int strategy, in dfltcc_are_params_ok() argument
126 (strategy == Z_DEFAULT_STRATEGY); in dfltcc_are_params_ok()
A Ddfltcc_deflate.c28 if (!dfltcc_are_params_ok(state->level, state->w_bits, state->strategy, in dfltcc_can_deflate()
/linux/lib/zlib_deflate/
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()
/linux/Documentation/admin-guide/pm/
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
/linux/Documentation/networking/
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.
/linux/Documentation/ABI/testing/
A Dsysfs-fs-erofs13 Description: Control strategy of sync decompression:
A Dsysfs-driver-uacce27 isolation strategy. This size is a configured integer value, which is the
/linux/Documentation/firmware-guide/acpi/
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.
/linux/arch/arm/boot/dts/nxp/lpc/
A Dlpc4350.dtsi6 * This code is released using a dual license strategy: BSD/GPL
A Dlpc4357.dtsi6 * This code is released using a dual license strategy: BSD/GPL
A Dlpc4337-ciaa.dts6 * This code is released using a dual license strategy: BSD/GPL
/linux/include/linux/
A Dzlib.h588 int strategy);
/linux/lib/zstd/
A Dzstd_compress_module.c47 cctx, ZSTD_c_strategy, parameters->cParams.strategy)); in zstd_cctx_init()
/linux/fs/ubifs/
A DKconfig61 so be careful. How often atime is updated depends on the selected strategy:

Completed in 62 milliseconds

123