#include <linux/net.h>
#include <linux/string.h>
#include <linux/timer.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/in.h>
#include <linux/module.h>
#include <net/sock.h>
#include <net/tcp.h>
#include <target/target_core_base.h>
#include <target/target_core_backend.h>
#include <target/target_core_fabric.h>
#include "target_core_internal.h"
static LIST_HEAD(backend_list);
static DEFINE_MUTEX(backend_mutex);
static u32 hba_id_counter;
static DEFINE_SPINLOCK(hba_lock);
static LIST_HEAD(hba_list);
int transport_backend_register(const struct target_backend_ops *ops)
{ … }
EXPORT_SYMBOL(…);
void target_backend_unregister(const struct target_backend_ops *ops)
{ … }
EXPORT_SYMBOL(…);
static struct target_backend *core_get_backend(const char *name)
{ … }
struct se_hba *
core_alloc_hba(const char *plugin_name, u32 plugin_dep_id, u32 hba_flags)
{ … }
int
core_delete_hba(struct se_hba *hba)
{ … }
bool target_sense_desc_format(struct se_device *dev)
{ … }