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

123456

/linux-master/include/net/netfilter/
H A Dnf_conntrack_synproxy.h33 const struct nf_conn *tmpl)
36 if (tmpl && nfct_synproxy(tmpl)) {
32 nf_ct_add_synproxy(struct nf_conn *ct, const struct nf_conn *tmpl) argument
H A Dnf_conntrack_zones.h29 nf_ct_zone_tmpl(const struct nf_conn *tmpl, const struct sk_buff *skb, argument
33 if (!tmpl)
36 if (tmpl->zone.flags & NF_CT_FLAG_MARK)
37 return nf_ct_zone_init(tmp, skb->mark, tmpl->zone.dir, 0);
39 return nf_ct_zone(tmpl);
/linux-master/drivers/crypto/qce/
H A Dsha.c42 struct qce_alg_template *tmpl = to_ahash_tmpl(async_req->tfm); local
43 struct qce_device *qce = tmpl->qce;
72 qce->async_req_done(tmpl->qce, error);
80 struct qce_alg_template *tmpl = to_ahash_tmpl(async_req->tfm); local
81 struct qce_device *qce = tmpl->qce;
118 ret = qce_start(async_req, tmpl->crypto_alg_type);
136 struct qce_alg_template *tmpl = to_ahash_tmpl(req->base.tfm); local
137 const u32 *std_iv = tmpl->std_iv;
142 rctx->flags = tmpl->alg_flags;
187 struct qce_alg_template *tmpl local
279 struct qce_alg_template *tmpl = to_ahash_tmpl(req->base.tfm); local
306 struct qce_alg_template *tmpl = to_ahash_tmpl(req->base.tfm); local
455 struct qce_alg_template *tmpl; local
515 struct qce_alg_template *tmpl, *n; local
[all...]
H A Dskcipher.c32 struct qce_alg_template *tmpl = to_cipher_tmpl(crypto_skcipher_reqtfm(req)); local
33 struct qce_device *qce = tmpl->qce;
60 qce->async_req_done(tmpl->qce, error);
69 struct qce_alg_template *tmpl = to_cipher_tmpl(crypto_skcipher_reqtfm(req)); local
70 struct qce_device *qce = tmpl->qce;
152 ret = qce_start(async_req, tmpl->crypto_alg_type);
261 struct qce_alg_template *tmpl = to_cipher_tmpl(tfm); local
266 rctx->flags = tmpl->alg_flags;
307 return tmpl->qce->async_req_enqueue(tmpl
439 struct qce_alg_template *tmpl; local
499 struct qce_alg_template *tmpl, *n; local
[all...]
H A Daead.c29 struct qce_alg_template *tmpl = to_aead_tmpl(crypto_aead_reqtfm(req)); local
30 struct qce_device *qce = tmpl->qce;
96 struct qce_alg_template *tmpl = to_aead_tmpl(crypto_aead_reqtfm(req)); local
97 struct qce_device *qce = tmpl->qce;
116 struct qce_alg_template *tmpl = to_aead_tmpl(crypto_aead_reqtfm(req)); local
117 struct qce_device *qce = tmpl->qce;
304 struct qce_alg_template *tmpl = to_aead_tmpl(crypto_aead_reqtfm(req)); local
305 struct qce_device *qce = tmpl->qce;
414 struct qce_alg_template *tmpl = to_aead_tmpl(crypto_aead_reqtfm(req)); local
415 struct qce_device *qce = tmpl
507 struct qce_alg_template *tmpl = to_aead_tmpl(tfm); local
761 struct qce_alg_template *tmpl; local
817 struct qce_alg_template *tmpl, *n; local
[all...]
/linux-master/drivers/crypto/marvell/cesa/
H A Dcipher.c423 struct mv_cesa_op_ctx *tmpl)
444 mv_cesa_update_op_cfg(tmpl, CESA_SA_DESC_CFG_OP_CRYPT_ONLY,
448 ret = mv_cesa_skcipher_dma_req_init(req, tmpl);
450 ret = mv_cesa_skcipher_std_req_init(req, tmpl);
456 struct mv_cesa_op_ctx *tmpl)
462 ret = mv_cesa_skcipher_req_init(req, tmpl);
478 struct mv_cesa_op_ctx *tmpl)
482 mv_cesa_update_op_cfg(tmpl, CESA_SA_DESC_CFG_CRYPTM_DES,
485 memcpy(tmpl->ctx.skcipher.key, ctx->key, DES_KEY_SIZE);
487 return mv_cesa_skcipher_queue_req(req, tmpl);
422 mv_cesa_skcipher_req_init(struct skcipher_request *req, struct mv_cesa_op_ctx *tmpl) argument
455 mv_cesa_skcipher_queue_req(struct skcipher_request *req, struct mv_cesa_op_ctx *tmpl) argument
477 mv_cesa_des_op(struct skcipher_request *req, struct mv_cesa_op_ctx *tmpl) argument
492 struct mv_cesa_op_ctx tmpl; local
503 struct mv_cesa_op_ctx tmpl; local
533 mv_cesa_cbc_des_op(struct skcipher_request *req, struct mv_cesa_op_ctx *tmpl) argument
546 struct mv_cesa_op_ctx tmpl; local
555 struct mv_cesa_op_ctx tmpl; local
584 mv_cesa_des3_op(struct skcipher_request *req, struct mv_cesa_op_ctx *tmpl) argument
599 struct mv_cesa_op_ctx tmpl; local
611 struct mv_cesa_op_ctx tmpl; local
642 mv_cesa_cbc_des3_op(struct skcipher_request *req, struct mv_cesa_op_ctx *tmpl) argument
652 struct mv_cesa_op_ctx tmpl; local
664 struct mv_cesa_op_ctx tmpl; local
696 mv_cesa_aes_op(struct skcipher_request *req, struct mv_cesa_op_ctx *tmpl) argument
728 struct mv_cesa_op_ctx tmpl; local
739 struct mv_cesa_op_ctx tmpl; local
769 mv_cesa_cbc_aes_op(struct skcipher_request *req, struct mv_cesa_op_ctx *tmpl) argument
781 struct mv_cesa_op_ctx tmpl; local
790 struct mv_cesa_op_ctx tmpl; local
[all...]
H A Dhash.c441 struct mv_cesa_op_ctx *tmpl, bool algo_le)
446 mv_cesa_update_op_cfg(tmpl,
451 mv_cesa_set_mac_op_total_len(tmpl, 0);
452 mv_cesa_set_mac_op_frag_len(tmpl, 0);
453 creq->op_tmpl = *tmpl;
493 struct mv_cesa_op_ctx *tmpl, unsigned int frag_len,
499 op = mv_cesa_dma_add_op(chain, tmpl, false, flags);
511 if (mv_cesa_mac_op_is_first_frag(tmpl))
512 mv_cesa_update_op_cfg(tmpl,
819 struct mv_cesa_op_ctx *tmpl local
440 mv_cesa_ahash_init(struct ahash_request *req, struct mv_cesa_op_ctx *tmpl, bool algo_le) argument
492 mv_cesa_dma_add_frag(struct mv_cesa_tdma_chain *chain, struct mv_cesa_op_ctx *tmpl, unsigned int frag_len, gfp_t flags) argument
831 struct mv_cesa_op_ctx *tmpl = &creq->op_tmpl; local
895 struct mv_cesa_op_ctx tmpl = { }; local
965 struct mv_cesa_op_ctx tmpl = { }; local
1036 struct mv_cesa_op_ctx tmpl = { }; local
1249 struct mv_cesa_op_ctx tmpl = { }; local
1320 struct mv_cesa_op_ctx tmpl = { }; local
1411 struct mv_cesa_op_ctx tmpl = { }; local
[all...]
/linux-master/crypto/
H A Dxor.c58 static void __init do_xor_register(struct xor_block_template *tmpl) argument
60 tmpl->next = template_list;
61 template_list = tmpl;
83 do_xor_speed(struct xor_block_template *tmpl, void *b1, void *b2) argument
89 tmpl->next = template_list;
90 template_list = tmpl;
99 tmpl->do_2(BENCH_SIZE, b1, b2);
113 tmpl->speed = speed;
115 pr_info(" %-16s: %5d MB/sec\n", tmpl->name, speed);
H A Decb.c98 struct crypto_template *tmpl, struct rtattr **tb)
121 err = crypto_inst_setname(lskcipher_crypto_instance(inst), tmpl->name,
149 static int crypto_ecb_create2(struct crypto_template *tmpl, struct rtattr **tb) argument
154 inst = lskcipher_alloc_instance_simple2(tmpl, tb);
164 err = lskcipher_register_instance(tmpl, inst);
171 static int crypto_ecb_create(struct crypto_template *tmpl, struct rtattr **tb) argument
178 inst = lskcipher_alloc_instance_simple(tmpl, tb);
180 err = crypto_ecb_create2(tmpl, tb);
199 err = lskcipher_register_instance(tmpl, inst);
97 lskcipher_alloc_instance_simple2( struct crypto_template *tmpl, struct rtattr **tb) argument
H A Dalgboss.c53 struct crypto_template *tmpl; local
56 tmpl = crypto_lookup_template(param->template);
57 if (!tmpl)
61 err = tmpl->create(tmpl, param->tb);
64 crypto_tmpl_put(tmpl);
H A Dalgapi.c82 struct crypto_template *tmpl = inst->tmpl; local
85 crypto_tmpl_put(tmpl);
134 struct crypto_template *tmpl = inst->tmpl; local
141 if (!tmpl || !crypto_tmpl_get(tmpl))
546 int crypto_register_template(struct crypto_template *tmpl) argument
553 crypto_check_module_sig(tmpl->module);
556 if (q == tmpl)
586 crypto_unregister_template(struct crypto_template *tmpl) argument
626 struct crypto_template *q, *tmpl = NULL; local
650 crypto_register_instance(struct crypto_template *tmpl, struct crypto_instance *inst) argument
[all...]
H A Ddh.c552 struct crypto_template *tmpl, struct rtattr **tb,
589 tmpl->name, &dh_alg->base);
605 err = kpp_register_instance(tmpl, inst);
833 static int dh_ffdhe2048_create(struct crypto_template *tmpl, argument
836 return __dh_safe_prime_create(tmpl, tb, &ffdhe2048_prime);
839 static int dh_ffdhe3072_create(struct crypto_template *tmpl, argument
842 return __dh_safe_prime_create(tmpl, tb, &ffdhe3072_prime);
845 static int dh_ffdhe4096_create(struct crypto_template *tmpl, argument
848 return __dh_safe_prime_create(tmpl, tb, &ffdhe4096_prime);
851 static int dh_ffdhe6144_create(struct crypto_template *tmpl, argument
551 __dh_safe_prime_create( struct crypto_template *tmpl, struct rtattr **tb, const struct dh_safe_prime *safe_prime) argument
857 dh_ffdhe8192_create(struct crypto_template *tmpl, struct rtattr **tb) argument
[all...]
H A Dechainiv.c112 static int echainiv_aead_create(struct crypto_template *tmpl, argument
118 inst = aead_geniv_alloc(tmpl, tb);
136 err = aead_register_instance(tmpl, inst);
H A Dgeniv.c41 struct aead_instance *aead_geniv_alloc(struct crypto_template *tmpl, argument
78 "%s(%s)", tmpl->name, alg->base.cra_name) >=
82 "%s(%s)", tmpl->name, alg->base.cra_driver_name) >=
H A Dkeywrap.c264 static int crypto_kw_create(struct crypto_template *tmpl, struct rtattr **tb) argument
270 inst = skcipher_alloc_instance_simple(tmpl, tb);
288 err = skcipher_register_instance(tmpl, inst);
/linux-master/drivers/scsi/fnic/
H A Dcq_exch_desc.h16 u8 tmpl; member in struct:cq_exch_wq_desc
50 u16 tmpl; member in struct:cq_fcp_rq_desc
83 u16 *tmpl,
104 *tmpl = desc_ptr->tmpl & CQ_FCP_RQ_DESC_TMPL_MASK;
129 u16 tmpl; member in struct:cq_sgl_desc
157 u16 *tmpl,
166 *tmpl = desc_ptr->tmpl & CQ_SGL_TMPL_MASK;
74 cq_fcp_rq_desc_dec(struct cq_fcp_rq_desc *desc_ptr, u8 *type, u8 *color, u16 *q_number, u16 *completed_index, u8 *eop, u8 *sop, u8 *fck, u16 *exchange_id, u16 *tmpl, u32 *bytes_written, u8 *sof, u8 *eof, u8 *ingress_port, u8 *packet_err, u8 *fcoe_err, u8 *fcs_ok, u8 *vlan_stripped, u16 *vlan) argument
150 cq_sgl_desc_dec(struct cq_sgl_desc *desc_ptr, u8 *type, u8 *color, u16 *q_number, u16 *exchange_id, u32 *active_burst_offset, u32 *tot_data_bytes, u16 *tmpl, u8 *sgl_err) argument
/linux-master/drivers/scsi/
H A Dscsi_sas_internal.h41 #define to_sas_internal(tmpl) container_of(tmpl, struct sas_internal, t)
/linux-master/include/crypto/internal/
H A Dgeniv.h22 struct aead_instance *aead_geniv_alloc(struct crypto_template *tmpl,
/linux-master/drivers/s390/net/
H A Dfsm.c18 int nr_events, const fsm_node *tmpl, int tmpl_len, gfp_t order)
57 if ((tmpl[i].cond_state >= nr_states) ||
58 (tmpl[i].cond_event >= nr_events) ) {
61 name, i, (long)tmpl[i].cond_state, (long)f->nr_states,
62 (long)tmpl[i].cond_event, (long)f->nr_events);
66 m[nr_states * tmpl[i].cond_event + tmpl[i].cond_state] =
67 tmpl[i].function;
17 init_fsm(char *name, const char **state_names, const char **event_names, int nr_states, int nr_events, const fsm_node *tmpl, int tmpl_len, gfp_t order) argument
/linux-master/include/crypto/
H A Dalgapi.h77 struct crypto_template *tmpl; member in struct:crypto_instance
96 int (*create)(struct crypto_template *tmpl, struct rtattr **tb);
148 int crypto_register_template(struct crypto_template *tmpl);
150 void crypto_unregister_template(struct crypto_template *tmpl);
154 int crypto_register_instance(struct crypto_template *tmpl,
/linux-master/net/netfilter/
H A Dnf_conntrack_core.c525 struct nf_conn *tmpl, *p; local
528 tmpl = kzalloc(sizeof(*tmpl) + NFCT_INFOMASK, flags);
529 if (!tmpl)
532 p = tmpl;
533 tmpl = (struct nf_conn *)NFCT_ALIGN((unsigned long)p);
534 if (tmpl != p) {
535 tmpl = (struct nf_conn *)NFCT_ALIGN((unsigned long)p);
536 tmpl->proto.tmpl_padto = (char *)tmpl
553 nf_ct_tmpl_free(struct nf_conn *tmpl) argument
1703 init_conntrack(struct net *net, struct nf_conn *tmpl, const struct nf_conntrack_tuple *tuple, struct sk_buff *skb, unsigned int dataoff, u32 hash) argument
1808 resolve_normal_ct(struct nf_conn *tmpl, struct sk_buff *skb, unsigned int dataoff, u_int8_t protonum, const struct nf_hook_state *state) argument
1879 nf_conntrack_handle_icmp(struct nf_conn *tmpl, struct sk_buff *skb, unsigned int dataoff, u8 protonum, const struct nf_hook_state *state) argument
1963 struct nf_conn *ct, *tmpl; local
[all...]
H A Dnft_dynset.c17 struct nft_set_ext_tmpl tmpl; member in struct:nft_dynset
60 elem_priv = nft_set_elem_init(set, &priv->tmpl,
121 nft_set_ext_add_length(&priv->tmpl, NFT_SET_EXT_EXPRESSIONS,
307 nft_set_ext_prepare(&priv->tmpl);
308 nft_set_ext_add_length(&priv->tmpl, NFT_SET_EXT_KEY, set->klen);
310 nft_set_ext_add_length(&priv->tmpl, NFT_SET_EXT_DATA, set->dlen);
317 nft_set_ext_add(&priv->tmpl, NFT_SET_EXT_TIMEOUT);
318 nft_set_ext_add(&priv->tmpl, NFT_SET_EXT_EXPIRATION);
/linux-master/scripts/atomic/
H A Datomic-tbl.sh239 local tmpl="$(find_kerneldoc_template "${pfx}" "${name}" "${sfx}" "${order}")"
240 if [ -z "${tmpl}" ]; then
245 gen_template_kerneldoc "${tmpl}" "${class}" "${meta}" "${pfx}" "${name}" "${sfx}" "${order}" "$@"
/linux-master/tools/testing/selftests/net/
H A Dl2tp.sh230 tmpl proto esp mode transport
234 tmpl proto esp mode transport
238 tmpl proto esp mode transport
242 tmpl proto esp mode transport
269 tmpl proto esp mode transport
273 tmpl proto esp mode transport
277 tmpl proto esp mode transport
281 tmpl proto esp mode transport
/linux-master/drivers/media/dvb-frontends/
H A Dmn88443x.c273 u32 cpmon, tmpu, tmpl, flg; local
307 regmap_read(r_s, CNRDXL_S, &tmpl);
308 x = (tmpu << 8) | tmpl;
310 regmap_read(r_s, CNRDYL_S, &tmpl);
311 y = (tmpu << 8) | tmpl;
349 regmap_read(r_s, BERVRDL_S, &tmpl);
350 bit_err = (tmpu << 8) | tmpl;
475 u32 seqrd, st, flg, tmpu, tmpm, tmpl; local
495 regmap_read(r_t, AGCRDL_T, &tmpl);
496 agc = (tmpu << 8) | tmpl;
[all...]

Completed in 537 milliseconds

123456