• Home
  • Raw
  • Download

Lines Matching refs:port

78 static inline bool team_port_enabled(struct team_port *port)  in team_port_enabled()  argument
80 return port->index != -1; in team_port_enabled()
83 static inline bool team_port_txable(struct team_port *port) in team_port_txable() argument
85 return port->linkup && team_port_enabled(port); in team_port_txable()
90 struct team_port *port; in team_port_dev_txable() local
94 port = team_port_get_rcu(port_dev); in team_port_dev_txable()
95 txable = port ? team_port_txable(port) : false; in team_port_dev_txable()
102 static inline void team_netpoll_send_skb(struct team_port *port, in team_netpoll_send_skb() argument
105 struct netpoll *np = port->np; in team_netpoll_send_skb()
111 static inline void team_netpoll_send_skb(struct team_port *port, in team_netpoll_send_skb() argument
121 struct team_port *port,
124 int (*port_enter)(struct team *team, struct team_port *port);
125 void (*port_leave)(struct team *team, struct team_port *port);
126 void (*port_change_dev_addr)(struct team *team, struct team_port *port);
127 void (*port_enabled)(struct team *team, struct team_port *port);
128 void (*port_disabled)(struct team *team, struct team_port *port);
131 extern int team_modeop_port_enter(struct team *team, struct team_port *port);
133 struct team_port *port);
145 struct team_port *port; /* != NULL if per-port */ member
230 static inline int team_dev_queue_xmit(struct team *team, struct team_port *port, in team_dev_queue_xmit() argument
237 skb->dev = port->dev; in team_dev_queue_xmit()
239 team_netpoll_send_skb(port, skb); in team_dev_queue_xmit()
254 struct team_port *port; in team_get_port_by_index() local
257 hlist_for_each_entry(port, head, hlist) in team_get_port_by_index()
258 if (port->index == port_index) in team_get_port_by_index()
259 return port; in team_get_port_by_index()
275 struct team_port *port; in team_get_port_by_index_rcu() local
278 hlist_for_each_entry_rcu(port, head, hlist) in team_get_port_by_index_rcu()
279 if (port->index == port_index) in team_get_port_by_index_rcu()
280 return port; in team_get_port_by_index_rcu()
285 team_get_first_port_txable_rcu(struct team *team, struct team_port *port) in team_get_first_port_txable_rcu() argument
289 if (likely(team_port_txable(port))) in team_get_first_port_txable_rcu()
290 return port; in team_get_first_port_txable_rcu()
291 cur = port; in team_get_first_port_txable_rcu()
296 if (cur == port) in team_get_first_port_txable_rcu()