/linux/lib/zstd/compress/ |
H A D | zstd_compress_literals.c | 113 * Minimum is made tighter as compression strategy increases. 116 ZSTD_minLiteralsToCompress(ZSTD_strategy strategy, HUF_repeat huf_repeat) in ZSTD_minLiteralsToCompress() argument 118 assert((int)strategy >= 0); in ZSTD_minLiteralsToCompress() 119 assert((int)strategy <= 9); in ZSTD_minLiteralsToCompress() 121 * then 2x larger for each successive compression strategy in ZSTD_minLiteralsToCompress() 123 { int const shift = MIN(9-(int)strategy, 3); in ZSTD_minLiteralsToCompress() 136 ZSTD_strategy strategy, in ZSTD_compressLiterals() argument 159 if (srcSize < ZSTD_minLiteralsToCompress(strategy, prevHuf->repeatMode)) in ZSTD_compressLiterals() 166 | (strategy < ZSTD_lazy && srcSize <= 1024 ? HUF_flags_preferRepeat : 0) in ZSTD_compressLiterals() 167 | (strategy >= HUF_OPTIMAL_DEPTH_THRESHOLD ? HUF_flags_optimalDepth : 0) in ZSTD_compressLiterals() [all …]
|
H A D | zstd_ldm.c | 150 assert(1 <= (int)cParams->strategy && (int)cParams->strategy <= 9); in ZSTD_ldm_adjustParameters() 152 params->hashRateLog = 7 - (cParams->strategy/3); in ZSTD_ldm_adjustParameters() 160 if (cParams->strategy >= ZSTD_btultra) in ZSTD_ldm_adjustParameters() 164 assert(1 <= (int)cParams->strategy && (int)cParams->strategy <= 9); in ZSTD_ldm_adjustParameters() 165 …params->bucketSizeLog = BOUNDED(LDM_BUCKET_SIZE_LOG, (U32)cParams->strategy, ZSTD_LDM_BUCKETSIZELO… in ZSTD_ldm_adjustParameters() 257 switch(ms->cParams.strategy) in ZSTD_ldm_fillFastTables() 280 assert(0); /* not possible : not a valid strategy id */ in ZSTD_ldm_fillFastTables() 690 … ZSTD_selectBlockCompressor(cParams->strategy, useRowMatchFinder, ZSTD_matchState_dictMode(ms)); in ZSTD_ldm_blockCompress() 699 if (cParams->strategy >= ZSTD_btopt) { in ZSTD_ldm_blockCompress()
|
H A D | zstd_compress.c | 215 /* Returns true if the strategy supports using a row based matchfinder */ 216 static int ZSTD_rowMatchFinderSupported(const ZSTD_strategy strategy) { in ZSTD_rowMatchFinderSupported() argument 217 return (strategy >= ZSTD_greedy && strategy <= ZSTD_lazy2); in ZSTD_rowMatchFinderSupported() 220 /* Returns true if the strategy and useRowMatchFinder mode indicate that we will use the row based … 223 static int ZSTD_rowMatchFinderUsed(const ZSTD_strategy strategy, const ZSTD_ParamSwitch_e mode) { in ZSTD_rowMatchFinderUsed() argument 225 return ZSTD_rowMatchFinderSupported(strategy) && (mode == ZSTD_ps_enable); in ZSTD_rowMatchFinderUsed() 237 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() [all …]
|
H A D | zstd_compress_literals.h | 36 ZSTD_strategy strategy, int disableLiteralCompression,
|
H A D | zstd_compress_sequences.h | 31 ZSTD_strategy const strategy);
|
/linux/tools/lib/bpf/ |
H A D | hashmap.c | 155 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()
|
/linux/tools/perf/util/ |
H A D | hashmap.c | 155 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()
|
/linux/Documentation/networking/ |
H A D | ipvs-sysctl.rst | 21 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/firmware-guide/acpi/ |
H A D | osi.rst | 95 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/Documentation/admin-guide/pm/ |
H A D | strategies.rst | 22 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/drivers/pinctrl/nomadik/ |
H A D | pinctrl-abx500.h | 159 * 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/tools/testing/selftests/net/tcp_ao/ |
H A D | unsigned-md5.c | 368 unsigned int strategy, in open_add() argument 384 if (strategy & PREINSTALL_MD5_FIRST) { in open_add() 389 if (strategy & PREINSTALL_AO) { in open_add() 399 if (strategy & PREINSTALL_MD5) { in open_add() 412 unsigned int strategy, in try_to_preadd() argument 427 sk = open_add(tst_name, port, strategy, md5_addr, md5_prefix, md5_vrf, in try_to_preadd() 438 unsigned int strategy, in try_to_add() argument 450 sk = open_add(tst_name, port, strategy, md5_addr, md5_prefix, md5_vrf, in try_to_add() 465 if (strategy & POSTINSTALL_MD5) { in try_to_add() 479 if (strategy & POSTINSTALL_AO) { in try_to_add()
|
/linux/lib/zlib_dfltcc/ |
H A D | dfltcc_util.h | 120 int strategy, in dfltcc_are_params_ok() argument 126 (strategy == Z_DEFAULT_STRATEGY); in dfltcc_are_params_ok()
|
/linux/rust/kernel/list/ |
H A D | arc.rs | 75 /// * The `untracked` strategy does not actually keep track of whether a [`ListArc`] exists. When 76 /// using this strategy, the only way to create a [`ListArc`] is using a [`UniqueArc`]. 77 /// * The `tracked_by` strategy defers the tracking to a field of the struct. The user must specify 81 /// The `tracked_by` strategy is usually used by deferring to a field of type 142 /// creation of new `ListArc` references from an [`Arc`] reference. Whatever strategy is used, the
|
/linux/include/linux/ |
H A D | zlib.h | 170 /* 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 D | zsmalloc.h | 7 * This code is released using a dual license strategy: BSD/GPL
|
/linux/include/dt-bindings/clock/ |
H A D | lpc18xx-cgu.h | 4 * This code is released using a dual license strategy: BSD/GPL
|
H A D | lpc32xx-clock.h | 4 * This code is released using a dual license strategy: BSD/GPL
|
H A D | lpc18xx-ccu.h | 4 * This code is released using a dual license strategy: BSD/GPL
|
/linux/arch/arm/boot/dts/nxp/lpc/ |
H A D | lpc4350.dtsi | 6 * This code is released using a dual license strategy: BSD/GPL
|
H A D | lpc4357.dtsi | 6 * This code is released using a dual license strategy: BSD/GPL
|
/linux/arch/sparc/kernel/ |
H A D | dtlb_prot.S | 3 * dtlb_prot.S: DTLB protection trap strategy.
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-driver-uacce | 27 isolation strategy. This size is a configured integer value, which is the
|
/linux/Documentation/arch/x86/ |
H A D | mds.rst | 70 Mitigation strategy 73 All variants have the same mitigation strategy at least for the single CPU
|
/linux/drivers/scsi/elx/libefc/ |
H A D | efclib.c | 14 * The strategy is to lock whenever processing a request from user driver. This
|