Lines Matching refs:team
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 int (*init)(struct team *team, struct team_option_inst_info *info);
166 int (*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
227 static inline int team_dev_queue_xmit(struct team *team, struct team_port *port, in team_dev_queue_xmit() argument
235 if (unlikely(netpoll_tx_running(team->dev))) { in team_dev_queue_xmit()
242 static inline struct hlist_head *team_port_index_hash(struct team *team, in team_port_index_hash() argument
245 return &team->en_port_hlist[port_index & (TEAM_PORT_HASHENTRIES - 1)]; in team_port_index_hash()
248 static inline struct team_port *team_get_port_by_index(struct team *team, in team_get_port_by_index() argument
252 struct hlist_head *head = team_port_index_hash(team, port_index); in team_get_port_by_index()
260 static inline int team_num_to_port_index(struct team *team, unsigned int num) in team_num_to_port_index() argument
262 int en_port_count = READ_ONCE(team->en_port_count); in team_num_to_port_index()
269 static inline struct team_port *team_get_port_by_index_rcu(struct team *team, in team_get_port_by_index_rcu() argument
273 struct hlist_head *head = team_port_index_hash(team, port_index); in team_get_port_by_index_rcu()
282 team_get_first_port_txable_rcu(struct team *team, struct team_port *port) in team_get_first_port_txable_rcu() argument
289 list_for_each_entry_continue_rcu(cur, &team->port_list, list) in team_get_first_port_txable_rcu()
292 list_for_each_entry_rcu(cur, &team->port_list, list) { in team_get_first_port_txable_rcu()
301 extern int team_options_register(struct team *team,
304 extern void team_options_unregister(struct team *team,