Home
last modified time | relevance | path

Searched refs:cctx (Results 1 – 22 of 22) sorted by relevance

/linux/lib/zstd/compress/
A Dzstd_compress.c82 ZSTD_memset(cctx, 0, sizeof(*cctx)); in ZSTD_initCCtx()
124 return cctx; in ZSTD_initStaticCCtx()
134 ZSTD_memset(&cctx->localDict, 0, sizeof(cctx->localDict)); in ZSTD_clearAllDicts()
135 ZSTD_memset(&cctx->prefixDict, 0, sizeof(cctx->prefixDict)); in ZSTD_clearAllDicts()
151 ZSTD_cwksp_free(&cctx->workspace, cctx->customMem); in ZSTD_freeCCtxContent()
163 ZSTD_customFree(cctx, cctx->customMem); in ZSTD_freeCCtx()
172 (void)cctx; in ZSTD_sizeof_mtctx()
181 return (cctx->workspace.workspace == cctx ? 0 : sizeof(*cctx)) in ZSTD_sizeof_CCtx()
2996 ms, &cctx->workspace, &cctx->appliedParams, in ZSTD_compressContinue_internal()
3348 &cctx->ldmState, &cctx->workspace, &cctx->appliedParams, dict, dictSize, in ZSTD_compressBegin_internal()
[all …]
A Dzstd_compress_internal.h1142 size_t ZSTD_compressBegin_advanced_internal(ZSTD_CCtx* cctx,
1152 size_t ZSTD_compress_advanced_internal(ZSTD_CCtx* cctx,
1177 size_t ZSTD_referenceExternalSequences(ZSTD_CCtx* cctx, rawSeq* seq, size_t nbSeq);
1186 void ZSTD_CCtx_trace(ZSTD_CCtx* cctx, size_t extraCSize);
/linux/lib/zstd/
A Dzstd_compress_module.c31 cctx, ZSTD_reset_session_and_parameters)); in zstd_cctx_init()
33 cctx, pledged_src_size)); in zstd_cctx_init()
35 cctx, ZSTD_c_windowLog, parameters->cParams.windowLog)); in zstd_cctx_init()
37 cctx, ZSTD_c_hashLog, parameters->cParams.hashLog)); in zstd_cctx_init()
39 cctx, ZSTD_c_chainLog, parameters->cParams.chainLog)); in zstd_cctx_init()
41 cctx, ZSTD_c_searchLog, parameters->cParams.searchLog)); in zstd_cctx_init()
43 cctx, ZSTD_c_minMatch, parameters->cParams.minMatch)); in zstd_cctx_init()
45 cctx, ZSTD_c_targetLength, parameters->cParams.targetLength)); in zstd_cctx_init()
47 cctx, ZSTD_c_strategy, parameters->cParams.strategy)); in zstd_cctx_init()
51 cctx, ZSTD_c_checksumFlag, parameters->fParams.checksumFlag)); in zstd_cctx_init()
[all …]
/linux/drivers/misc/
A Dfastrpc.c333 kfree(cctx); in fastrpc_channel_ctx_free()
354 cctx = ctx->cctx; in fastrpc_context_free()
444 struct fastrpc_channel_ctx *cctx = user->cctx; in fastrpc_context_alloc() local
484 ctx->cctx = cctx; in fastrpc_context_alloc()
923 cctx = fl->cctx; in fastrpc_invoke_send()
1140 if (!cctx->session[i].used && cctx->session[i].valid) { in fastrpc_session_alloc()
1181 struct fastrpc_channel_ctx *cctx = fl->cctx; in fastrpc_device_release() local
1242 fl->cctx = cctx; in fastrpc_device_open()
1541 if (!cctx) in fastrpc_cb_probe()
1547 sess = &cctx->session[cctx->sesscount]; in fastrpc_cb_probe()
[all …]
/linux/include/linux/
A Dzstd_lib.h197 ZSTDLIB_API size_t ZSTD_compressCCtx(ZSTD_CCtx* cctx,
502 ZSTDLIB_API size_t ZSTD_compress2( ZSTD_CCtx* cctx,
693 ZSTDLIB_API size_t ZSTD_compressStream2( ZSTD_CCtx* cctx,
851 ZSTDLIB_API size_t ZSTD_compress_usingCDict(ZSTD_CCtx* cctx,
968 ZSTDLIB_API size_t ZSTD_CCtx_refPrefix(ZSTD_CCtx* cctx,
1030 ZSTDLIB_API size_t ZSTD_sizeof_CCtx(const ZSTD_CCtx* cctx);
1596 ZSTDLIB_API size_t ZSTD_compress_advanced(ZSTD_CCtx* cctx,
1890 ZSTD_CCtx* cctx, const ZSTD_CCtx_params* params);
1899 ZSTD_CCtx* cctx,
2192 ZSTDLIB_API size_t ZSTD_toFlushNow(ZSTD_CCtx* cctx);
[all …]
A Dzstd.h180 size_t zstd_compress_cctx(zstd_cctx *cctx, void *dst, size_t dst_capacity,
/linux/drivers/infiniband/hw/bnxt_re/
A Dqplib_res.h255 struct bnxt_qplib_chip_ctx *cctx; member
267 static inline bool bnxt_qplib_is_chip_gen_p5(struct bnxt_qplib_chip_ctx *cctx) in bnxt_qplib_is_chip_gen_p5() argument
269 return (cctx->chip_num == CHIP_NUM_57508 || in bnxt_qplib_is_chip_gen_p5()
270 cctx->chip_num == CHIP_NUM_57504 || in bnxt_qplib_is_chip_gen_p5()
271 cctx->chip_num == CHIP_NUM_57502); in bnxt_qplib_is_chip_gen_p5()
276 return bnxt_qplib_is_chip_gen_p5(res->cctx) ? in bnxt_qplib_get_hwq_type()
280 static inline u8 bnxt_qplib_get_ring_type(struct bnxt_qplib_chip_ctx *cctx) in bnxt_qplib_get_ring_type() argument
282 return bnxt_qplib_is_chip_gen_p5(cctx) ? in bnxt_qplib_get_ring_type()
442 struct bnxt_qplib_chip_ctx *cctx, in bnxt_qplib_ring_nq_db() argument
448 if (bnxt_qplib_is_chip_gen_p5(cctx)) in bnxt_qplib_ring_nq_db()
A Dqplib_rcfw.c429 rcfw->res->cctx, true); in bnxt_qplib_service_creq()
494 if (bnxt_qplib_is_chip_gen_p5(rcfw->res->cctx)) in bnxt_qplib_init_rcfw()
644 bnxt_qplib_ring_nq_db(&creq->creq_db.dbinfo, rcfw->res->cctx, false); in bnxt_qplib_rcfw_stop_irq()
703 bnxt_qplib_ring_nq_db(&creq->creq_db.dbinfo, rcfw->res->cctx, true); in bnxt_qplib_rcfw_start_irq()
A Dqplib_res.c59 struct bnxt_qplib_chip_ctx *cctx,
564 rc = bnxt_qplib_alloc_stats_ctx(res->pdev, res->cctx, &ctx->stats); in bnxt_qplib_alloc_ctx()
877 struct bnxt_qplib_chip_ctx *cctx, in bnxt_qplib_alloc_stats_ctx() argument
882 stats->size = cctx->hw_stats_size; in bnxt_qplib_alloc_stats_ctx()
A Dmain.c88 struct bnxt_qplib_chip_ctx *cctx; in bnxt_re_set_drv_mode() local
90 cctx = rdev->chip_ctx; in bnxt_re_set_drv_mode()
91 cctx->modes.wqe_mode = bnxt_qplib_is_chip_gen_p5(rdev->chip_ctx) ? in bnxt_re_set_drv_mode()
104 rdev->qplib_res.cctx = NULL; in bnxt_re_destroy_chip_ctx()
128 rdev->qplib_res.cctx = rdev->chip_ctx; in bnxt_re_setup_chip_ctx()
A Dqplib_fp.c384 bnxt_qplib_ring_nq_db(&nq->nq_db.dbinfo, nq->res->cctx, true); in bnxt_qplib_service_nq()
409 bnxt_qplib_ring_nq_db(&nq->nq_db.dbinfo, nq->res->cctx, false); in bnxt_qplib_nq_stop_irq()
469 bnxt_qplib_ring_nq_db(&nq->nq_db.dbinfo, nq->res->cctx, true); in bnxt_qplib_nq_start_irq()
900 qp->cctx = res->cctx; in bnxt_qplib_create_qp1()
976 psn_sz = bnxt_qplib_is_chip_gen_p5(res->cctx) ? in bnxt_qplib_create_qp()
1109 qp->cctx = res->cctx; in bnxt_qplib_create_qp()
1576 if (bnxt_qplib_is_chip_gen_p5(qp->cctx)) { in bnxt_qplib_fill_psn_search()
A Dqplib_sp.c61 if (!bnxt_qplib_is_chip_gen_p5(rcfw->res->cctx)) in bnxt_qplib_is_atomic_cap()
133 attr->max_qp_sges = bnxt_qplib_is_chip_gen_p5(rcfw->res->cctx) ? in bnxt_qplib_get_dev_attr()
A Dqplib_fp.h272 struct bnxt_qplib_chip_ctx *cctx; member
/linux/net/tls/
A Dtls_main.c341 struct cipher_context *cctx; in do_tls_getsockopt_conf() local
360 cctx = &ctx->tx; in do_tls_getsockopt_conf()
363 cctx = &ctx->rx; in do_tls_getsockopt_conf()
391 cctx->iv + TLS_CIPHER_AES_GCM_128_SALT_SIZE, in do_tls_getsockopt_conf()
415 cctx->iv + TLS_CIPHER_AES_GCM_256_SALT_SIZE, in do_tls_getsockopt_conf()
439 memcpy(aes_ccm_128->rec_seq, cctx->rec_seq, in do_tls_getsockopt_conf()
460 memcpy(chacha20_poly1305->rec_seq, cctx->rec_seq, in do_tls_getsockopt_conf()
479 cctx->iv + TLS_CIPHER_SM4_GCM_SALT_SIZE, in do_tls_getsockopt_conf()
481 memcpy(sm4_gcm_info->rec_seq, cctx->rec_seq, in do_tls_getsockopt_conf()
499 cctx->iv + TLS_CIPHER_SM4_CCM_SALT_SIZE, in do_tls_getsockopt_conf()
[all …]
A Dtls_sw.c2337 struct cipher_context *cctx; in tls_set_sw_offload() local
2381 cctx = &ctx->tx; in tls_set_sw_offload()
2390 cctx = &ctx->rx; in tls_set_sw_offload()
2526 if (!cctx->iv) { in tls_set_sw_offload()
2532 memcpy(cctx->iv, salt, salt_size); in tls_set_sw_offload()
2533 memcpy(cctx->iv + salt_size, iv, iv_size); in tls_set_sw_offload()
2535 if (!cctx->rec_seq) { in tls_set_sw_offload()
2584 kfree(cctx->rec_seq); in tls_set_sw_offload()
2585 cctx->rec_seq = NULL; in tls_set_sw_offload()
2587 kfree(cctx->iv); in tls_set_sw_offload()
[all …]
/linux/crypto/
A Dzstd.c21 zstd_cctx *cctx; member
44 ctx->cctx = zstd_init_cctx(ctx->cwksp, wksp_size); in zstd_comp_init()
45 if (!ctx->cctx) { in zstd_comp_init()
83 ctx->cctx = NULL; in zstd_comp_exit()
157 out_len = zstd_compress_cctx(zctx->cctx, dst, *dlen, src, slen, &params); in __zstd_compress()
A Dcamellia_generic.c963 struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); in camellia_set_key() local
969 cctx->key_length = key_len; in camellia_set_key()
973 camellia_setup128(key, cctx->key_table); in camellia_set_key()
976 camellia_setup192(key, cctx->key_table); in camellia_set_key()
979 camellia_setup256(key, cctx->key_table); in camellia_set_key()
988 const struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); in camellia_encrypt() local
998 if (cctx->key_length == 16) in camellia_encrypt()
1003 camellia_do_encrypt(cctx->key_table, tmp, max); in camellia_encrypt()
1014 const struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); in camellia_decrypt() local
1024 if (cctx->key_length == 16) in camellia_decrypt()
[all …]
/linux/drivers/pinctrl/intel/
A Dpinctrl-cherryview.c813 for (i = 0; i < ARRAY_SIZE(cctx->intr_lines); i++) { in chv_gpio_request_enable()
814 if (cctx->intr_lines[i] == offset) { in chv_gpio_request_enable()
815 cctx->intr_lines[i] = 0; in chv_gpio_request_enable()
1322 if (!cctx->intr_lines[intsel]) { in chv_gpio_irq_startup()
1324 cctx->intr_lines[intsel] = pin; in chv_gpio_irq_startup()
1337 struct intel_community_context *cctx = &pctrl->context.communities[0]; in chv_gpio_irq_type() local
1382 cctx->intr_lines[value] = pin; in chv_gpio_irq_type()
1399 struct intel_community_context *cctx = &pctrl->context.communities[0]; in chv_gpio_irq_handler() local
1414 offset = cctx->intr_lines[intr_line]; in chv_gpio_irq_handler()
1719 cctx->saved_intmask = chv_pctrl_readl(pctrl, CHV_INTMASK); in chv_pinctrl_suspend_noirq()
[all …]
/linux/arch/x86/crypto/
A Dcamellia_glue.c1230 int __camellia_setkey(struct camellia_ctx *cctx, const unsigned char *key, in __camellia_setkey() argument
1236 cctx->key_length = key_len; in __camellia_setkey()
1240 camellia_setup128(key, cctx->key_table); in __camellia_setkey()
1243 camellia_setup192(key, cctx->key_table); in __camellia_setkey()
1246 camellia_setup256(key, cctx->key_table); in __camellia_setkey()
A Dcamellia.h22 extern int __camellia_setkey(struct camellia_ctx *cctx,
/linux/arch/sparc/mm/
A Dsrmmu.c594 int cctx, ctx1;
598 cctx = srmmu_get_context();
600 if (cctx != ctx1) {
601 printk("flush ctx %02x curr %02x\n", ctx1, cctx);
606 srmmu_set_context(cctx);
/linux/lib/zstd/common/
A Dzstd_internal.h427 void ZSTD_invalidateRepCodes(ZSTD_CCtx* cctx); /* zstdmt, adaptive_compression (shouldn't get thi…

Completed in 89 milliseconds