Searched refs:n_port (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/drivers/scsi/libfc/ |
D | fc_npiv.c | 24 struct fc_lport *n_port = shost_priv(shost); in libfc_vport_create() local 34 mutex_lock(&n_port->lp_mutex); in libfc_vport_create() 35 list_add_tail(&vn_port->list, &n_port->vports); in libfc_vport_create() 36 mutex_unlock(&n_port->lp_mutex); in libfc_vport_create() 49 struct fc_lport *fc_vport_id_lookup(struct fc_lport *n_port, u32 port_id) in fc_vport_id_lookup() argument 54 if (n_port->port_id == port_id) in fc_vport_id_lookup() 55 return n_port; in fc_vport_id_lookup() 58 return n_port; /* for point-to-point */ in fc_vport_id_lookup() 60 mutex_lock(&n_port->lp_mutex); in fc_vport_id_lookup() 61 list_for_each_entry(vn_port, &n_port->vports, list) { in fc_vport_id_lookup() [all …]
|
/linux-6.12.1/tools/testing/selftests/net/netfilter/ |
D | nft_concat_range.sh | 654 local n_port="${dst_port}" 671 busywait "$BUSYWAIT_TIMEOUT" listener_ready "$n_port" 683 local n_port="${dst_port}" 700 busywait "$BUSYWAIT_TIMEOUT" listener_ready "$n_port" 712 local n_port="${dst_port}" 729 busywait "$BUSYWAIT_TIMEOUT" listener_ready "${n_port}" 748 local n_port="${dst_port}" 765 busywait "$BUSYWAIT_TIMEOUT" listener_ready "${n_port}" 777 local n_port="${dst_port}" 794 busywait "$BUSYWAIT_TIMEOUT" listener_ready "$n_port" [all …]
|
/linux-6.12.1/net/key/ |
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() 1014 n_port->sadb_x_nat_t_port_exttype = SADB_X_EXT_NAT_T_SPORT; in __pfkey_xfrm_state2msg() 1015 n_port->sadb_x_nat_t_port_port = natt->encap_sport; 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() 1021 n_port->sadb_x_nat_t_port_exttype = SADB_X_EXT_NAT_T_DPORT; in __pfkey_xfrm_state2msg() 1022 n_port->sadb_x_nat_t_port_port = natt->encap_dport; in __pfkey_xfrm_state2msg() [all …]
|
/linux-6.12.1/drivers/scsi/fcoe/ |
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()
|
D | fcoe.c | 1127 struct fc_lport *lport, *n_port; in fcoe_if_create() local 1220 n_port = shost_priv(shost); in fcoe_if_create() 1221 rc = fc_exch_mgr_list_clone(n_port, lport); in fcoe_if_create() 2646 struct fc_lport *n_port = shost_priv(shost); in fcoe_vport_create() local 2647 struct fcoe_port *port = lport_priv(n_port); in fcoe_vport_create() 2694 struct fc_lport *n_port = shost_priv(shost); in fcoe_vport_destroy() local 2697 mutex_lock(&n_port->lp_mutex); in fcoe_vport_destroy() 2699 mutex_unlock(&n_port->lp_mutex); in fcoe_vport_destroy()
|
/linux-6.12.1/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 1120 struct fc_lport *n_port = shost_priv(shost); in bnx2fc_vport_create() local 1121 struct fcoe_port *port = lport_priv(n_port); in bnx2fc_vport_create() 1185 struct fc_lport *n_port = shost_priv(shost); in bnx2fc_vport_destroy() local 1192 mutex_lock(&n_port->lp_mutex); in bnx2fc_vport_destroy() 1193 list_for_each_entry(v_port, &n_port->vports, list) in bnx2fc_vport_destroy() 1200 mutex_unlock(&n_port->lp_mutex); in bnx2fc_vport_destroy() 1204 mutex_unlock(&n_port->lp_mutex); in bnx2fc_vport_destroy() 1487 struct fc_lport *lport, *n_port; in bnx2fc_if_create() local 1559 n_port = shost_priv(shost); in bnx2fc_if_create() 1560 rc = fc_exch_mgr_list_clone(n_port, lport); in bnx2fc_if_create()
|
/linux-6.12.1/drivers/scsi/qedf/ |
D | qedf_main.c | 1832 struct fc_lport *n_port = shost_priv(shost); in qedf_vport_create() local 1834 struct qedf_ctx *base_qedf = lport_priv(n_port); in qedf_vport_create() 1920 n_port = shost_priv(shost); in qedf_vport_create() 1921 fc_exch_mgr_list_clone(n_port, vn_port); in qedf_vport_create() 1946 fc_host_supported_speeds(vn_port->host) = n_port->link_supported_speeds; in qedf_vport_create() 1949 vn_port->link_speed = n_port->link_speed; in qedf_vport_create() 1955 fc_host_maxframe_size(vn_port->host) = n_port->mfs; in qedf_vport_create() 1974 struct fc_lport *n_port = shost_priv(shost); in qedf_vport_destroy() local 1986 mutex_lock(&n_port->lp_mutex); in qedf_vport_destroy() 1988 mutex_unlock(&n_port->lp_mutex); in qedf_vport_destroy()
|