Searched refs:params (Results 1 – 4 of 4) sorted by relevance
/lib/zstd/ |
D | compress.c | 69 ZSTD_parameters params; member 143 static ZSTD_parameters ZSTD_getParamsFromCCtx(const ZSTD_CCtx *cctx) { return cctx->params; } in ZSTD_getParamsFromCCtx() 217 static size_t ZSTD_continueCCtx(ZSTD_CCtx *cctx, ZSTD_parameters params, U64 frameContentSize) in ZSTD_continueCCtx() argument 220 cctx->params = params; in ZSTD_continueCCtx() 242 static size_t ZSTD_resetCCtx_advanced(ZSTD_CCtx *zc, ZSTD_parameters params, U64 frameContentSize, … in ZSTD_resetCCtx_advanced() argument 245 if (ZSTD_equivalentParams(params, zc->params)) { in ZSTD_resetCCtx_advanced() 248 return ZSTD_continueCCtx(zc, params, frameContentSize); in ZSTD_resetCCtx_advanced() 252 size_t const blockSize = MIN(ZSTD_BLOCKSIZE_ABSOLUTEMAX, (size_t)1 << params.cParams.windowLog); in ZSTD_resetCCtx_advanced() 253 U32 const divider = (params.cParams.searchLength == 3) ? 3 : 4; in ZSTD_resetCCtx_advanced() 256 …size_t const chainSize = (params.cParams.strategy == ZSTD_fast) ? 0 : (1 << params.cParams.chainLo… in ZSTD_resetCCtx_advanced() [all …]
|
D | zstd_opt.h | 240 const U32 hashLog = zc->params.cParams.hashLog; in ZSTD_insertBtAndGetAllMatches() 245 const U32 btLog = zc->params.cParams.chainLog - 1; in ZSTD_insertBtAndGetAllMatches() 418 const U32 maxSearches = 1U << ctx->params.cParams.searchLog; in ZSTD_compressBlock_opt_generic() 419 const U32 sufficient_len = ctx->params.cParams.targetLength; in ZSTD_compressBlock_opt_generic() 420 const U32 mls = ctx->params.cParams.searchLength; in ZSTD_compressBlock_opt_generic() 421 const U32 minMatch = (ctx->params.cParams.searchLength == 3) ? 3 : 4; in ZSTD_compressBlock_opt_generic() 715 const U32 maxSearches = 1U << ctx->params.cParams.searchLog; in ZSTD_compressBlock_opt_extDict_generic() 716 const U32 sufficient_len = ctx->params.cParams.targetLength; in ZSTD_compressBlock_opt_extDict_generic() 717 const U32 mls = ctx->params.cParams.searchLength; in ZSTD_compressBlock_opt_extDict_generic() 718 const U32 minMatch = (ctx->params.cParams.searchLength == 3) ? 3 : 4; in ZSTD_compressBlock_opt_extDict_generic()
|
/lib/ |
D | rhashtable.c | 947 static size_t rounded_hashtable_size(const struct rhashtable_params *params) in rounded_hashtable_size() argument 951 if (params->nelem_hint) in rounded_hashtable_size() 952 retsize = max(roundup_pow_of_two(params->nelem_hint * 4 / 3), in rounded_hashtable_size() 953 (unsigned long)params->min_size); in rounded_hashtable_size() 956 (unsigned long)params->min_size); in rounded_hashtable_size() 1009 const struct rhashtable_params *params) in rhashtable_init() argument 1014 if ((!params->key_len && !params->obj_hashfn) || in rhashtable_init() 1015 (params->obj_hashfn && !params->obj_cmpfn)) in rhashtable_init() 1021 memcpy(&ht->p, params, sizeof(*params)); in rhashtable_init() 1023 if (params->min_size) in rhashtable_init() [all …]
|
D | test_rhashtable.c | 116 const struct rhashtable_params params) in insert_retry() argument 123 err = rhashtable_insert_fast(ht, &obj->node, params); in insert_retry()
|