Lines Matching refs:team
30 struct team;
36 struct team *team; member
122 int (*init)(struct team *team);
123 void (*exit)(struct team *team);
124 rx_handler_result_t (*receive)(struct team *team,
127 bool (*transmit)(struct team *team, struct sk_buff *skb);
128 int (*port_enter)(struct team *team, struct team_port *port);
129 void (*port_leave)(struct team *team, struct team_port *port);
130 void (*port_change_dev_addr)(struct team *team, struct team_port *port);
131 void (*port_enabled)(struct team *team, struct team_port *port);
132 void (*port_disabled)(struct team *team, struct team_port *port);
135 extern int team_modeop_port_enter(struct team *team, struct team_port *port);
136 extern void team_modeop_port_change_dev_addr(struct team *team,
172 int (*init)(struct team *team, struct team_option_inst_info *info);
173 int (*getter)(struct team *team, struct team_gsetter_ctx *ctx);
174 int (*setter)(struct team *team, struct team_gsetter_ctx *ctx);
178 extern void team_options_change_check(struct team *team);
195 struct team { struct
233 static inline int team_dev_queue_xmit(struct team *team, struct team_port *port, in team_dev_queue_xmit() argument
241 if (unlikely(netpoll_tx_running(team->dev))) { in team_dev_queue_xmit()
248 static inline struct hlist_head *team_port_index_hash(struct team *team, in team_port_index_hash() argument
251 return &team->en_port_hlist[port_index & (TEAM_PORT_HASHENTRIES - 1)]; in team_port_index_hash()
254 static inline struct team_port *team_get_port_by_index(struct team *team, in team_get_port_by_index() argument
258 struct hlist_head *head = team_port_index_hash(team, port_index); in team_get_port_by_index()
266 static inline int team_num_to_port_index(struct team *team, unsigned int num) in team_num_to_port_index() argument
268 int en_port_count = READ_ONCE(team->en_port_count); in team_num_to_port_index()
275 static inline struct team_port *team_get_port_by_index_rcu(struct team *team, in team_get_port_by_index_rcu() argument
279 struct hlist_head *head = team_port_index_hash(team, port_index); in team_get_port_by_index_rcu()
288 team_get_first_port_txable_rcu(struct team *team, struct team_port *port) in team_get_first_port_txable_rcu() argument
295 list_for_each_entry_continue_rcu(cur, &team->port_list, list) in team_get_first_port_txable_rcu()
298 list_for_each_entry_rcu(cur, &team->port_list, list) { in team_get_first_port_txable_rcu()
307 extern int team_options_register(struct team *team,
310 extern void team_options_unregister(struct team *team,