Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/configfs.h>
#include <scsi/scsi.h>
#include <scsi/scsi_tcq.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_cmnd.h>
#include <target/target_core_base.h>
#include <target/target_core_fabric.h>
#include <target/target_core_fabric_configfs.h>
#include <target/target_core_configfs.h>
#include "tcm_loop.h"
Go to the source code of this file.
Macros | |
#define | to_tcm_loop_hba(hba) container_of(hba, struct tcm_loop_hba, dev) |
Functions | |
TF_TPG_BASE_ATTR (tcm_loop, nexus, S_IRUGO|S_IWUSR) | |
struct se_portal_group * | tcm_loop_make_naa_tpg (struct se_wwn *wwn, struct config_group *group, const char *name) |
void | tcm_loop_drop_naa_tpg (struct se_portal_group *se_tpg) |
struct se_wwn * | tcm_loop_make_scsi_hba (struct target_fabric_configfs *tf, struct config_group *group, const char *name) |
void | tcm_loop_drop_scsi_hba (struct se_wwn *wwn) |
TF_WWN_ATTR_RO (tcm_loop, version) | |
MODULE_DESCRIPTION ("TCM loopback virtual Linux/SCSI fabric module") | |
MODULE_AUTHOR ("Nicholas A. Bellinger <[email protected]>") | |
MODULE_LICENSE ("GPL") | |
module_init (tcm_loop_fabric_init) | |
module_exit (tcm_loop_fabric_exit) | |
Variables | |
struct device * | tcm_loop_primary |
#define to_tcm_loop_hba | ( | hba | ) | container_of(hba, struct tcm_loop_hba, dev) |
Definition at line 42 of file tcm_loop.c.
MODULE_AUTHOR | ( | "Nicholas A. Bellinger <[email protected]>" | ) |
module_exit | ( | tcm_loop_fabric_exit | ) |
module_init | ( | tcm_loop_fabric_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
void tcm_loop_drop_naa_tpg | ( | struct se_portal_group * | se_tpg | ) |
Definition at line 1118 of file tcm_loop.c.
Definition at line 1220 of file tcm_loop.c.
|
read |
Definition at line 1073 of file tcm_loop.c.
|
read |
Definition at line 1150 of file tcm_loop.c.
TF_WWN_ATTR_RO | ( | tcm_loop | , |
version | |||
) |
Definition at line 112 of file tcm_loop.c.