Home
last modified time | relevance | path

Searched full:strategy (Results 1 – 25 of 228) sorted by relevance

12345678910

/linux-6.8/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.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) \ argument
134 hashmap_insert((map), (long)(key), (long)(value), (strategy), \
/linux-6.8/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.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) \ argument
134 hashmap_insert((map), (long)(key), (long)(value), (strategy), \
/linux-6.8/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-6.8/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-6.8/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-6.8/lib/zstd/compress/
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) { 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 …
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
[all …]
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()
Dzstd_compress_literals.h24 ZSTD_strategy strategy, int disableLiteralCompression,
Dzstd_compress_sequences.h29 ZSTD_strategy const strategy);
/linux-6.8/drivers/pinctrl/nomadik/
Dpinctrl-abx500.h159 * setting strategy of the rising interrupt line
161 * setting strategy of the falling interrupt line
162 * @irq_gpio_factor: Factor used to compute specific setting strategy of
/linux-6.8/tools/testing/selftests/net/tcp_ao/
Dunsigned-md5.c361 unsigned int strategy, in open_add() argument
377 if (strategy & PREINSTALL_MD5_FIRST) { in open_add()
382 if (strategy & PREINSTALL_AO) { in open_add()
392 if (strategy & PREINSTALL_MD5) { in open_add()
405 unsigned int strategy, in try_to_preadd() argument
420 sk = open_add(tst_name, port, strategy, md5_addr, md5_prefix, md5_vrf, in try_to_preadd()
431 unsigned int strategy, in try_to_add() argument
444 sk = open_add(tst_name, port, strategy, md5_addr, md5_prefix, md5_vrf, in try_to_add()
459 if (strategy & POSTINSTALL_MD5) { in try_to_add()
473 if (strategy & POSTINSTALL_AO) { in try_to_add()
/linux-6.8/lib/zlib_dfltcc/
Ddfltcc_util.h92 int strategy, in dfltcc_are_params_ok() argument
98 (strategy == Z_DEFAULT_STRATEGY); in dfltcc_are_params_ok()
/linux-6.8/Documentation/ABI/testing/
Dsysfs-fs-erofs13 Description: Control strategy of sync decompression:
Dsysfs-driver-uacce27 isolation strategy. This size is a configured integer value, which is the
/linux-6.8/include/dt-bindings/clock/
Dlpc18xx-cgu.h4 * This code is released using a dual license strategy: BSD/GPL
Dlpc32xx-clock.h4 * This code is released using a dual license strategy: BSD/GPL
Dlpc18xx-ccu.h4 * This code is released using a dual license strategy: BSD/GPL
/linux-6.8/arch/arm/boot/dts/nxp/lpc/
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
/linux-6.8/include/linux/
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);
Dzsmalloc.h7 * This code is released using a dual license strategy: BSD/GPL
/linux-6.8/arch/sparc/kernel/
Ddtlb_prot.S3 * dtlb_prot.S: DTLB protection trap strategy.
/linux-6.8/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()
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()

12345678910