// SPDX-License-Identifier: GPL-2.0 #include <linux/spinlock.h> #include <linux/list.h> #include <linux/module.h> #include <target/iscsi/iscsi_transport.h> static LIST_HEAD(g_transport_list); static DEFINE_MUTEX(transport_mutex); struct iscsit_transport *iscsit_get_transport(int type) { … } void iscsit_put_transport(struct iscsit_transport *t) { … } void iscsit_register_transport(struct iscsit_transport *t) { … } EXPORT_SYMBOL(…); void iscsit_unregister_transport(struct iscsit_transport *t) { … } EXPORT_SYMBOL(…);