Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
sbp_target.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/string.h>
#include <linux/configfs.h>
#include <linux/ctype.h>
#include <linux/firewire.h>
#include <linux/firewire-constants.h>
#include <scsi/scsi.h>
#include <scsi/scsi_tcq.h>
#include <target/target_core_base.h>
#include <target/target_core_backend.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 <asm/unaligned.h>
#include "sbp_target.h"

Go to the source code of this file.

Macros

#define KMSG_COMPONENT   "sbp_target"
 
#define pr_fmt(fmt)   KMSG_COMPONENT ": " fmt
 
#define SESSION_MAINTENANCE_INTERVAL   HZ
 

Functions

 TF_WWN_ATTR_RO (sbp, version)
 
 TF_TPG_BASE_ATTR (sbp, directory_id, S_IRUGO|S_IWUSR)
 
 TF_TPG_BASE_ATTR (sbp, enable, S_IRUGO|S_IWUSR)
 
 TF_TPG_ATTRIB_ATTR (sbp, mgt_orb_timeout, S_IRUGO|S_IWUSR)
 
 TF_TPG_ATTRIB_ATTR (sbp, max_reconnect_timeout, S_IRUGO|S_IWUSR)
 
 TF_TPG_ATTRIB_ATTR (sbp, max_logins_per_lun, S_IRUGO|S_IWUSR)
 
 MODULE_DESCRIPTION ("FireWire SBP fabric driver")
 
 MODULE_LICENSE ("GPL")
 
 module_init (sbp_init)
 
 module_exit (sbp_exit)
 

Macro Definition Documentation

#define KMSG_COMPONENT   "sbp_target"

Definition at line 21 of file sbp_target.c.

#define pr_fmt (   fmt)    KMSG_COMPONENT ": " fmt

Definition at line 22 of file sbp_target.c.

#define SESSION_MAINTENANCE_INTERVAL   HZ

Definition at line 63 of file sbp_target.c.

Function Documentation

MODULE_DESCRIPTION ( "FireWire SBP fabric driver )
module_exit ( sbp_exit  )
module_init ( sbp_init  )
MODULE_LICENSE ( "GPL"  )
TF_TPG_ATTRIB_ATTR ( sbp  ,
mgt_orb_timeout  ,
S_IRUGO S_IWUSR 
)
TF_TPG_ATTRIB_ATTR ( sbp  ,
max_reconnect_timeout  ,
S_IRUGO S_IWUSR 
)
TF_TPG_ATTRIB_ATTR ( sbp  ,
max_logins_per_lun  ,
S_IRUGO S_IWUSR 
)
TF_TPG_BASE_ATTR ( sbp  ,
directory_id  ,
S_IRUGO S_IWUSR 
)
TF_TPG_BASE_ATTR ( sbp  ,
enable  ,
S_IRUGO S_IWUSR 
)
TF_WWN_ATTR_RO ( sbp  ,
version   
)