Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
tfc_conf.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <generated/utsrelease.h>
#include <linux/utsname.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/kthread.h>
#include <linux/types.h>
#include <linux/string.h>
#include <linux/configfs.h>
#include <linux/kernel.h>
#include <linux/ctype.h>
#include <asm/unaligned.h>
#include <scsi/scsi.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/libfc.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 <target/configfs_macros.h>
#include "tcm_fc.h"

Go to the source code of this file.

Functions

 LIST_HEAD (ft_lport_list)
 
 DEFINE_MUTEX (ft_lport_lock)
 
 module_param_named (debug_logging, ft_debug_logging, int, S_IRUGO|S_IWUSR)
 
 MODULE_PARM_DESC (debug_logging,"a bit mask of logging levels")
 
ssize_t ft_format_wwn (char *buf, size_t len, u64 wwn)
 
 TF_NACL_BASE_ATTR (ft, port_name, S_IRUGO|S_IWUSR)
 
 TF_NACL_BASE_ATTR (ft, node_name, S_IRUGO|S_IWUSR)
 
struct ft_node_aclft_acl_get (struct ft_tpg *tpg, struct fc_rport_priv *rdata)
 
struct se_node_aclft_tpg_alloc_fabric_acl (struct se_portal_group *se_tpg)
 
struct ft_tpgft_lport_find_tpg (struct fc_lport *lport)
 
 TF_WWN_ATTR_RO (ft, version)
 
int ft_register_configfs (void)
 
void ft_deregister_configfs (void)
 
 MODULE_DESCRIPTION ("FC TCM fabric driver "FT_VERSION)
 
 MODULE_LICENSE ("GPL")
 
 module_init (ft_init)
 
 module_exit (ft_exit)
 

Variables

struct target_fabric_configfsft_configfs
 
unsigned int ft_debug_logging
 

Function Documentation

DEFINE_MUTEX ( ft_lport_lock  )
struct ft_node_acl* ft_acl_get ( struct ft_tpg tpg,
struct fc_rport_priv rdata 
)
read

Definition at line 245 of file tfc_conf.c.

void ft_deregister_configfs ( void  )

Definition at line 598 of file tfc_conf.c.

ssize_t ft_format_wwn ( char buf,
size_t  len,
u64  wwn 
)

Definition at line 106 of file tfc_conf.c.

struct ft_tpg* ft_lport_find_tpg ( struct fc_lport lport)
read

Definition at line 377 of file tfc_conf.c.

int ft_register_configfs ( void  )

Definition at line 551 of file tfc_conf.c.

struct se_node_acl* ft_tpg_alloc_fabric_acl ( struct se_portal_group se_tpg)
read

Definition at line 270 of file tfc_conf.c.

LIST_HEAD ( ft_lport_list  )
MODULE_DESCRIPTION ( "FC TCM fabric driver FT_VERSION)
module_exit ( ft_exit  )
module_init ( ft_init  )
MODULE_LICENSE ( "GPL"  )
module_param_named ( debug_logging  ,
ft_debug_logging  ,
int  ,
S_IRUGO S_IWUSR 
)
MODULE_PARM_DESC ( debug_logging  ,
"a bit mask of logging levels"   
)
TF_NACL_BASE_ATTR ( ft  ,
port_name  ,
S_IRUGO S_IWUSR 
)
TF_NACL_BASE_ATTR ( ft  ,
node_name  ,
S_IRUGO S_IWUSR 
)
TF_WWN_ATTR_RO ( ft  ,
version   
)

Variable Documentation

Definition at line 51 of file tfc_conf.c.

unsigned int ft_debug_logging

Definition at line 56 of file tfc_conf.c.