Searched refs:n_port (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/scsi/libfc/ |
A D | fc_npiv.c | 34 mutex_lock(&n_port->lp_mutex); in libfc_vport_create() 36 mutex_unlock(&n_port->lp_mutex); in libfc_vport_create() 54 if (n_port->port_id == port_id) in fc_vport_id_lookup() 55 return n_port; in fc_vport_id_lookup() 60 mutex_lock(&n_port->lp_mutex); in fc_vport_id_lookup() 67 mutex_unlock(&n_port->lp_mutex); in fc_vport_id_lookup() 100 if (n_port->npiv_enabled) { in __fc_vport_setlink() 123 mutex_lock(&n_port->lp_mutex); in fc_vport_setlink() 125 __fc_vport_setlink(n_port, vn_port); in fc_vport_setlink() 127 mutex_unlock(&n_port->lp_mutex); in fc_vport_setlink() [all …]
|
/linux/net/key/ |
A D | af_key.c | 1000 struct sadb_x_nat_t_port *n_port; in __pfkey_xfrm_state2msg() local 1012 n_port = skb_put(skb, sizeof(*n_port)); in __pfkey_xfrm_state2msg() 1013 n_port->sadb_x_nat_t_port_len = sizeof(*n_port)/sizeof(uint64_t); in __pfkey_xfrm_state2msg() 1016 n_port->sadb_x_nat_t_port_reserved = 0; in __pfkey_xfrm_state2msg() 1019 n_port = skb_put(skb, sizeof(*n_port)); in __pfkey_xfrm_state2msg() 1020 n_port->sadb_x_nat_t_port_len = sizeof(*n_port)/sizeof(uint64_t); in __pfkey_xfrm_state2msg() 3337 struct sadb_x_nat_t_port *n_port; in pfkey_send_new_mapping() local 3408 n_port = skb_put(skb, sizeof(*n_port)); in pfkey_send_new_mapping() 3409 n_port->sadb_x_nat_t_port_len = sizeof(*n_port)/sizeof(uint64_t); in pfkey_send_new_mapping() 3430 n_port = skb_put(skb, sizeof(*n_port)); in pfkey_send_new_mapping() [all …]
|
/linux/drivers/scsi/fcoe/ |
A D | fcoe_transport.c | 252 struct fc_lport *n_port = shost_priv(shost); in fcoe_validate_vport_create() local 257 mutex_lock(&n_port->lp_mutex); in fcoe_validate_vport_create() 261 if (!memcmp(&n_port->wwpn, &vport->port_name, sizeof(u64))) { in fcoe_validate_vport_create() 269 list_for_each_entry(vn_port, &n_port->vports, list) { in fcoe_validate_vport_create() 278 mutex_unlock(&n_port->lp_mutex); in fcoe_validate_vport_create()
|
A D | fcoe.c | 1126 struct fc_lport *lport, *n_port; in fcoe_if_create() local 1219 n_port = shost_priv(shost); in fcoe_if_create() 1220 rc = fc_exch_mgr_list_clone(n_port, lport); in fcoe_if_create() 2655 struct fc_lport *n_port = shost_priv(shost); in fcoe_vport_create() local 2656 struct fcoe_port *port = lport_priv(n_port); in fcoe_vport_create() 2703 struct fc_lport *n_port = shost_priv(shost); in fcoe_vport_destroy() local 2706 mutex_lock(&n_port->lp_mutex); in fcoe_vport_destroy() 2708 mutex_unlock(&n_port->lp_mutex); in fcoe_vport_destroy()
|
/linux/drivers/scsi/bnx2fc/ |
A D | bnx2fc_fcoe.c | 1131 struct fc_lport *n_port = shost_priv(shost); in bnx2fc_vport_create() local 1132 struct fcoe_port *port = lport_priv(n_port); in bnx2fc_vport_create() 1196 struct fc_lport *n_port = shost_priv(shost); in bnx2fc_vport_destroy() local 1203 mutex_lock(&n_port->lp_mutex); in bnx2fc_vport_destroy() 1204 list_for_each_entry(v_port, &n_port->vports, list) in bnx2fc_vport_destroy() 1211 mutex_unlock(&n_port->lp_mutex); in bnx2fc_vport_destroy() 1215 mutex_unlock(&n_port->lp_mutex); in bnx2fc_vport_destroy() 1498 struct fc_lport *lport, *n_port; in bnx2fc_if_create() local 1571 n_port = shost_priv(shost); in bnx2fc_if_create() 1572 rc = fc_exch_mgr_list_clone(n_port, lport); in bnx2fc_if_create()
|
/linux/drivers/scsi/qedf/ |
A D | qedf_main.c | 1820 struct fc_lport *n_port = shost_priv(shost); in qedf_vport_create() local 1822 struct qedf_ctx *base_qedf = lport_priv(n_port); in qedf_vport_create() 1907 n_port = shost_priv(shost); in qedf_vport_create() 1908 fc_exch_mgr_list_clone(n_port, vn_port); in qedf_vport_create() 1940 struct fc_lport *n_port = shost_priv(shost); in qedf_vport_destroy() local 1952 mutex_lock(&n_port->lp_mutex); in qedf_vport_destroy() 1954 mutex_unlock(&n_port->lp_mutex); in qedf_vport_destroy()
|
Completed in 25 milliseconds