id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
fc_fcp_cmd_send(9) | NAME fc_fcp_cmd_send - Send a FCP command
SYNOPSIS int fc_fcp_cmd_send (struct fc_lport *lport , struct fc_fcp_pkt *fsp , void (*resp)(struct fc_seq *, struct fc_frame *fp, void *arg) );
ARGUMENTS lport The local port to send the command on
fsp The FCP packet the command is on
resp ... |
fc_fcp_complete_locked(9) | NAME fc_fcp_complete_locked - Complete processing of a fcp_pkt with the fcp_pkt lock held
SYNOPSIS void fc_fcp_complete_locked (struct fc_fcp_pkt *fsp );
ARGUMENTS fsp The FCP packet to be completed
DESCRIPTION This function may sleep if a timer is pending. The packet lock must be held, and the host lock mus... |
fc_fcp_ddp_done(9) | NAME fc_fcp_ddp_done - Calls a LLD's ddp_done routine to release any DDP related resources for a fcp_pkt
SYNOPSIS void fc_fcp_ddp_done (struct fc_fcp_pkt *fsp );
ARGUMENTS fsp The FCP packet that DDP had been used on
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal(9), fc_fcp_pkt_... |
fc_fcp_ddp_setup(9) | NAME fc_fcp_ddp_setup - Calls a LLD's ddp_setup routine to set up DDP context
SYNOPSIS void fc_fcp_ddp_setup (struct fc_fcp_pkt *fsp , u16 xid );
ARGUMENTS fsp The FCP packet that will manage the DDP frames
xid The XID that will be used for the DDP exchange
SEE ALSO Kernel file ./drivers/sc... |
fc_fcp_destroy(9) | NAME fc_fcp_destroy - Tear down the FCP layer for a given local port
SYNOPSIS void fc_fcp_destroy (struct fc_lport *lport );
ARGUMENTS lport The local port that no longer needs the FCP layer
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal(9), fc_fcp_pkt_alloc(9), fc_fcp_pkt_release... |
fc_fcp_error(9) | NAME fc_fcp_error - Handler for FCP layer errors
SYNOPSIS void fc_fcp_error (struct fc_fcp_pkt *fsp , struct fc_frame *fp );
ARGUMENTS fsp The FCP packet the error is on
fp The frame that has errored
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal(9), fc_fcp_pkt_... |
fc_fcp_init(9) | NAME fc_fcp_init - Initialize the FCP layer for a local port
SYNOPSIS int fc_fcp_init (struct fc_lport *lport );
ARGUMENTS lport The local port to initialize the exchange layer for
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal(9), fc_fcp_pkt_alloc(9), fc_fcp_pkt_release(9), fc_fc... |
fc_fcp_lock_pkt(9) | NAME fc_fcp_lock_pkt - Lock a fcp_pkt and increase its reference count
SYNOPSIS int fc_fcp_lock_pkt (struct fc_fcp_pkt *fsp );
ARGUMENTS fsp The FCP packet to be locked and incremented
DESCRIPTION We should only return error if we return a command to SCSI-ml before getting a response. This can happen in case... |
fc_fcp_lport_queue_ready(9) | NAME fc_fcp_lport_queue_ready - Determine if the lport and it's queue is ready
SYNOPSIS int fc_fcp_lport_queue_ready (struct fc_lport *lport );
ARGUMENTS lport The local port to be checked
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal(9), fc_fcp_pkt_alloc(9), fc_fcp_pkt_release(9... |
fc_fcp_pkt_abort(9) | NAME fc_fcp_pkt_abort - Abort a fcp_pkt
SYNOPSIS int fc_fcp_pkt_abort (struct fc_fcp_pkt *fsp );
ARGUMENTS fsp The FCP packet to abort on
DESCRIPTION Called to send an abort and then wait for abort completion
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal(9), fc_fcp_pkt_alloc(9... |
fc_fcp_pkt_alloc(9) | NAME fc_fcp_pkt_alloc - Allocate a fcp_pkt
SYNOPSIS struct fc_fcp_pkt * fc_fcp_pkt_alloc (struct fc_lport *lport , gfp_t gfp );
ARGUMENTS lport The local port that the FCP packet is for
gfp GFP flags for allocation
DESCRIPTION Return value: fcp_pkt structure or null on allocation failure.
CONT... |
fc_fcp_pkt_destroy(9) | NAME fc_fcp_pkt_destroy - Release hold on a fcp_pkt
SYNOPSIS void fc_fcp_pkt_destroy (struct fc_seq *seq , void *fsp );
ARGUMENTS seq The sequence that the FCP packet is on (required by destructor API)
fsp The FCP packet to be released
DESCRIPTION This routine is called by a destructor callba... |
fc_fcp_pkt_hold(9) | NAME fc_fcp_pkt_hold - Hold a fcp_pkt
SYNOPSIS void fc_fcp_pkt_hold (struct fc_fcp_pkt *fsp );
ARGUMENTS fsp The FCP packet to be held
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal(9), fc_fcp_pkt_alloc(9), fc_fcp_pkt_release(9), fc_fcp_pkt_destroy(9), fc_fcp_lock_pkt(... |
fc_fcp_pkt_release(9) | NAME fc_fcp_pkt_release - Release hold on a fcp_pkt
SYNOPSIS void fc_fcp_pkt_release (struct fc_fcp_pkt *fsp );
ARGUMENTS fsp The FCP packet to be released
CONTEXT Can be called from process or interrupt context, no lock is required.
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_fcp.c struct fc_fcp_inter... |
fc_fcp_pkt_send(9) | NAME fc_fcp_pkt_send - Send a fcp_pkt
SYNOPSIS int fc_fcp_pkt_send (struct fc_lport *lport , struct fc_fcp_pkt *fsp );
ARGUMENTS lport The local port to send the FCP packet on
fsp The FCP packet to send
RETURN Zero for success and -1 for failure Locks: Called without locks held
SEE ALSO Kern... |
fc_fcp_rec(9) | NAME fc_fcp_rec - Send a REC ELS request
SYNOPSIS void fc_fcp_rec (struct fc_fcp_pkt *fsp );
ARGUMENTS fsp The FCP packet to send the REC request on
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal(9), fc_fcp_pkt_alloc(9), fc_fcp_pkt_release(9), fc_fcp_pkt_hold(9), fc_fcp_pkt_dest... |
fc_fcp_rec_error(9) | NAME fc_fcp_rec_error - Handler for REC errors
SYNOPSIS void fc_fcp_rec_error (struct fc_fcp_pkt *fsp , struct fc_frame *fp );
ARGUMENTS fsp The FCP packet the error is on
fp The REC frame
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal(9), fc_fcp_pkt_alloc(9), f... |
fc_fcp_rec_resp(9) | NAME fc_fcp_rec_resp - Handler for REC ELS responses
SYNOPSIS void fc_fcp_rec_resp (struct fc_seq *seq , struct fc_frame *fp , void *arg );
ARGUMENTS seq The sequence the response is on
fp The response frame
arg The FCP packet the response is on
DESCRIPTION If the response ... |
fc_fcp_recovery(9) | NAME fc_fcp_recovery - Handler for fcp_pkt recovery
SYNOPSIS void fc_fcp_recovery (struct fc_fcp_pkt *fsp , u8 code );
ARGUMENTS fsp The FCP pkt that needs to be aborted
code The FCP status code to set
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal(9), fc_fcp_pkt_... |
fc_fcp_recv(9) | NAME fc_fcp_recv - Receive an FCP frame
SYNOPSIS void fc_fcp_recv (struct fc_seq *seq , struct fc_frame *fp , void *arg );
ARGUMENTS seq The sequence the frame is on
fp The received frame
arg The related FCP packet
CONTEXT Called from Soft IRQ context. Can not be called holdi... |
fc_fcp_recv_data(9) | NAME fc_fcp_recv_data - Handler for receiving SCSI-FCP data from a target
SYNOPSIS void fc_fcp_recv_data (struct fc_fcp_pkt *fsp , struct fc_frame *fp );
ARGUMENTS fsp The FCP packet the data is on
fp The data frame
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal... |
fc_fcp_resp(9) | NAME fc_fcp_resp - Handler for FCP responses
SYNOPSIS void fc_fcp_resp (struct fc_fcp_pkt *fsp , struct fc_frame *fp );
ARGUMENTS fsp The FCP packet the response is for
fp The response frame
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal(9), fc_fcp_pkt_alloc(9),... |
fc_fcp_retry_cmd(9) | NAME fc_fcp_retry_cmd - Retry a fcp_pkt
SYNOPSIS void fc_fcp_retry_cmd (struct fc_fcp_pkt *fsp , int status_code );
ARGUMENTS fsp The FCP packet to be retried
status_code The FCP status code to set
DESCRIPTION Sets the status code to be FC_ERROR and then calls fc_fcp_complete_locked which in turn cal... |
fc_fcp_send_abort(9) | NAME fc_fcp_send_abort - Send an abort for exchanges associated with a fcp_pkt
SYNOPSIS int fc_fcp_send_abort (struct fc_fcp_pkt *fsp );
ARGUMENTS fsp The FCP packet to abort exchanges on
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal(9), fc_fcp_pkt_alloc(9), fc_fcp_pkt_release(... |
fc_fcp_send_data(9) | NAME fc_fcp_send_data - Send SCSI data to a target
SYNOPSIS int fc_fcp_send_data (struct fc_fcp_pkt *fsp , struct fc_seq *seq , size_t offset , size_t seq_blen );
ARGUMENTS fsp The FCP packet the data is on
seq The sequence the data is to be sent on
offset The starting offset for ... |
fc_fcp_srr(9) | NAME fc_fcp_srr - Send a SRR request (Sequence Retransmission Request)
SYNOPSIS void fc_fcp_srr (struct fc_fcp_pkt *fsp , enum fc_rctl r_ctl , u32 offset );
ARGUMENTS fsp The FCP packet the SRR is to be sent on
r_ctl The R_CTL field for the SRR request
offset The SRR relative offset... |
fc_fcp_srr_error(9) | NAME fc_fcp_srr_error - Handler for SRR errors
SYNOPSIS void fc_fcp_srr_error (struct fc_fcp_pkt *fsp , struct fc_frame *fp );
ARGUMENTS fsp The FCP packet that the SRR error is on
fp The SRR frame
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal(9), fc_fcp_pkt_al... |
fc_fcp_srr_resp(9) | NAME fc_fcp_srr_resp - Handler for SRR response
SYNOPSIS void fc_fcp_srr_resp (struct fc_seq *seq , struct fc_frame *fp , void *arg );
ARGUMENTS seq The sequence the SRR is on
fp The SRR frame
arg The FCP packet the SRR is on
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_fcp... |
fc_fcp_timeout(9) | NAME fc_fcp_timeout - Handler for fcp_pkt timeouts
SYNOPSIS void fc_fcp_timeout (struct timer_list *t );
ARGUMENTS t Timer context used to fetch the FSP packet
DESCRIPTION If REC is supported then just issue it and return. The REC exchange will complete or time out and recovery can continue at that point. ... |
fc_fcp_timer_set(9) | NAME fc_fcp_timer_set - Start a timer for a fcp_pkt
SYNOPSIS void fc_fcp_timer_set (struct fc_fcp_pkt *fsp , unsigned long delay );
ARGUMENTS fsp The FCP packet to start a timer for
delay The timeout period in jiffies
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal(9... |
fc_fcp_unlock_pkt(9) | NAME fc_fcp_unlock_pkt - Release a fcp_pkt's lock and decrement its reference count
SYNOPSIS void fc_fcp_unlock_pkt (struct fc_fcp_pkt *fsp );
ARGUMENTS fsp The FCP packet to be unlocked and decremented
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal(9), fc_fcp_pkt_alloc(9), fc_f... |
fc_fdisc_fill(9) | NAME fc_fdisc_fill - Fill in a fdisc request frame.
SYNOPSIS void fc_fdisc_fill (struct fc_lport *lport , struct fc_frame *fp );
ARGUMENTS lport -- undescribed --
fp -- undescribed --
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_encode.h fc_adisc_fill(9), fc_ct_hdr_fill(9), fc_ct_ns_fill(9... |
fc_fill_hdr(9) | NAME fc_fill_hdr - fill FC header fields based on request
SYNOPSIS void fc_fill_hdr (struct fc_frame *fp , const struct fc_frame *in_fp , enum fc_rctl r_ctl , u32 f_ctl , u16 seq_cnt , u32 parm_offset );
ARGUMENTS fp reply frame containing header to be filled in
in_fp request frame containing h... |
fc_fill_reply_hdr(9) | NAME fc_fill_reply_hdr - fill FC reply header fields based on request
SYNOPSIS void fc_fill_reply_hdr (struct fc_frame *fp , const struct fc_frame *in_fp , enum fc_rctl r_ctl , u32 parm_offset );
ARGUMENTS fp reply frame containing header to be filled in
in_fp request frame containing header to... |
fc_find_ema(9) | NAME fc_find_ema - Lookup and return appropriate Exchange Manager Anchor depending upon 'xid'.
SYNOPSIS struct fc_exch_mgr_anchor * fc_find_ema (u32 f_ctl , struct fc_lport *lport , struct fc_frame_header *fh );
ARGUMENTS f_ctl f_ctl
lport The local port the frame was received on
fh ... |
fc_find_rport_by_wwpn(9) | NAME fc_find_rport_by_wwpn - find the fc_rport pointer for a given wwpn
SYNOPSIS struct fc_rport * fc_find_rport_by_wwpn (struct Scsi_Host *shost , u64 wwpn );
ARGUMENTS shost host the fc_rport is associated with
wwpn wwpn of the fc_rport device
NOTES This routine assumes no locks are held on en... |
fc_flogi_fill(9) | NAME fc_flogi_fill - Fill in a flogi request frame.
SYNOPSIS void fc_flogi_fill (struct fc_lport *lport , struct fc_frame *fp );
ARGUMENTS lport -- undescribed --
fp -- undescribed --
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_encode.h fc_adisc_fill(9), fc_ct_hdr_fill(9), fc_ct_ns_fill(9),... |
fc_flush_devloss(9) | NAME fc_flush_devloss - Flush a fc_host's devloss workqueue.
SYNOPSIS void fc_flush_devloss (struct Scsi_Host *shost , struct fc_rport *rport );
ARGUMENTS shost Pointer to Scsi_Host bound to fc_host.
rport rport associated with the devloss work
SEE ALSO Kernel file ./drivers/scsi/scsi_transport... |
fc_flush_work(9) | NAME fc_flush_work - Flush a fc_host's workqueue.
SYNOPSIS void fc_flush_work (struct Scsi_Host *shost );
ARGUMENTS shost Pointer to Scsi_Host bound to fc_host.
SEE ALSO Kernel file ./drivers/scsi/scsi_transport_fc.c fc_get_event_number(9), fc_host_post_fc_event(9), fc_host_post_event(9), fc_host_post_ven... |
fc_frame_drop(9) | NAME fc_frame_drop - Dummy frame handler
SYNOPSIS int fc_frame_drop (struct fc_lport *lport , struct fc_frame *fp );
ARGUMENTS lport The local port the frame was received on
fp The received frame
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport.c struct fc_bsg_info(9), fc_lport_rpor... |
fc_get_event_number(9) | NAME fc_get_event_number - Obtain the next sequential FC event number
SYNOPSIS u32 fc_get_event_number (void );
ARGUMENTS void no arguments
NOTES We could have inlined this, but it would have required fc_event_seq to be exposed. For now, live with the subroutine call. Atomic used to avoid lock/unlock...
SEE... |
fc_get_host_port_state(9) | NAME fc_get_host_port_state - Return the port state of the given Scsi_Host
SYNOPSIS void fc_get_host_port_state (struct Scsi_Host *shost );
ARGUMENTS shost The SCSI host whose port state is to be determined
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport.c struct fc_bsg_info(9), fc_frame_drop(9... |
fc_get_host_speed(9) | NAME fc_get_host_speed - Return the speed of the given Scsi_Host
SYNOPSIS void fc_get_host_speed (struct Scsi_Host *shost );
ARGUMENTS shost The SCSI host whose port speed is to be determined
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport.c struct fc_bsg_info(9), fc_frame_drop(9), fc_lport_rpor... |
fc_get_host_stats(9) | NAME fc_get_host_stats - Return the Scsi_Host's statistics
SYNOPSIS struct fc_host_statistics * fc_get_host_stats (struct Scsi_Host *shost );
ARGUMENTS shost The SCSI host whose statistics are to be returned
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport.c struct fc_bsg_info(9), fc_frame_drop(9),... |
fc_host_fpin_rcv(9) | NAME fc_host_fpin_rcv - routine to process a received FPIN.
SYNOPSIS void fc_host_fpin_rcv (struct Scsi_Host *shost , u32 fpin_len , char *fpin_buf , u8 event_acknowledge );
ARGUMENTS shost host the FPIN was received on
fpin_len length of FPIN payload, in bytes
fpin_buf pointer to FPIN pay... |
fc_host_post_event(9) | NAME fc_host_post_event - called to post an even on an fc_host.
SYNOPSIS void fc_host_post_event (struct Scsi_Host *shost , u32 event_number , enum fc_host_event_code event_code , u32 event_data );
ARGUMENTS shost host the event occurred on
event_number
fc event number obtained from g... |
fc_host_post_fc_event(9) | NAME fc_host_post_fc_event - routine to do the work of posting an event on an fc_host.
SYNOPSIS void fc_host_post_fc_event (struct Scsi_Host *shost , u32 event_number , enum fc_host_event_code event_code , u32 data_len , char *data_buf , u64 vendor_id );
ARGUMENTS shost host the event occurred on
event_... |
fc_host_post_vendor_event(9) | NAME fc_host_post_vendor_event - called to post a vendor unique event on an fc_host
SYNOPSIS void fc_host_post_vendor_event (struct Scsi_Host *shost , u32 event_number , u32 data_len , char * data_buf , u64 vendor_id );
ARGUMENTS shost host the event occurred on
event_number
fc event ... |
fc_invoke_resp(9) | NAME fc_invoke_resp - invoke ep->resp()
SYNOPSIS bool fc_invoke_resp (struct fc_exch *ep , struct fc_seq *sp , struct fc_frame *fp );
ARGUMENTS ep The exchange to be operated on
sp The sequence pointer to pass through to ->resp
fp The frame pointer to pass through to ->resp
... |
fc_io_compl(9) | NAME fc_io_compl - Handle responses for completed commands
SYNOPSIS void fc_io_compl (struct fc_fcp_pkt *fsp );
ARGUMENTS fsp The FCP packet that is complete
DESCRIPTION Translates fcp_pkt errors to a Linux SCSI errors. The fcp packet lock must be held when calling.
SEE ALSO Kernel file ./drivers/scsi/li... |
fc_linkdown(9) | NAME fc_linkdown - Handler for transport linkdown events
SYNOPSIS void fc_linkdown (struct fc_lport *lport );
ARGUMENTS lport The local port whose link is down
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport.c struct fc_bsg_info(9), fc_frame_drop(9), fc_lport_rport_callback(9), fc_lport_state(... |
fc_linkup(9) | NAME fc_linkup - Handler for transport linkup events
SYNOPSIS void fc_linkup (struct fc_lport *lport );
ARGUMENTS lport The local port whose link is up
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport.c struct fc_bsg_info(9), fc_frame_drop(9), fc_lport_rport_callback(9), fc_lport_state(9), fc... |
fc_logo_fill(9) | NAME fc_logo_fill - Fill in a logo request frame.
SYNOPSIS void fc_logo_fill (struct fc_lport *lport , struct fc_frame *fp );
ARGUMENTS lport -- undescribed --
fp -- undescribed --
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_encode.h fc_adisc_fill(9), fc_ct_hdr_fill(9), fc_ct_ns_fill(9), f... |
fc_lport_add_fc4_type(9) | NAME fc_lport_add_fc4_type - Add a supported FC-4 type to a local port
SYNOPSIS void fc_lport_add_fc4_type (struct fc_lport *lport , enum fc_fh_type type );
ARGUMENTS lport The local port to add a new FC-4 type to
type The new FC-4 type
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport.c ... |
fc_lport_bsg_request(9) | NAME fc_lport_bsg_request - The common entry point for sending FC Passthrough requests
SYNOPSIS int fc_lport_bsg_request (struct bsg_job *job );
ARGUMENTS job The BSG passthrough job
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport.c struct fc_bsg_info(9), fc_frame_drop(9), fc_lport_rport_callb... |
fc_lport_bsg_resp(9) | NAME fc_lport_bsg_resp - The common response handler for FC Passthrough requests
SYNOPSIS void fc_lport_bsg_resp (struct fc_seq *sp , struct fc_frame *fp , void *info_arg );
ARGUMENTS sp The sequence for the FC Passthrough response
fp The response frame
info_arg The BSG info that ... |
fc_lport_config(9) | NAME fc_lport_config - Configure a fc_lport
SYNOPSIS int fc_lport_config (struct fc_lport *lport );
ARGUMENTS lport The local port to be configured
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport.c struct fc_bsg_info(9), fc_frame_drop(9), fc_lport_rport_callback(9), fc_lport_state(9), fc_lpo... |
fc_lport_ct_request(9) | NAME fc_lport_ct_request - Send CT Passthrough request
SYNOPSIS int fc_lport_ct_request (struct bsg_job *job , struct fc_lport *lport , u32 did , u32 tov );
ARGUMENTS job The BSG Passthrough job
lport The local port sending the request
did The destination FC-ID
tov ... |
fc_lport_destroy(9) | NAME fc_lport_destroy - Unregister a fc_lport
SYNOPSIS int fc_lport_destroy (struct fc_lport *lport );
ARGUMENTS lport The local port to unregister
NOTE exit routine for fc_lport instance clean-up all the allocated memory and free up other system resources.
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lpo... |
fc_lport_disc_callback(9) | NAME fc_lport_disc_callback - Callback for discovery events
SYNOPSIS void fc_lport_disc_callback (struct fc_lport *lport , enum fc_disc_event event );
ARGUMENTS lport The local port receiving the event
event The discovery event
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport.c struct f... |
fc_lport_els_request(9) | NAME fc_lport_els_request - Send ELS passthrough request
SYNOPSIS int fc_lport_els_request (struct bsg_job *job , struct fc_lport *lport , u32 did , u32 tov );
ARGUMENTS job The BSG Passthrough job
lport The local port sending the request
did The destination port id
tov ... |
fc_lport_enter_disabled(9) | NAME fc_lport_enter_disabled - Disable the local port
SYNOPSIS void fc_lport_enter_disabled (struct fc_lport *lport );
ARGUMENTS lport The local port to be reset
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport.c struct fc_bsg_info(9), fc_frame_drop(9), fc_lport_rport_callback(9), fc_lport_stat... |
fc_lport_enter_dns(9) | NAME fc_lport_enter_dns - Create a fc_rport for the name server
SYNOPSIS void fc_lport_enter_dns (struct fc_lport *lport );
ARGUMENTS lport The local port requesting a remote port for the name server
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport.c struct fc_bsg_info(9), fc_frame_drop(9), fc_lp... |
fc_lport_enter_fdmi(9) | NAME fc_lport_enter_fdmi - Create a fc_rport for the management server
SYNOPSIS void fc_lport_enter_fdmi (struct fc_lport *lport );
ARGUMENTS lport The local port requesting a remote port for the management server
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport.c struct fc_bsg_info(9), fc_frame_dr... |
fc_lport_enter_flogi(9) | NAME fc_lport_enter_flogi - Send a FLOGI request to the fabric manager
SYNOPSIS void fc_lport_enter_flogi (struct fc_lport *lport );
ARGUMENTS lport Fibre Channel local port to be logged in to the fabric
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport.c struct fc_bsg_info(9), fc_frame_drop(9), f... |
fc_lport_enter_logo(9) | NAME fc_lport_enter_logo - Logout of the fabric
SYNOPSIS void fc_lport_enter_logo (struct fc_lport *lport );
ARGUMENTS lport The local port to be logged out
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport.c struct fc_bsg_info(9), fc_frame_drop(9), fc_lport_rport_callback(9), fc_lport_state(9),... |
fc_lport_enter_ms(9) | NAME fc_lport_enter_ms - management server commands
SYNOPSIS void fc_lport_enter_ms (struct fc_lport *lport , enum fc_lport_state state );
ARGUMENTS lport Fibre Channel local port to register
state Local port state
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport.c struct fc_bsg_info(9)... |
fc_lport_enter_ns(9) | NAME fc_lport_enter_ns - register some object with the name server
SYNOPSIS void fc_lport_enter_ns (struct fc_lport *lport , enum fc_lport_state state );
ARGUMENTS lport Fibre Channel local port to register
state Local port state
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport.c struct ... |
fc_lport_enter_ready(9) | NAME fc_lport_enter_ready - Enter the ready state and start discovery
SYNOPSIS void fc_lport_enter_ready (struct fc_lport *lport );
ARGUMENTS lport The local port that is ready
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport.c struct fc_bsg_info(9), fc_frame_drop(9), fc_lport_rport_callback(9), fc_lp... |
fc_lport_enter_reset(9) | NAME fc_lport_enter_reset - Reset the local port
SYNOPSIS void fc_lport_enter_reset (struct fc_lport *lport );
ARGUMENTS lport The local port to be reset
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport.c struct fc_bsg_info(9), fc_frame_drop(9), fc_lport_rport_callback(9), fc_lport_state(9), ... |
fc_lport_enter_scr(9) | NAME fc_lport_enter_scr - Send a SCR (State Change Register) request
SYNOPSIS void fc_lport_enter_scr (struct fc_lport *lport );
ARGUMENTS lport The local port to register for state changes
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport.c struct fc_bsg_info(9), fc_frame_drop(9), fc_lport_rport_... |
fc_lport_error(9) | NAME fc_lport_error - Handler for any errors
SYNOPSIS void fc_lport_error (struct fc_lport *lport , struct fc_frame *fp );
ARGUMENTS lport The local port that the error was on
fp The error code encoded in a frame pointer
DESCRIPTION If the error was caused by a resource allocation failure then... |
fc_lport_flogi_fill(9) | NAME fc_lport_flogi_fill - Fill in FLOGI command for request
SYNOPSIS void fc_lport_flogi_fill (struct fc_lport *lport , struct fc_els_flogi *flogi , unsigned int op );
ARGUMENTS lport The local port the FLOGI is for
flogi The FLOGI command
op The opcode
SEE ALSO Kernel file ... |
fc_lport_flogi_resp(9) | NAME fc_lport_flogi_resp - Handle response to FLOGI request
SYNOPSIS void fc_lport_flogi_resp (struct fc_seq *sp , struct fc_frame *fp , void *lp_arg );
ARGUMENTS sp The sequence that the FLOGI was on
fp The FLOGI response frame
lp_arg The lport port that received the FLOGI resp... |
fc_lport_free_stats(9) | NAME fc_lport_free_stats - Free memory for a local port's statistics
SYNOPSIS void fc_lport_free_stats (struct fc_lport *lport );
ARGUMENTS lport The local port whose statistics are to be freed
SEE ALSO Kernel file ./include/scsi/libfc.h enum fc_lport_state(9), enum fc_rport_state(9), struct fc_disc_port(9... |
fc_lport_init(9) | NAME fc_lport_init - Initialize the lport layer for a local port
SYNOPSIS int fc_lport_init (struct fc_lport *lport );
ARGUMENTS lport The local port to initialize the exchange layer for
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport.c struct fc_bsg_info(9), fc_frame_drop(9), fc_lport_rport_cal... |
fc_lport_init_stats(9) | NAME fc_lport_init_stats - Allocate per-CPU statistics for a local port
SYNOPSIS int fc_lport_init_stats (struct fc_lport *lport );
ARGUMENTS lport The local port whose statistics are to be initialized
RETURN 0 on success, -ENOMEM on failure
SEE ALSO Kernel file ./include/scsi/libfc.h enum fc_lport_state(... |
fc_lport_logo_resp(9) | NAME fc_lport_logo_resp - Handle response to LOGO request
SYNOPSIS void fc_lport_logo_resp (struct fc_seq *sp , struct fc_frame *fp , void *lp_arg );
ARGUMENTS sp The sequence that the LOGO was on
fp The LOGO frame
lp_arg The lport port that received the LOGO request
DESCRIPTIO... |
fc_lport_ms_resp(9) | NAME fc_lport_ms_resp - Handle response to a management server exchange
SYNOPSIS void fc_lport_ms_resp (struct fc_seq *sp , struct fc_frame *fp , void *lp_arg );
ARGUMENTS sp current sequence in exchange
fp response frame
lp_arg Fibre Channel host port instance
DESCRIPTION Lock... |
fc_lport_ns_resp(9) | NAME fc_lport_ns_resp - Handle response to a name server registration exchange
SYNOPSIS void fc_lport_ns_resp (struct fc_seq *sp , struct fc_frame *fp , void *lp_arg );
ARGUMENTS sp current sequence in exchange
fp response frame
lp_arg Fibre Channel host port instance
DESCRIPTI... |
fc_lport_ptp_setup(9) | NAME fc_lport_ptp_setup - Create an rport for point-to-point mode
SYNOPSIS void fc_lport_ptp_setup (struct fc_lport *lport , u32 remote_fid , u64 remote_wwpn , u64 remote_wwnn );
ARGUMENTS lport The lport to attach the ptp rport to
remote_fid The FID of the ptp rport
remote_wwpn The WWPN of the... |
fc_lport_recv(9) | NAME fc_lport_recv - The generic lport request handler
SYNOPSIS void fc_lport_recv (struct fc_lport *lport , struct fc_frame *fp );
ARGUMENTS lport The lport that received the request
fp The frame the request is in
DESCRIPTION Locking Note: This function should not be called with the lport loc... |
fc_lport_recv_echo_req(9) | NAME fc_lport_recv_echo_req - Handle received ECHO request
SYNOPSIS void fc_lport_recv_echo_req (struct fc_lport *lport , struct fc_frame *in_fp );
ARGUMENTS lport The local port receiving the ECHO
in_fp ECHO request frame
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport.c struct fc_bsg_inf... |
fc_lport_recv_els_req(9) | NAME fc_lport_recv_els_req - The generic lport ELS request handler
SYNOPSIS void fc_lport_recv_els_req (struct fc_lport *lport , struct fc_frame *fp );
ARGUMENTS lport The local port that received the request
fp The request frame
DESCRIPTION This function will see if the lport handles the requ... |
fc_lport_recv_flogi_req(9) | NAME fc_lport_recv_flogi_req - Receive a FLOGI request
SYNOPSIS void fc_lport_recv_flogi_req (struct fc_lport *lport , struct fc_frame *rx_fp );
ARGUMENTS lport The local port that received the request
rx_fp The FLOGI frame
DESCRIPTION A received FLOGI request indicates a point-to-point connectio... |
fc_lport_recv_logo_req(9) | NAME fc_lport_recv_logo_req - Handle received fabric LOGO request
SYNOPSIS void fc_lport_recv_logo_req (struct fc_lport *lport , struct fc_frame *fp );
ARGUMENTS lport The local port receiving the LOGO
fp The LOGO request frame
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport.c struct ... |
fc_lport_recv_rlir_req(9) | NAME fc_lport_recv_rlir_req - Handle received Registered Link Incident Report.
SYNOPSIS void fc_lport_recv_rlir_req (struct fc_lport *lport , struct fc_frame *fp );
ARGUMENTS lport Fibre Channel local port receiving the RLIR
fp The RLIR request frame
SEE ALSO Kernel file ./drivers/scsi/lib... |
fc_lport_recv_rnid_req(9) | NAME fc_lport_recv_rnid_req - Handle received Request Node ID data request
SYNOPSIS void fc_lport_recv_rnid_req (struct fc_lport *lport , struct fc_frame *in_fp );
ARGUMENTS lport The local port receiving the RNID
in_fp The RNID request frame
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport... |
fc_lport_reset(9) | NAME fc_lport_reset - Reset a local port
SYNOPSIS int fc_lport_reset (struct fc_lport *lport );
ARGUMENTS lport The local port which should be reset
DESCRIPTION Locking Note: This functions should not be called with the lport lock held.
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport.c struct fc_bs... |
fc_lport_reset_locked(9) | NAME fc_lport_reset_locked - Reset the local port w/ the lport lock held
SYNOPSIS void fc_lport_reset_locked (struct fc_lport *lport );
ARGUMENTS lport The local port to be reset
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport.c struct fc_bsg_info(9), fc_frame_drop(9), fc_lport_rport_callback(9)... |
fc_lport_rport_callback(9) | NAME fc_lport_rport_callback - Event handler for rport events
SYNOPSIS void fc_lport_rport_callback (struct fc_lport *lport , struct fc_rport_priv *rdata , enum fc_rport_event event );
ARGUMENTS lport The lport which is receiving the event
rdata private remote port data
event The eve... |
fc_lport_scr_resp(9) | NAME fc_lport_scr_resp - Handle response to State Change Register (SCR) request
SYNOPSIS void fc_lport_scr_resp (struct fc_seq *sp , struct fc_frame *fp , void *lp_arg );
ARGUMENTS sp current sequence in SCR exchange
fp response frame
lp_arg Fibre Channel lport port instance tha... |
fc_lport_set_local_id(9) | NAME fc_lport_set_local_id - set the local port Port ID for point-to-multipoint
SYNOPSIS void fc_lport_set_local_id (struct fc_lport *lport , u32 port_id );
ARGUMENTS lport The local port which will have its Port ID set.
port_id The new port ID.
DESCRIPTION Called by the lower-level driver when tra... |
fc_lport_set_port_id(9) | NAME fc_lport_set_port_id - set the local port Port ID
SYNOPSIS void fc_lport_set_port_id (struct fc_lport *lport , u32 port_id , struct fc_frame *fp );
ARGUMENTS lport The local port which will have its Port ID set.
port_id The new port ID.
fp The frame containing the incoming requ... |
fc_lport_state(9) | NAME fc_lport_state - Return a string which represents the lport's state
SYNOPSIS const char * fc_lport_state (struct fc_lport *lport );
ARGUMENTS lport The lport whose state is to converted to a string
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport.c struct fc_bsg_info(9), fc_frame_drop(9), fc_... |
fc_lport_state_enter(9) | NAME fc_lport_state_enter - Change a local port's state
SYNOPSIS void fc_lport_state_enter (struct fc_lport *lport , enum fc_lport_state state );
ARGUMENTS lport The local port whose state is to change
state The new state
SEE ALSO Kernel file ./include/scsi/libfc.h enum fc_lport_state(9), enu... |
fc_lport_test_ready(9) | NAME fc_lport_test_ready - Determine if a local port is in the READY state
SYNOPSIS int fc_lport_test_ready (struct fc_lport *lport );
ARGUMENTS lport The local port to test
RETURN true if local port is in the READY state, false otherwise
SEE ALSO Kernel file ./include/scsi/libfc.h enum fc_lport_state(9),... |
fc_lport_timeout(9) | NAME fc_lport_timeout - Handler for the retry_work timer
SYNOPSIS void fc_lport_timeout (struct work_struct *work );
ARGUMENTS work The work struct of the local port
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_lport.c struct fc_bsg_info(9), fc_frame_drop(9), fc_lport_rport_callback(9), fc_lport... |
fc_lun_reset(9) | NAME fc_lun_reset - Send a LUN RESET command to a device and wait for the reply
SYNOPSIS int fc_lun_reset (struct fc_lport *lport , struct fc_fcp_pkt *fsp , unsigned int id , unsigned int lun );
ARGUMENTS lport The local port to sent the command on
fsp The FCP packet that identifies the LUN to b... |
fc_lun_reset_send(9) | NAME fc_lun_reset_send - Send LUN reset command
SYNOPSIS void fc_lun_reset_send (struct timer_list *t );
ARGUMENTS t Timer context used to fetch the FSP packet
SEE ALSO Kernel file ./drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal(9), fc_fcp_pkt_alloc(9), fc_fcp_pkt_release(9), fc_fcp_pkt_hold(9), fc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.