Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
fc_rport.c File Reference
#include <linux/kernel.h>
#include <linux/spinlock.h>
#include <linux/interrupt.h>
#include <linux/slab.h>
#include <linux/rcupdate.h>
#include <linux/timer.h>
#include <linux/workqueue.h>
#include <linux/export.h>
#include <asm/unaligned.h>
#include <scsi/libfc.h>
#include <scsi/fc_encode.h>
#include "fc_libfc.h"

Go to the source code of this file.

Functions

void fc_set_rport_loss_tmo (struct fc_rport *rport, u32 timeout)
 
 EXPORT_SYMBOL (fc_set_rport_loss_tmo)
 
int fc_rport_init (struct fc_lport *lport)
 
 EXPORT_SYMBOL (fc_rport_init)
 
int fc_setup_rport (void)
 
void fc_destroy_rport (void)
 
void fc_rport_terminate_io (struct fc_rport *rport)
 
 EXPORT_SYMBOL (fc_rport_terminate_io)
 

Variables

struct fc4_prov fc_rport_fcp_init
 
struct fc4_prov fc_rport_t0_prov
 

Function Documentation

EXPORT_SYMBOL ( fc_set_rport_loss_tmo  )
EXPORT_SYMBOL ( fc_rport_init  )
EXPORT_SYMBOL ( fc_rport_terminate_io  )
void fc_destroy_rport ( void  )

fc_destroy_rport() - Destroy the rport_event_queue

Definition at line 2025 of file fc_rport.c.

int fc_rport_init ( struct fc_lport lport)

fc_rport_init() - Initialize the remote port layer for a local port : The local port to initialize the remote port layer for

Definition at line 1911 of file fc_rport.c.

void fc_rport_terminate_io ( struct fc_rport rport)

fc_rport_terminate_io() - Stop all outstanding I/O on a remote port : The remote port whose I/O should be terminated

Definition at line 2034 of file fc_rport.c.

void fc_set_rport_loss_tmo ( struct fc_rport rport,
u32  timeout 
)

fc_set_rport_loss_tmo() - Set the remote port loss timeout : The remote port that gets a new timeout value : The new timeout value (in seconds)

Definition at line 187 of file fc_rport.c.

int fc_setup_rport ( void  )

fc_setup_rport() - Initialize the rport_event_queue

Definition at line 2014 of file fc_rport.c.

Variable Documentation

struct fc4_prov fc_rport_fcp_init
Initial value:
= {
.prli = fc_rport_fcp_prli,
}

Definition at line 1981 of file fc_rport.c.

struct fc4_prov fc_rport_t0_prov
Initial value:
= {
.prli = fc_rport_t0_prli,
}

Definition at line 2007 of file fc_rport.c.