Linux Kernel
3.7.1
|
Go to the source code of this file.
Enumerations | |
enum | libfc_lport_mutex_class { LPORT_MUTEX_NORMAL = 0, LPORT_MUTEX_VN_PORT = 1 } |
Functions | |
struct fc_lport * | libfc_vport_create (struct fc_vport *vport, int privsize) |
EXPORT_SYMBOL (libfc_vport_create) | |
struct fc_lport * | fc_vport_id_lookup (struct fc_lport *n_port, u32 port_id) |
EXPORT_SYMBOL (fc_vport_id_lookup) | |
void | fc_vport_setlink (struct fc_lport *vn_port) |
EXPORT_SYMBOL (fc_vport_setlink) | |
void | fc_vports_linkchange (struct fc_lport *n_port) |
EXPORT_SYMBOL | ( | libfc_vport_create | ) |
EXPORT_SYMBOL | ( | fc_vport_id_lookup | ) |
EXPORT_SYMBOL | ( | fc_vport_setlink | ) |
fc_vport_id_lookup() - find NPIV lport that matches a given fabric ID : Top level N_Port which may have multiple NPIV VN_Ports : Fabric ID to find a match for
Returns: matching lport pointer or NULL if there is no match
fc_vport_setlink() - update link and status on a VN_Port : virtual port to update
fc_vports_linkchange() - change the link state of all vports : Parent N_Port that has changed state
Locking: called with the n_port lp_mutex held