/linux/include/crypto/internal/ |
H A D | akcipher.h | 153 int akcipher_register_instance(struct crypto_template *tmpl,
|
H A D | kpp.h | 181 int kpp_register_instance(struct crypto_template *tmpl,
|
H A D | aead.h | 164 int aead_register_instance(struct crypto_template *tmpl,
|
/linux/crypto/ |
H A D | lrw.c | 299 static int lrw_create(struct crypto_template *tmpl, struct rtattr **tb) in lrw_create() argument 399 err = skcipher_register_instance(tmpl, inst); in lrw_create()
|
H A D | essiv.c | 443 static int essiv_create(struct crypto_template *tmpl, struct rtattr **tb) in essiv_create() argument 592 err = skcipher_register_instance(tmpl, skcipher_inst); in essiv_create() 607 err = aead_register_instance(tmpl, aead_inst); in essiv_create()
|
H A D | cts.c | 324 static int crypto_cts_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_cts_create() argument 381 err = skcipher_register_instance(tmpl, inst); in crypto_cts_create()
|
H A D | shash.c | 395 int shash_register_instance(struct crypto_template *tmpl, in shash_register_instance() argument 407 return crypto_register_instance(tmpl, shash_crypto_instance(inst)); in shash_register_instance()
|
H A D | xts.c | 340 static int xts_create(struct crypto_template *tmpl, struct rtattr **tb) in xts_create() argument 445 err = skcipher_register_instance(tmpl, inst); in xts_create()
|
H A D | skcipher.c | 962 int skcipher_register_instance(struct crypto_template *tmpl, in skcipher_register_instance() argument 974 return crypto_register_instance(tmpl, skcipher_crypto_instance(inst)); in skcipher_register_instance() 1034 struct crypto_template *tmpl, struct rtattr **tb) in skcipher_alloc_instance_simple() argument 1057 err = crypto_inst_setname(skcipher_crypto_instance(inst), tmpl->name, in skcipher_alloc_instance_simple()
|
H A D | authenc.c | 364 static int crypto_authenc_create(struct crypto_template *tmpl, in crypto_authenc_create() argument 430 err = aead_register_instance(tmpl, inst); in crypto_authenc_create()
|
H A D | authencesn.c | 380 static int crypto_authenc_esn_create(struct crypto_template *tmpl, in crypto_authenc_esn_create() argument 444 err = aead_register_instance(tmpl, inst); in crypto_authenc_esn_create()
|
H A D | vmac.c | 619 static int vmac_create(struct crypto_template *tmpl, struct rtattr **tb) in vmac_create() argument 646 err = crypto_inst_setname(shash_crypto_instance(inst), tmpl->name, alg); in vmac_create() 666 err = shash_register_instance(tmpl, inst); in vmac_create()
|
H A D | adiantum.c | 522 static int adiantum_create(struct crypto_template *tmpl, struct rtattr **tb) in adiantum_create() argument 617 err = skcipher_register_instance(tmpl, inst); in adiantum_create()
|
H A D | ahash.c | 704 int ahash_register_instance(struct crypto_template *tmpl, in ahash_register_instance() argument 716 return crypto_register_instance(tmpl, ahash_crypto_instance(inst)); in ahash_register_instance()
|
H A D | rsa-pkcs1pad.c | 621 static int pkcs1pad_create(struct crypto_template *tmpl, struct rtattr **tb) in pkcs1pad_create() argument 700 err = akcipher_register_instance(tmpl, inst); in pkcs1pad_create()
|
/linux/drivers/s390/net/ |
H A D | fsm.h | 112 int nr_states, int nr_events, const fsm_node *tmpl,
|
/linux/include/net/netfilter/ |
H A D | nf_conntrack_helper.h | 115 int __nf_ct_try_assign_helper(struct nf_conn *ct, struct nf_conn *tmpl,
|
H A D | nf_conntrack.h | 357 void nf_ct_tmpl_free(struct nf_conn *tmpl);
|
/linux/net/netfilter/ |
H A D | x_tables.c | 1240 struct xt_template *tmpl; in xt_find_table_lock() local 1249 list_for_each_entry(tmpl, &xt_templates[af], list) { in xt_find_table_lock() 1252 if (strcmp(tmpl->name, name)) in xt_find_table_lock() 1254 if (!try_module_get(tmpl->me)) in xt_find_table_lock() 1257 owner = tmpl->me; in xt_find_table_lock() 1260 err = tmpl->table_init(net); in xt_find_table_lock()
|
H A D | nf_synproxy_core.c | 346 snet->tmpl = ct; in synproxy_net_init() 370 nf_ct_put(snet->tmpl); in synproxy_net_exit() 530 synproxy_send_tcp(net, skb, nskb, &snet->tmpl->ct_general, IP_CT_NEW, in synproxy_send_server_syn() 944 synproxy_send_tcp_ipv6(net, skb, nskb, &snet->tmpl->ct_general, in synproxy_send_server_syn_ipv6()
|
H A D | nf_tables_api.c | 6453 static int nft_set_ext_check(const struct nft_set_ext_tmpl *tmpl, u8 id, u32 len) in nft_set_ext_check() argument 6456 if (len > tmpl->ext_len[id] || in nft_set_ext_check() 6463 static int nft_set_ext_memcpy(const struct nft_set_ext_tmpl *tmpl, u8 id, in nft_set_ext_memcpy() argument 6466 if (nft_set_ext_check(tmpl, id, len) < 0) in nft_set_ext_memcpy() 6475 const struct nft_set_ext_tmpl *tmpl, in nft_set_elem_init() argument 6483 elem = kzalloc(set->ops->elemsize + tmpl->len, gfp); in nft_set_elem_init() 6488 nft_set_ext_init(ext, tmpl); in nft_set_elem_init() 6491 nft_set_ext_memcpy(tmpl, NFT_SET_EXT_KEY, in nft_set_elem_init() 6496 nft_set_ext_memcpy(tmpl, NFT_SET_EXT_KEY_END, in nft_set_elem_init() 6501 nft_set_ext_memcpy(tmpl, NFT_SET_EXT_DAT in nft_set_elem_init() 6610 nft_set_elem_expr_setup(struct nft_ctx * ctx,const struct nft_set_ext_tmpl * tmpl,const struct nft_set_ext * ext,struct nft_expr * expr_array[],u32 num_exprs) nft_set_elem_expr_setup() argument 6845 struct nft_set_ext_tmpl tmpl; nft_add_set_elem() local 7351 struct nft_set_ext_tmpl tmpl; nft_del_setelem() local [all...] |
/linux/drivers/crypto/ccree/ |
H A D | cc_aead.c | 2560 static struct cc_crypto_alg *cc_create_aead_alg(struct cc_alg_template *tmpl, in cc_create_aead_alg() argument 2570 alg = &tmpl->template_aead; in cc_create_aead_alg() 2573 tmpl->name) >= CRYPTO_MAX_ALG_NAME) in cc_create_aead_alg() 2576 tmpl->driver_name) >= CRYPTO_MAX_ALG_NAME) in cc_create_aead_alg() 2584 alg->base.cra_blocksize = tmpl->blocksize; in cc_create_aead_alg() 2590 t_alg->cipher_mode = tmpl->cipher_mode; in cc_create_aead_alg() 2591 t_alg->flow_mode = tmpl->flow_mode; in cc_create_aead_alg() 2592 t_alg->auth_mode = tmpl->auth_mode; in cc_create_aead_alg()
|
/linux/include/linux/sunrpc/ |
H A D | cache.h | 234 extern struct cache_detail *cache_create_net(const struct cache_detail *tmpl, struct net *net);
|
/linux/drivers/scsi/ |
H A D | scsi_transport_srp.c | 42 #define to_srp_internal(tmpl) container_of(tmpl, struct srp_internal, t) argument
|
/linux/drivers/atm/ |
H A D | idt77252.c | 2137 unsigned long tmpl, modl; in idt77252_init_cbr() local 2158 tmpl = (unsigned long) tcra * ((unsigned long) card->tst_size - 2); in idt77252_init_cbr() 2159 modl = tmpl % (unsigned long)card->utopia_pcr; in idt77252_init_cbr() 2161 tst_entries = (int) (tmpl / card->utopia_pcr); in idt77252_init_cbr() 3261 unsigned long tmpl, modl; in init_card() local 3485 tmpl = (unsigned long) rsvdcr * ((unsigned long) card->tst_size - 2); in init_card() 3486 modl = tmpl % (unsigned long)card->utopia_pcr; in init_card() 3487 tst_entries = (int) (tmpl / (unsigned long)card->utopia_pcr); in init_card()
|