Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_rxq.c1438 if (!tmpl) { in mlx5_rxq_new()
1452 &tmpl->rxq.rxseg[tmpl->rxq.rxseg_n]; in mlx5_rxq_new()
1525 tmpl->irq = 1; in mlx5_rxq_new()
1562 tmpl->rxq.strd_num_n, tmpl->rxq.strd_sz_n); in mlx5_rxq_new()
1675 tmpl->priv = priv; in mlx5_rxq_new()
1680 tmpl->rxq.elts = in mlx5_rxq_new()
1690 return tmpl; in mlx5_rxq_new()
1692 mlx5_free(tmpl); in mlx5_rxq_new()
1718 tmpl = mlx5_malloc(MLX5_MEM_RTE | MLX5_MEM_ZERO, sizeof(*tmpl), 0, in mlx5_rxq_hairpin_new()
1720 if (!tmpl) { in mlx5_rxq_hairpin_new()
[all …]
H A Dmlx5_txq.c1108 tmpl = mlx5_malloc(MLX5_MEM_RTE | MLX5_MEM_ZERO, sizeof(*tmpl) + in mlx5_txq_new()
1110 if (!tmpl) { in mlx5_txq_new()
1124 tmpl->priv = priv; in mlx5_txq_new()
1130 tmpl->txq.idx = idx; in mlx5_txq_new()
1147 return tmpl; in mlx5_txq_new()
1149 mlx5_free(tmpl); in mlx5_txq_new()
1175 tmpl = mlx5_malloc(MLX5_MEM_RTE | MLX5_MEM_ZERO, sizeof(*tmpl), 0, in mlx5_txq_hairpin_new()
1177 if (!tmpl) { in mlx5_txq_hairpin_new()
1181 tmpl->priv = priv; in mlx5_txq_hairpin_new()
1185 tmpl->txq.idx = idx; in mlx5_txq_hairpin_new()
[all …]
H A Dmlx5_devx.c581 MLX5_ASSERT(tmpl); in mlx5_rxq_obj_hairpin_new()
606 if (!tmpl->rq) { in mlx5_rxq_obj_hairpin_new()
639 MLX5_ASSERT(tmpl); in mlx5_rxq_devx_obj_new()
656 tmpl->fd = mlx5_os_get_devx_channel_fd(tmpl->devx_channel); in mlx5_rxq_devx_obj_new()
660 if (!tmpl->devx_cq) { in mlx5_rxq_devx_obj_new()
666 if (!tmpl->rq) { in mlx5_rxq_devx_obj_new()
684 if (tmpl->rq) in mlx5_rxq_devx_obj_new()
686 if (tmpl->devx_cq) in mlx5_rxq_devx_obj_new()
688 if (tmpl->devx_channel) in mlx5_rxq_devx_obj_new()
1079 MLX5_ASSERT(tmpl); in mlx5_txq_obj_hairpin_new()
[all …]
/f-stack/freebsd/contrib/openzfs/module/icp/api/
H A Dkcf_cipher.c144 &lmech, key, tmpl, KCF_SWFP_RHNDL(crq)); in crypto_cipher_init_prov()
149 &lmech, key, tmpl, KCF_SWFP_RHNDL(crq)); in crypto_cipher_init_prov()
194 mech, key, NULL, NULL, tmpl); in crypto_cipher_init_prov()
198 mech, key, NULL, NULL, tmpl); in crypto_cipher_init_prov()
225 crypto_ctx_template_t tmpl, crypto_context_t *ctxp, in crypto_cipher_init() argument
335 plaintext, ciphertext, tmpl); in crypto_encrypt_prov()
428 crypto_ctx_template_t tmpl, crypto_context_t *ctxp, in crypto_encrypt_init_prov() argument
442 crypto_ctx_template_t tmpl, crypto_context_t *ctxp, in crypto_encrypt_init() argument
445 return (crypto_cipher_init(mech, key, tmpl, ctxp, crq, in crypto_encrypt_init()
617 ciphertext, plaintext, tmpl); in crypto_decrypt_prov()
[all …]
H A Dkcf_mac.c92 crypto_ctx_template_t tmpl, crypto_data_t *mac, crypto_call_req_t *crq) in crypto_mac_prov() argument
111 data, mac, tmpl); in crypto_mac_prov()
125 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac, in crypto_mac() argument
154 ((ctx_tmpl = (kcf_ctx_template_t *)tmpl) != NULL)) { in crypto_mac()
236 key, data, mac, tmpl); in crypto_mac_verify_prov()
250 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac, in crypto_mac_verify() argument
279 ((ctx_tmpl = (kcf_ctx_template_t *)tmpl) != NULL)) { in crypto_mac_verify()
401 rv = KCF_PROV_MAC_INIT(real_provider, ctx, &lmech, key, tmpl, in crypto_mac_init_prov()
406 NULL, NULL, tmpl); in crypto_mac_init_prov()
431 crypto_ctx_template_t tmpl, crypto_context_t *ctxp, in crypto_mac_init() argument
[all …]
H A Dkcf_ctxops.c134 crypto_destroy_ctx_template(crypto_ctx_template_t tmpl) in crypto_destroy_ctx_template() argument
136 kcf_ctx_template_t *ctx_tmpl = (kcf_ctx_template_t *)tmpl; in crypto_destroy_ctx_template()
/f-stack/freebsd/contrib/openzfs/include/sys/crypto/
H A Dapi.h67 crypto_key_t *key, crypto_ctx_template_t *tmpl, int kmflag);
68 extern void crypto_destroy_ctx_template(crypto_ctx_template_t tmpl);
91 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac,
97 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac,
116 crypto_data_t *data, crypto_ctx_template_t tmpl,
132 crypto_ctx_template_t tmpl, crypto_context_t *, crypto_call_req_t *);
134 crypto_data_t *data, crypto_ctx_template_t tmpl, crypto_data_t *signature,
160 crypto_ctx_template_t tmpl, crypto_context_t *, crypto_call_req_t *);
172 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *ciphertext,
192 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *plaintext,
[all …]
/f-stack/dpdk/examples/ipsec-secgw/test/
H A Dtun_aesgcm_defs.sh16 tmpl src ${REMOTE_IPV4} dst ${LOCAL_IPV4} \
22 tmpl src ${LOCAL_IPV4} dst ${REMOTE_IPV4} \
49 tmpl src ${REMOTE_IPV6} dst ${LOCAL_IPV6} \
55 tmpl src ${LOCAL_IPV6} dst ${REMOTE_IPV6} \
84 tmpl src ${REMOTE_IPV4} dst ${LOCAL_IPV4} \
90 tmpl src ${LOCAL_IPV4} dst ${REMOTE_IPV4} \
119 tmpl src ${REMOTE_IPV6} dst ${LOCAL_IPV6} \
125 tmpl src ${LOCAL_IPV6} dst ${REMOTE_IPV6} \
H A Dtun_aesctr_sha1_defs.sh16 tmpl src ${REMOTE_IPV4} dst ${LOCAL_IPV4} \
22 tmpl src ${LOCAL_IPV4} dst ${REMOTE_IPV4} \
49 tmpl src ${REMOTE_IPV6} dst ${LOCAL_IPV6} \
55 tmpl src ${LOCAL_IPV6} dst ${REMOTE_IPV6} \
84 tmpl src ${REMOTE_IPV4} dst ${LOCAL_IPV4} \
90 tmpl src ${LOCAL_IPV4} dst ${REMOTE_IPV4} \
119 tmpl src ${REMOTE_IPV6} dst ${LOCAL_IPV6} \
125 tmpl src ${LOCAL_IPV6} dst ${REMOTE_IPV6} \
H A Dtun_aescbc_sha1_defs.sh16 tmpl src ${REMOTE_IPV4} dst ${LOCAL_IPV4} \
22 tmpl src ${LOCAL_IPV4} dst ${REMOTE_IPV4} \
49 tmpl src ${REMOTE_IPV6} dst ${LOCAL_IPV6} \
55 tmpl src ${LOCAL_IPV6} dst ${REMOTE_IPV6} \
84 tmpl src ${REMOTE_IPV4} dst ${LOCAL_IPV4} \
90 tmpl src ${LOCAL_IPV4} dst ${REMOTE_IPV4} \
119 tmpl src ${REMOTE_IPV6} dst ${LOCAL_IPV6} \
125 tmpl src ${LOCAL_IPV6} dst ${REMOTE_IPV6} \
H A Dtun_3descbc_sha1_defs.sh16 tmpl src ${REMOTE_IPV4} dst ${LOCAL_IPV4} \
22 tmpl src ${LOCAL_IPV4} dst ${REMOTE_IPV4} \
49 tmpl src ${REMOTE_IPV6} dst ${LOCAL_IPV6} \
55 tmpl src ${LOCAL_IPV6} dst ${REMOTE_IPV6} \
84 tmpl src ${REMOTE_IPV4} dst ${LOCAL_IPV4} \
90 tmpl src ${LOCAL_IPV4} dst ${REMOTE_IPV4} \
119 tmpl src ${REMOTE_IPV6} dst ${LOCAL_IPV6} \
125 tmpl src ${LOCAL_IPV6} dst ${REMOTE_IPV6} \
H A Dtrs_aesgcm_defs.sh16 tmpl proto esp mode transport reqid 1
21 tmpl proto esp mode transport reqid 2
47 tmpl proto esp mode transport reqid 3
52 tmpl proto esp mode transport reqid 4
H A Dtrs_aesctr_sha1_defs.sh16 tmpl proto esp mode transport reqid 1
21 tmpl proto esp mode transport reqid 2
47 tmpl proto esp mode transport reqid 3
52 tmpl proto esp mode transport reqid 4
H A Dtrs_3descbc_sha1_defs.sh16 tmpl proto esp mode transport reqid 1
21 tmpl proto esp mode transport reqid 2
47 tmpl proto esp mode transport reqid 3
52 tmpl proto esp mode transport reqid 4
H A Dtrs_aescbc_sha1_defs.sh16 tmpl proto esp mode transport reqid 1
21 tmpl proto esp mode transport reqid 2
47 tmpl proto esp mode transport reqid 3
52 tmpl proto esp mode transport reqid 4
/f-stack/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_verbs.c368 MLX5_ASSERT(tmpl); in mlx5_rxq_ibv_obj_new()
371 tmpl->rxq_ctrl = rxq_ctrl; in mlx5_rxq_ibv_obj_new()
373 tmpl->ibv_channel = in mlx5_rxq_ibv_obj_new()
381 tmpl->fd = ((struct ibv_comp_channel *)(tmpl->ibv_channel))->fd; in mlx5_rxq_ibv_obj_new()
385 if (!tmpl->ibv_cq) { in mlx5_rxq_ibv_obj_new()
391 obj.cq.in = tmpl->ibv_cq; in mlx5_rxq_ibv_obj_new()
414 if (!tmpl->wq) { in mlx5_rxq_ibv_obj_new()
429 obj.rwq.in = tmpl->wq; in mlx5_rxq_ibv_obj_new()
447 if (tmpl->wq) in mlx5_rxq_ibv_obj_new()
449 if (tmpl->ibv_cq) in mlx5_rxq_ibv_obj_new()
[all …]
/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-clock.h107 : [tmpl] "=&r" (tmp_low), [tmph] "=&r" (tmp_hi) : ); in cvmx_clock_get_count()
/f-stack/dpdk/examples/ipsec-secgw/
H A Dsp4.c615 struct acl4_rules tmpl; in sp4_spi_present() local
625 tmpl.data.userdata = spi; in sp4_spi_present()
627 rule = bsearch(&tmpl, acr, num, sizeof(struct acl4_rules), sp_cmp); in sp4_spi_present()
H A Dsp6.c745 struct acl6_rules tmpl; in sp6_spi_present() local
755 tmpl.data.userdata = spi; in sp6_spi_present()
757 rule = bsearch(&tmpl, acr, num, sizeof(struct acl6_rules), sp_cmp); in sp6_spi_present()
H A Dsa.c1445 struct ipsec_sa tmpl; in sa_spi_present() local
1454 tmpl.spi = spi; in sa_spi_present()
1456 sa = bsearch(&tmpl, sar, num, sizeof(struct ipsec_sa), sa_cmp); in sa_spi_present()
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dzio_crypt.c378 crypto_ctx_template_t tmpl, uint8_t *ivbuf, uint_t datalen, in zio_do_crypt_uio() argument
455 ret = crypto_encrypt(&mech, &plaindata, key, tmpl, &cipherdata, in zio_do_crypt_uio()
462 ret = crypto_decrypt(&mech, &cipherdata, key, tmpl, &plaindata, in zio_do_crypt_uio()
1890 crypto_ctx_template_t tmpl; in zio_do_crypt_data() local
1904 tmpl = key->zk_current_tmpl; in zio_do_crypt_data()
1919 tmpl = NULL; in zio_do_crypt_data()
1964 ret = zio_do_crypt_uio(encrypt, key->zk_crypt, ckey, tmpl, iv, enc_len, in zio_do_crypt_data()
/f-stack/dpdk/drivers/compress/qat/
H A Dqat_comp.c114 const uint8_t *tmpl; in qat_comp_build_request() local
137 tmpl = (uint8_t *)&qat_xform->qat_comp_req_tmpl; in qat_comp_build_request()
139 rte_mov128(out_msg, tmpl); in qat_comp_build_request()
/f-stack/freebsd/net/
H A Dieee8023ad_lacp.c2056 const struct tlv_template *tmpl, boolean_t check_type) in tlv_check() argument
2062 if ((check_type && tlv->tlv_type != tmpl->tmpl_type) || in tlv_check()
2063 tlv->tlv_length != tmpl->tmpl_length) { in tlv_check()
2066 if (tmpl->tmpl_type == 0) { in tlv_check()
2071 tmpl++; in tlv_check()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzio_crypt.c1681 freebsd_crypt_session_t *tmpl = NULL; in zio_do_crypt_data() local
1718 tmpl = &key->zk_session; in zio_do_crypt_data()
1732 tmpl = NULL; in zio_do_crypt_data()
1736 ret = zio_do_crypt_uio_opencrypto(encrypt, tmpl, key->zk_crypt, in zio_do_crypt_data()
/f-stack/freebsd/contrib/openzfs/module/icp/io/
H A Daes.c1242 crypto_spi_ctx_template_t *tmpl, size_t *tmpl_size, crypto_req_handle_t req) in aes_create_ctx_template() argument
1271 *tmpl = keysched; in aes_create_ctx_template()