Searched refs:tmpl (Results 76 - 100 of 126) sorted by relevance

123456

/linux-master/tools/testing/selftests/net/
H A Dipsec.c1105 struct xfrm_user_tmpl tmpl; local
1108 memset(&tmpl, 0, sizeof(tmpl));
1129 /* Fill tmpl */
1130 memcpy(&tmpl.id.daddr, &dst, sizeof(dst));
1132 tmpl.id.spi = spi;
1133 tmpl.id.proto = proto;
1134 tmpl.family = AF_INET;
1135 memcpy(&tmpl.saddr, &src, sizeof(src));
1136 tmpl
[all...]
/linux-master/drivers/crypto/ccree/
H A Dcc_cipher.c1381 static struct cc_crypto_alg *cc_create_alg(const struct cc_alg_template *tmpl, argument
1393 memcpy(alg, &tmpl->template_skcipher, sizeof(*alg));
1396 tmpl->name) >= CRYPTO_MAX_ALG_NAME)
1399 tmpl->driver_name) >= CRYPTO_MAX_ALG_NAME)
1404 alg->base.cra_blocksize = tmpl->blocksize;
1412 t_alg->cipher_mode = tmpl->cipher_mode;
1413 t_alg->flow_mode = tmpl->flow_mode;
H A Dcc_aead.c2560 static struct cc_crypto_alg *cc_create_aead_alg(struct cc_alg_template *tmpl, argument
2570 alg = &tmpl->template_aead;
2573 tmpl->name) >= CRYPTO_MAX_ALG_NAME)
2576 tmpl->driver_name) >= CRYPTO_MAX_ALG_NAME)
2584 alg->base.cra_blocksize = tmpl->blocksize;
2590 t_alg->cipher_mode = tmpl->cipher_mode;
2591 t_alg->flow_mode = tmpl->flow_mode;
2592 t_alg->auth_mode = tmpl->auth_mode;
/linux-master/net/xfrm/
H A Dxfrm_policy.c2474 struct xfrm_tmpl *tmpl = &policy->xfrm_vec[i]; local
2476 if (tmpl->mode == XFRM_MODE_TUNNEL ||
2477 tmpl->mode == XFRM_MODE_BEET) {
2478 remote = &tmpl->id.daddr;
2479 local = &tmpl->saddr;
2480 if (xfrm_addr_any(local, tmpl->encap_family)) {
2483 tmpl->encap_family, 0);
2490 x = xfrm_state_find(remote, local, fl, tmpl, policy, &error,
2513 if (!tmpl->optional)
3344 xfrm_state_ok(const struct xfrm_tmpl *tmpl, cons argument
3368 xfrm_policy_ok(const struct xfrm_tmpl *tmpl, const struct sec_path *sp, int start, unsigned short family, u32 if_id) argument
[all...]
/linux-master/drivers/net/wireless/ti/wlcore/
H A Dcmd.c1219 struct wl12xx_arp_rsp_template *tmpl; local
1223 skb = dev_alloc_skb(sizeof(*hdr) + sizeof(__le16) + sizeof(*tmpl) +
1232 tmpl = skb_put_zero(skb, sizeof(*tmpl));
1235 memcpy(tmpl->llc_hdr, rfc1042_header, sizeof(rfc1042_header));
1236 tmpl->llc_type = cpu_to_be16(ETH_P_ARP);
1239 arp_hdr = &tmpl->arp_hdr;
1247 memcpy(tmpl->sender_hw, vif->addr, ETH_ALEN);
1248 tmpl->sender_ip = wlvif->ip_addr;
/linux-master/crypto/
H A Dessiv.c443 static int essiv_create(struct crypto_template *tmpl, struct rtattr **tb) argument
592 err = skcipher_register_instance(tmpl, skcipher_inst);
607 err = aead_register_instance(tmpl, aead_inst);
H A Dcts.c324 static int crypto_cts_create(struct crypto_template *tmpl, struct rtattr **tb) argument
381 err = skcipher_register_instance(tmpl, inst);
H A Dxts.c340 static int xts_create(struct crypto_template *tmpl, struct rtattr **tb) argument
445 err = skcipher_register_instance(tmpl, inst);
H A Dshash.c395 int shash_register_instance(struct crypto_template *tmpl, argument
407 return crypto_register_instance(tmpl, shash_crypto_instance(inst));
H A Dskcipher.c962 int skcipher_register_instance(struct crypto_template *tmpl, argument
974 return crypto_register_instance(tmpl, skcipher_crypto_instance(inst));
1027 * @tmpl: the template being instantiated
1034 struct crypto_template *tmpl, struct rtattr **tb)
1057 err = crypto_inst_setname(skcipher_crypto_instance(inst), tmpl->name,
1033 skcipher_alloc_instance_simple( struct crypto_template *tmpl, struct rtattr **tb) argument
H A Dadiantum.c522 static int adiantum_create(struct crypto_template *tmpl, struct rtattr **tb) argument
617 err = skcipher_register_instance(tmpl, inst);
H A Dauthenc.c364 static int crypto_authenc_create(struct crypto_template *tmpl, argument
430 err = aead_register_instance(tmpl, inst);
H A Dauthencesn.c380 static int crypto_authenc_esn_create(struct crypto_template *tmpl, argument
444 err = aead_register_instance(tmpl, inst);
H A Dahash.c704 int ahash_register_instance(struct crypto_template *tmpl, argument
716 return crypto_register_instance(tmpl, ahash_crypto_instance(inst));
H A Dvmac.c619 static int vmac_create(struct crypto_template *tmpl, struct rtattr **tb) argument
646 err = crypto_inst_setname(shash_crypto_instance(inst), tmpl->name, alg);
666 err = shash_register_instance(tmpl, inst);
H A Drsa-pkcs1pad.c621 static int pkcs1pad_create(struct crypto_template *tmpl, struct rtattr **tb) argument
700 err = akcipher_register_instance(tmpl, inst);
/linux-master/include/linux/sunrpc/
H A Dcache.h234 extern struct cache_detail *cache_create_net(const struct cache_detail *tmpl, struct net *net);
/linux-master/net/netfilter/
H A Dx_tables.c1240 struct xt_template *tmpl; local
1249 list_for_each_entry(tmpl, &xt_templates[af], list) {
1252 if (strcmp(tmpl->name, name))
1254 if (!try_module_get(tmpl->me))
1257 owner = tmpl->me;
1260 err = tmpl->table_init(net);
H A Dnf_synproxy_core.c346 snet->tmpl = ct;
370 nf_ct_put(snet->tmpl);
530 synproxy_send_tcp(net, skb, nskb, &snet->tmpl->ct_general, IP_CT_NEW,
944 synproxy_send_tcp_ipv6(net, skb, nskb, &snet->tmpl->ct_general,
/linux-master/drivers/ata/
H A Dlibata-transport.c65 #define to_ata_internal(tmpl) container_of(tmpl, struct ata_internal, t)
/linux-master/include/net/netfilter/
H A Dnf_conntrack.h357 void nf_ct_tmpl_free(struct nf_conn *tmpl);
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_nvme.c936 struct nvme_fc_port_template *tmpl; local
945 tmpl = &qla_nvme_fc_transport;
984 ret = nvme_fc_register_localport(&pinfo, tmpl,
/linux-master/net/openvswitch/
H A Dconntrack.c720 struct nf_conn *tmpl = info->ct; local
724 if (tmpl) {
727 nf_conntrack_get(&tmpl->ct_general);
728 nf_ct_set(skb, tmpl, IP_CT_NEW);
/linux-master/drivers/scsi/
H A Dscsi_transport_srp.c42 #define to_srp_internal(tmpl) container_of(tmpl, struct srp_internal, t)
/linux-master/drivers/atm/
H A Didt77252.c2136 unsigned long tmpl, modl; local
2157 tmpl = (unsigned long) tcra * ((unsigned long) card->tst_size - 2);
2158 modl = tmpl % (unsigned long)card->utopia_pcr;
2160 tst_entries = (int) (tmpl / card->utopia_pcr);
3260 unsigned long tmpl, modl; local
3484 tmpl = (unsigned long) rsvdcr * ((unsigned long) card->tst_size - 2);
3485 modl = tmpl % (unsigned long)card->utopia_pcr;
3486 tst_entries = (int) (tmpl / (unsigned long)card->utopia_pcr);

Completed in 503 milliseconds

123456