Home
last modified time | relevance | path

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

/include/scsi/
Dfc_encode.h76 static inline void fc_adisc_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_adisc_fill() argument
83 put_unaligned_be64(lport->wwpn, &adisc->adisc_wwpn); in fc_adisc_fill()
84 put_unaligned_be64(lport->wwnn, &adisc->adisc_wwnn); in fc_adisc_fill()
85 hton24(adisc->adisc_port_id, lport->port_id); in fc_adisc_fill()
119 static inline int fc_ct_ns_fill(struct fc_lport *lport, in fc_ct_ns_fill() argument
144 hton24(ct->payload.rft.fid.fp_fid, lport->port_id); in fc_ct_ns_fill()
145 ct->payload.rft.fts = lport->fcts; in fc_ct_ns_fill()
151 hton24(ct->payload.rff.fr_fid.fp_fid, lport->port_id); in fc_ct_ns_fill()
153 if (lport->service_params & FCP_SPPF_INIT_FCN) in fc_ct_ns_fill()
155 if (lport->service_params & FCP_SPPF_TARG_FCN) in fc_ct_ns_fill()
[all …]
Dlibfc.h783 static inline int fc_lport_test_ready(struct fc_lport *lport) in fc_lport_test_ready() argument
785 return lport->state == LPORT_ST_READY; in fc_lport_test_ready()
793 static inline void fc_set_wwnn(struct fc_lport *lport, u64 wwnn) in fc_set_wwnn() argument
795 lport->wwnn = wwnn; in fc_set_wwnn()
803 static inline void fc_set_wwpn(struct fc_lport *lport, u64 wwpn) in fc_set_wwpn() argument
805 lport->wwpn = wwpn; in fc_set_wwpn()
813 static inline void fc_lport_state_enter(struct fc_lport *lport, in fc_lport_state_enter() argument
816 if (state != lport->state) in fc_lport_state_enter()
817 lport->retry_count = 0; in fc_lport_state_enter()
818 lport->state = state; in fc_lport_state_enter()
[all …]
Dlibfcoe.h258 void __fcoe_get_lesb(struct fc_lport *lport, struct fc_els_lesb *fc_lesb,
350 struct fc_lport *lport; member
358 struct net_device * (*get_netdev)(const struct fc_lport *lport);
365 static inline struct net_device *fcoe_get_netdev(const struct fc_lport *lport) in fcoe_get_netdev() argument
367 struct fcoe_port *port = ((struct fcoe_port *)lport_priv(lport)); in fcoe_get_netdev()
369 return (port->get_netdev) ? port->get_netdev(lport) : NULL; in fcoe_get_netdev()
373 void fcoe_check_wait_queue(struct fc_lport *lport, struct sk_buff *skb);
/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)
/include/uapi/linux/netfilter/
Dxt_TPROXY.h15 __be16 lport; member
22 __be16 lport; member
/include/net/netfilter/
Dnf_tproxy.h49 __be32 laddr, __be16 lport, struct sock *sk);
110 const __be16 lport,
/include/net/
Dinet6_hashtables.h28 const u16 lport, in __inet6_ehashfn() argument
33 const u32 ports = (((u32)lport) << 16) | (__force u32)fport; in __inet6_ehashfn()
Dinet_hashtables.h212 static inline u32 inet_bhashfn(const struct net *net, const __u16 lport, in inet_bhashfn() argument
215 return (lport + net_hash_mix(net)) & (bhash_size - 1); in inet_bhashfn()
396 const struct in6_addr *laddr, const u16 lport,
Dinet_sock.h334 const __u16 lport, in __inet_ehashfn() argument
341 ((__u32) lport) << 16 | (__force __u32)fport, in __inet_ehashfn()
/include/uapi/linux/
Drds.h178 __be16 lport; member
189 __be16 lport; member
/include/net/sctp/
Dsctp.h498 static inline int sctp_phashfn(struct net *net, __u16 lport) in sctp_phashfn() argument
500 return (net_hash_mix(net) + lport) & (sctp_port_hashsize - 1); in sctp_phashfn()
504 static inline int sctp_ep_hashfn(struct net *net, __u16 lport) in sctp_ep_hashfn() argument
506 return (net_hash_mix(net) + lport) & (sctp_ep_hashsize - 1); in sctp_ep_hashfn()
/include/linux/
Dntb.h677 int lport = ntb_port_number(ntb); in ntb_logical_port_number() local
680 if (lport < 0) in ntb_logical_port_number()
681 return lport; in ntb_logical_port_number()
684 if (lport <= ntb_peer_port_number(ntb, pidx)) in ntb_logical_port_number()