aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa
ModeNameSize
-rw-r--r--Kconfig1235logstatsplainblame
-rw-r--r--Makefile426logstatsplainblame
-rw-r--r--dsa.c9442logstatsplainblame
-rw-r--r--dsa_priv.h4084logstatsplainblame
-rw-r--r--mv88e6060.c6088logstatsplainblame
-rw-r--r--mv88e6123_61_65.c11195logstatsplainblame
-rw-r--r--mv88e6131.c10074logstatsplainblame
-rw-r--r--mv88e6xxx.c10776logstatsplainblame
-rw-r--r--mv88e6xxx.h2811logstatsplainblame
-rw-r--r--slave.c10465logstatsplainblame
-rw-r--r--tag_dsa.c4795logstatsplainblame
-rw-r--r--tag_edsa.c5424logstatsplainblame
-rw-r--r--tag_trailer.c3179logstatsplainblame
">EXPORT_SYMBOL(crc_t10dif); static int __init crc_t10dif_mod_init(void) { crypto_register_notifier(&crc_t10dif_nb); crct10dif_tfm = crypto_alloc_shash("crct10dif", 0, 0); if (IS_ERR(crct10dif_tfm)) { static_key_slow_inc(&crct10dif_fallback); crct10dif_tfm = NULL; } return 0; } static void __exit crc_t10dif_mod_fini(void) { crypto_unregister_notifier(&crc_t10dif_nb); crypto_free_shash(crct10dif_tfm); } module_init(crc_t10dif_mod_init); module_exit(crc_t10dif_mod_fini); static int crc_t10dif_transform_show(char *buffer, const struct kernel_param *kp) { if (static_key_false(&crct10dif_fallback)) return sprintf(buffer, "fallback\n"); return sprintf(buffer, "%s\n", crypto_tfm_alg_driver_name(crypto_shash_tfm(crct10dif_tfm))); } module_param_call(transform, NULL, crc_t10dif_transform_show, NULL, 0644); MODULE_DESCRIPTION("T10 DIF CRC calculation"); MODULE_LICENSE("GPL"); MODULE_SOFTDEP("pre: crct10dif");