Searched refs:n_port (Results 1 - 6 of 6) sorted by relevance
/linux-master/drivers/scsi/libfc/ |
H A D | fc_npiv.c | 24 struct fc_lport *n_port = shost_priv(shost); local 34 mutex_lock(&n_port->lp_mutex); 35 list_add_tail(&vn_port->list, &n_port->vports); 36 mutex_unlock(&n_port->lp_mutex); 44 * @n_port: Top level N_Port which may have multiple NPIV VN_Ports 49 struct fc_lport *fc_vport_id_lookup(struct fc_lport *n_port, u32 port_id) argument 54 if (n_port->port_id == port_id) 55 return n_port; 58 return n_port; /* for point-to-point */ 60 mutex_lock(&n_port 91 __fc_vport_setlink(struct fc_lport *n_port, struct fc_lport *vn_port) argument 121 struct fc_lport *n_port = shost_priv(shost); local 137 fc_vports_linkchange(struct fc_lport *n_port) argument [all...] |
/linux-master/net/key/ |
H A D | af_key.c | 1000 struct sadb_x_nat_t_port *n_port; local 1012 n_port = skb_put(skb, sizeof(*n_port)); 1013 n_port->sadb_x_nat_t_port_len = sizeof(*n_port)/sizeof(uint64_t); 1014 n_port->sadb_x_nat_t_port_exttype = SADB_X_EXT_NAT_T_SPORT; 1015 n_port->sadb_x_nat_t_port_port = natt->encap_sport; 1016 n_port->sadb_x_nat_t_port_reserved = 0; 1019 n_port = skb_put(skb, sizeof(*n_port)); 1275 const struct sadb_x_nat_t_port *n_port = local 1280 const struct sadb_x_nat_t_port *n_port = local 3359 struct sadb_x_nat_t_port *n_port; local [all...] |
/linux-master/drivers/scsi/fcoe/ |
H A D | fcoe_transport.c | 252 struct fc_lport *n_port = shost_priv(shost); local 257 mutex_lock(&n_port->lp_mutex); 261 if (!memcmp(&n_port->wwpn, &vport->port_name, sizeof(u64))) { 269 list_for_each_entry(vn_port, &n_port->vports, list) { 278 mutex_unlock(&n_port->lp_mutex);
|
H A D | fcoe.c | 1127 struct fc_lport *lport, *n_port; local 1220 n_port = shost_priv(shost); 1221 rc = fc_exch_mgr_list_clone(n_port, lport); 2646 struct fc_lport *n_port = shost_priv(shost); local 2647 struct fcoe_port *port = lport_priv(n_port); 2694 struct fc_lport *n_port = shost_priv(shost); local 2697 mutex_lock(&n_port->lp_mutex); 2699 mutex_unlock(&n_port->lp_mutex);
|
/linux-master/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_fcoe.c | 1120 struct fc_lport *n_port = shost_priv(shost); local 1121 struct fcoe_port *port = lport_priv(n_port); 1185 struct fc_lport *n_port = shost_priv(shost); local 1192 mutex_lock(&n_port->lp_mutex); 1193 list_for_each_entry(v_port, &n_port->vports, list) 1200 mutex_unlock(&n_port->lp_mutex); 1204 mutex_unlock(&n_port->lp_mutex); 1487 struct fc_lport *lport, *n_port; local 1559 n_port = shost_priv(shost); 1560 rc = fc_exch_mgr_list_clone(n_port, lpor [all...] |
/linux-master/drivers/scsi/qedf/ |
H A D | qedf_main.c | 1822 struct fc_lport *n_port = shost_priv(shost); local 1824 struct qedf_ctx *base_qedf = lport_priv(n_port); 1910 n_port = shost_priv(shost); 1911 fc_exch_mgr_list_clone(n_port, vn_port); 1936 fc_host_supported_speeds(vn_port->host) = n_port->link_supported_speeds; 1939 vn_port->link_speed = n_port->link_speed; 1945 fc_host_maxframe_size(vn_port->host) = n_port->mfs; 1964 struct fc_lport *n_port = shost_priv(shost); local 1976 mutex_lock(&n_port->lp_mutex); 1978 mutex_unlock(&n_port [all...] |
Completed in 263 milliseconds