Searched refs:tmpl (Results 26 - 50 of 126) sorted by relevance

123456

/linux-master/include/net/
H A Dfib_notifier.h48 fib_notifier_ops_register(const struct fib_notifier_ops *tmpl, struct net *net);
/linux-master/crypto/
H A Dinternal.h173 static inline int crypto_tmpl_get(struct crypto_template *tmpl) argument
175 return try_module_get(tmpl->module);
178 static inline void crypto_tmpl_put(struct crypto_template *tmpl) argument
180 module_put(tmpl->module);
H A Dkpp.c130 int kpp_register_instance(struct crypto_template *tmpl, argument
138 return crypto_register_instance(tmpl, kpp_crypto_instance(inst));
H A Dxctr.c131 static int crypto_xctr_create(struct crypto_template *tmpl, struct rtattr **tb) argument
137 inst = skcipher_alloc_instance_simple(tmpl, tb);
160 err = skcipher_register_instance(tmpl, inst);
H A Dseqiv.c135 static int seqiv_aead_create(struct crypto_template *tmpl, struct rtattr **tb) argument
140 inst = aead_geniv_alloc(tmpl, tb);
158 err = aead_register_instance(tmpl, inst);
H A Dxcbc.c184 static int xcbc_create(struct crypto_template *tmpl, struct rtattr **tb) argument
211 err = crypto_inst_setname(shash_crypto_instance(inst), tmpl->name, alg);
234 err = shash_register_instance(tmpl, inst);
H A Dcbc.c138 static int crypto_cbc_create(struct crypto_template *tmpl, struct rtattr **tb) argument
143 inst = lskcipher_alloc_instance_simple(tmpl, tb);
157 err = lskcipher_register_instance(tmpl, inst);
H A Dpcbc.c154 static int crypto_pcbc_create(struct crypto_template *tmpl, struct rtattr **tb) argument
159 inst = skcipher_alloc_instance_simple(tmpl, tb);
166 err = skcipher_register_instance(tmpl, inst);
H A Dctr.c127 static int crypto_ctr_create(struct crypto_template *tmpl, struct rtattr **tb) argument
133 inst = skcipher_alloc_instance_simple(tmpl, tb);
160 err = skcipher_register_instance(tmpl, inst);
257 static int crypto_rfc3686_create(struct crypto_template *tmpl, argument
321 err = skcipher_register_instance(tmpl, inst);
H A Dccm.c446 static int crypto_ccm_create_common(struct crypto_template *tmpl, argument
521 err = aead_register_instance(tmpl, inst);
529 static int crypto_ccm_create(struct crypto_template *tmpl, struct rtattr **tb) argument
547 return crypto_ccm_create_common(tmpl, tb, ctr_name, mac_name);
550 static int crypto_ccm_base_create(struct crypto_template *tmpl, argument
564 return crypto_ccm_create_common(tmpl, tb, ctr_name, mac_name);
704 static int crypto_rfc4309_create(struct crypto_template *tmpl, argument
768 err = aead_register_instance(tmpl, inst);
858 static int cbcmac_create(struct crypto_template *tmpl, struct rtattr **tb) argument
881 err = crypto_inst_setname(shash_crypto_instance(inst), tmpl
[all...]
H A Dlskcipher.c409 int lskcipher_register_instance(struct crypto_template *tmpl, argument
421 return crypto_register_instance(tmpl, lskcipher_crypto_instance(inst));
476 * @tmpl: the template being instantiated
483 struct crypto_template *tmpl, struct rtattr **tb)
511 if (err == -ENOENT && !!memcmp(tmpl->name, "ecb", 4)) {
527 err = crypto_inst_setname(lskcipher_crypto_instance(inst), tmpl->name,
548 "%s(%s)", tmpl->name, ecb_name) >=
555 "%s(%s)", tmpl->name, cipher_name) >=
482 lskcipher_alloc_instance_simple( struct crypto_template *tmpl, struct rtattr **tb) argument
/linux-master/scripts/atomic/
H A Dgen-atomic-fallback.sh38 local tmpl="${ATOMICDIR}/fallbacks/${tmpl_order:-fence}"
39 gen_template_fallback "${tmpl}" "${meta}" "${pfx}" "${name}" "${sfx}" "${order}" "$@"
51 local tmpl="$(find_fallback_template "${pfx}" "${name}" "${sfx}" "${order}")"
52 gen_template_fallback "${tmpl}" "${meta}" "${pfx}" "${name}" "${sfx}" "${order}" "$@"
/linux-master/include/crypto/internal/
H A Dskcipher.h198 int skcipher_register_instance(struct crypto_template *tmpl,
205 int lskcipher_register_instance(struct crypto_template *tmpl,
273 struct crypto_template *tmpl, struct rtattr **tb);
292 struct crypto_template *tmpl, struct rtattr **tb);
H A Dkpp.h177 * @tmpl: The instantiating template.
181 int kpp_register_instance(struct crypto_template *tmpl,
H A Dakcipher.h150 * @tmpl: the template from which the algorithm was created
153 int akcipher_register_instance(struct crypto_template *tmpl,
/linux-master/net/netfilter/
H A Dnf_conntrack_proto_icmpv6.c135 nf_conntrack_icmpv6_redirect(struct nf_conn *tmpl, struct sk_buff *skb, argument
180 return nf_conntrack_inet_error(tmpl, skb, dataoff, state,
184 int nf_conntrack_icmpv6_error(struct nf_conn *tmpl, argument
215 return nf_conntrack_icmpv6_redirect(tmpl, skb, dataoff, state);
224 return nf_conntrack_inet_error(tmpl, skb, dataoff, state,
H A Dnf_conntrack_proto_icmp.c106 int nf_conntrack_inet_error(struct nf_conn *tmpl, struct sk_buff *skb, argument
121 zone = nf_ct_zone_tmpl(tmpl, skb, &tmp);
204 int nf_conntrack_icmpv4_error(struct nf_conn *tmpl, argument
246 return nf_conntrack_inet_error(tmpl, skb, dataoff, state,
/linux-master/include/net/netfilter/
H A Dnf_tables.h739 static inline void nft_set_ext_prepare(struct nft_set_ext_tmpl *tmpl) argument
741 memset(tmpl, 0, sizeof(*tmpl));
742 tmpl->len = sizeof(struct nft_set_ext);
745 static inline int nft_set_ext_add_length(struct nft_set_ext_tmpl *tmpl, u8 id, argument
748 tmpl->len = ALIGN(tmpl->len, nft_set_ext_types[id].align);
749 if (tmpl->len > U8_MAX)
752 tmpl->offset[id] = tmpl
759 nft_set_ext_add(struct nft_set_ext_tmpl *tmpl, u8 id) argument
764 nft_set_ext_init(struct nft_set_ext *ext, const struct nft_set_ext_tmpl *tmpl) argument
[all...]
H A Dnf_synproxy.h23 struct nf_conn *tmpl; member in struct:synproxy_net
H A Dnf_conntrack_l4proto.h79 int nf_conntrack_inet_error(struct nf_conn *tmpl, struct sk_buff *skb,
85 int nf_conntrack_icmpv4_error(struct nf_conn *tmpl,
90 int nf_conntrack_icmpv6_error(struct nf_conn *tmpl,
/linux-master/drivers/net/wireless/ti/wlcore/
H A Dinit.c147 struct wl12xx_disconn_template *tmpl; local
151 tmpl = kzalloc(sizeof(*tmpl), GFP_KERNEL);
152 if (!tmpl) {
157 tmpl->header.frame_ctl = cpu_to_le16(IEEE80211_FTYPE_MGMT |
163 tmpl, sizeof(*tmpl), 0, rate);
166 kfree(tmpl);
/linux-master/tools/testing/selftests/net/
H A Dvrf-xfrm-tests.sh218 tmpl src ${HOST1_4} dst ${HOST2_4} proto esp mode tunnel
223 tmpl src ${HOST1_4} dst ${HOST2_4} proto esp mode tunnel
228 tmpl src ${HOST2_4} dst ${HOST1_4} proto esp mode tunnel
233 tmpl src ${HOST2_4} dst ${HOST1_4} proto esp mode tunnel
239 tmpl src ${HOST1_6} dst ${HOST2_6} proto esp mode tunnel
244 tmpl src ${HOST1_6} dst ${HOST2_6} proto esp mode tunnel
249 tmpl src ${HOST2_6} dst ${HOST1_6} proto esp mode tunnel
254 tmpl src ${HOST2_6} dst ${HOST1_6} proto esp mode tunnel
/linux-master/include/net/tc_act/
H A Dtc_ct.h14 struct nf_conn *tmpl; member in struct:tcf_ct_params
/linux-master/net/sched/
H A Dact_ct.c874 if (params->tmpl) {
876 nf_connlabels_put(nf_ct_net(params->tmpl));
878 nf_ct_put(params->tmpl);
959 struct nf_conn *tmpl = NULL; local
975 tmpl = p->tmpl;
1021 if (tmpl) {
1023 nf_conntrack_get(&tmpl->ct_general);
1024 nf_ct_set(skb, tmpl, IP_CT_NEW);
1047 err = __nf_ct_try_assign_helper(ct, p->tmpl, GFP_ATOMI
1208 struct nf_conn *tmpl; local
[all...]
/linux-master/drivers/crypto/
H A Dn2_core.c1306 static int __n2_register_one_skcipher(const struct n2_skcipher_tmpl *tmpl) argument
1316 *alg = tmpl->skcipher;
1318 snprintf(alg->base.cra_name, CRYPTO_MAX_ALG_NAME, "%s", tmpl->name);
1319 snprintf(alg->base.cra_driver_name, CRYPTO_MAX_ALG_NAME, "%s-n2", tmpl->drv_name);
1323 alg->base.cra_blocksize = tmpl->block_size;
1324 p->enc_type = tmpl->enc_type;
1384 static int __n2_register_one_ahash(const struct n2_hash_tmpl *tmpl) argument
1395 p->hash_zero = tmpl->hash_zero;
1396 p->hash_init = tmpl->hash_init;
1397 p->auth_type = tmpl
[all...]

Completed in 525 milliseconds

123456