Lines Matching full:team

3  * include/linux/if_team.h - Network team device driver header
26 struct team;
32 struct team *team; member
115 int (*init)(struct team *team);
116 void (*exit)(struct team *team);
117 rx_handler_result_t (*receive)(struct team *team,
120 bool (*transmit)(struct team *team, struct sk_buff *skb);
121 int (*port_enter)(struct team *team, struct team_port *port);
122 void (*port_leave)(struct team *team, struct team_port *port);
123 void (*port_change_dev_addr)(struct team *team, struct team_port *port);
124 void (*port_enabled)(struct team *team, struct team_port *port);
125 void (*port_disabled)(struct team *team, struct team_port *port);
128 extern int team_modeop_port_enter(struct team *team, struct team_port *port);
129 extern void team_modeop_port_change_dev_addr(struct team *team,
165 void (*init)(struct team *team, struct team_option_inst_info *info);
166 void (*getter)(struct team *team, struct team_gsetter_ctx *ctx);
167 int (*setter)(struct team *team, struct team_gsetter_ctx *ctx);
171 extern void team_options_change_check(struct team *team);
188 struct team { struct
230 static inline int team_dev_queue_xmit(struct team *team, struct team_port *port, in team_dev_queue_xmit() argument
238 if (unlikely(netpoll_tx_running(team->dev))) { in team_dev_queue_xmit()
245 static inline struct hlist_head *team_port_index_hash(struct team *team, in team_port_index_hash() argument
248 return &team->en_port_hlist[port_index & (TEAM_PORT_HASHENTRIES - 1)]; in team_port_index_hash()
251 static inline struct team_port *team_get_port_by_index(struct team *team, in team_get_port_by_index() argument
255 struct hlist_head *head = team_port_index_hash(team, port_index); in team_get_port_by_index()
263 static inline int team_num_to_port_index(struct team *team, unsigned int num) in team_num_to_port_index() argument
265 int en_port_count = READ_ONCE(team->en_port_count); in team_num_to_port_index()
272 static inline struct team_port *team_get_port_by_index_rcu(struct team *team, in team_get_port_by_index_rcu() argument
276 struct hlist_head *head = team_port_index_hash(team, port_index); 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
292 list_for_each_entry_continue_rcu(cur, &team->port_list, list) in team_get_first_port_txable_rcu()
295 list_for_each_entry_rcu(cur, &team->port_list, list) { in team_get_first_port_txable_rcu()
304 extern int team_options_register(struct team *team,
307 extern void team_options_unregister(struct team *team,
316 #define MODULE_ALIAS_TEAM_MODE(kind) MODULE_ALIAS("team-mode-" kind)