Home
last modified time | relevance | path

Searched refs:lport (Results 1 – 13 of 13) sorted by relevance

/linux-4.19.296/include/scsi/
Dfc_encode.h88 static inline void fc_adisc_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_adisc_fill() argument
95 put_unaligned_be64(lport->wwpn, &adisc->adisc_wwpn); in fc_adisc_fill()
96 put_unaligned_be64(lport->wwnn, &adisc->adisc_wwnn); in fc_adisc_fill()
97 hton24(adisc->adisc_port_id, lport->port_id); in fc_adisc_fill()
131 static inline int fc_ct_ns_fill(struct fc_lport *lport, in fc_ct_ns_fill() argument
156 hton24(ct->payload.rft.fid.fp_fid, lport->port_id); in fc_ct_ns_fill()
157 ct->payload.rft.fts = lport->fcts; in fc_ct_ns_fill()
163 hton24(ct->payload.rff.fr_fid.fp_fid, lport->port_id); in fc_ct_ns_fill()
165 if (lport->service_params & FCP_SPPF_INIT_FCN) in fc_ct_ns_fill()
167 if (lport->service_params & FCP_SPPF_TARG_FCN) in fc_ct_ns_fill()
[all …]
Dlibfc.h795 static inline int fc_lport_test_ready(struct fc_lport *lport) in fc_lport_test_ready() argument
797 return lport->state == LPORT_ST_READY; in fc_lport_test_ready()
805 static inline void fc_set_wwnn(struct fc_lport *lport, u64 wwnn) in fc_set_wwnn() argument
807 lport->wwnn = wwnn; in fc_set_wwnn()
815 static inline void fc_set_wwpn(struct fc_lport *lport, u64 wwpn) in fc_set_wwpn() argument
817 lport->wwpn = wwpn; in fc_set_wwpn()
825 static inline void fc_lport_state_enter(struct fc_lport *lport, in fc_lport_state_enter() argument
828 if (state != lport->state) in fc_lport_state_enter()
829 lport->retry_count = 0; in fc_lport_state_enter()
830 lport->state = state; in fc_lport_state_enter()
[all …]
Dlibfcoe.h271 void __fcoe_get_lesb(struct fc_lport *lport, struct fc_els_lesb *fc_lesb,
363 struct fc_lport *lport; member
371 struct net_device * (*get_netdev)(const struct fc_lport *lport);
378 static inline struct net_device *fcoe_get_netdev(const struct fc_lport *lport) in fcoe_get_netdev() argument
380 struct fcoe_port *port = ((struct fcoe_port *)lport_priv(lport)); in fcoe_get_netdev()
382 return (port->get_netdev) ? port->get_netdev(lport) : NULL; in fcoe_get_netdev()
386 void fcoe_check_wait_queue(struct fc_lport *lport, struct sk_buff *skb);
/linux-4.19.296/include/trace/events/
Dudp.h19 __field(__u16, lport)
24 __entry->lport = inet_sk(sk)->inet_num;
27 TP_printk("rc=%d port=%hu", __entry->rc, __entry->lport)
/linux-4.19.296/include/uapi/linux/netfilter/
Dxt_TPROXY.h15 __be16 lport; member
22 __be16 lport; member
/linux-4.19.296/include/net/netfilter/
Dnf_tproxy.h49 __be32 laddr, __be16 lport, struct sock *sk);
110 const __be16 lport,
/linux-4.19.296/drivers/ntb/test/
Dntb_pingpong.c295 int pidx, lport, pcnt; in pp_init_flds() local
298 lport = ntb_port_number(pp->ntb); in pp_init_flds()
301 if (lport < ntb_peer_port_number(pp->ntb, pidx)) in pp_init_flds()
305 pp->in_db = BIT_ULL(lport); in pp_init_flds()
Dntb_perf.c1406 int pidx, lport, ret; in perf_init_peers() local
1408 lport = ntb_port_number(perf->ntb); in perf_init_peers()
1415 if (lport < ntb_peer_port_number(perf->ntb, pidx)) { in perf_init_peers()
/linux-4.19.296/include/net/
Dinet6_hashtables.h32 const u16 lport, in __inet6_ehashfn() argument
37 const u32 ports = (((u32)lport) << 16) | (__force u32)fport; in __inet6_ehashfn()
Dinet_hashtables.h204 static inline u32 inet_bhashfn(const struct net *net, const __u16 lport, in inet_bhashfn() argument
207 return (lport + net_hash_mix(net)) & (bhash_size - 1); in inet_bhashfn()
390 const struct in6_addr *laddr, const u16 lport,
Dinet_sock.h317 const __u16 lport, in __inet_ehashfn() argument
324 ((__u32) lport) << 16 | (__force __u32)fport, in __inet_ehashfn()
/linux-4.19.296/include/net/sctp/
Dsctp.h513 static inline int sctp_phashfn(struct net *net, __u16 lport) in sctp_phashfn() argument
515 return (net_hash_mix(net) + lport) & (sctp_port_hashsize - 1); in sctp_phashfn()
519 static inline int sctp_ep_hashfn(struct net *net, __u16 lport) in sctp_ep_hashfn() argument
521 return (net_hash_mix(net) + lport) & (sctp_ep_hashsize - 1); in sctp_ep_hashfn()
/linux-4.19.296/include/uapi/linux/
Drds.h171 __be16 lport; member
181 __be16 lport; member