Lines Matching refs:team
29 struct team;
35 struct team *team; member
103 int (*init)(struct team *team);
104 void (*exit)(struct team *team);
105 rx_handler_result_t (*receive)(struct team *team,
108 bool (*transmit)(struct team *team, struct sk_buff *skb);
109 int (*port_enter)(struct team *team, struct team_port *port);
110 void (*port_leave)(struct team *team, struct team_port *port);
111 void (*port_change_dev_addr)(struct team *team, struct team_port *port);
112 void (*port_enabled)(struct team *team, struct team_port *port);
113 void (*port_disabled)(struct team *team, struct team_port *port);
116 extern int team_modeop_port_enter(struct team *team, struct team_port *port);
117 extern void team_modeop_port_change_dev_addr(struct team *team,
153 int (*init)(struct team *team, struct team_option_inst_info *info);
154 int (*getter)(struct team *team, struct team_gsetter_ctx *ctx);
155 int (*setter)(struct team *team, struct team_gsetter_ctx *ctx);
159 extern void team_options_change_check(struct team *team);
175 struct team { struct
213 static inline int team_dev_queue_xmit(struct team *team, struct team_port *port, in team_dev_queue_xmit() argument
221 if (unlikely(netpoll_tx_running(team->dev))) { in team_dev_queue_xmit()
228 static inline struct hlist_head *team_port_index_hash(struct team *team, in team_port_index_hash() argument
231 return &team->en_port_hlist[port_index & (TEAM_PORT_HASHENTRIES - 1)]; in team_port_index_hash()
234 static inline struct team_port *team_get_port_by_index(struct team *team, in team_get_port_by_index() argument
238 struct hlist_head *head = team_port_index_hash(team, port_index); in team_get_port_by_index()
246 static inline int team_num_to_port_index(struct team *team, int num) in team_num_to_port_index() argument
248 int en_port_count = ACCESS_ONCE(team->en_port_count); in team_num_to_port_index()
255 static inline struct team_port *team_get_port_by_index_rcu(struct team *team, in team_get_port_by_index_rcu() argument
259 struct hlist_head *head = team_port_index_hash(team, port_index); in team_get_port_by_index_rcu()
268 team_get_first_port_txable_rcu(struct team *team, struct team_port *port) in team_get_first_port_txable_rcu() argument
275 list_for_each_entry_continue_rcu(cur, &team->port_list, list) in team_get_first_port_txable_rcu()
278 list_for_each_entry_rcu(cur, &team->port_list, list) { in team_get_first_port_txable_rcu()
287 extern int team_options_register(struct team *team,
290 extern void team_options_unregister(struct team *team,