Lines Matching defs:slave
152 struct slave { struct
162 u8 backup:1, /* indicates backup slave. Value corresponds with argument
164 inactive:1, /* indicates inactive slave */ argument
173 struct ad_slave_info *ad_info; argument
174 struct tlb_slave_info tlb_info; argument
180 struct rtnl_link_stats64 slave_stats; argument
186 struct slave *arr[0]; argument
268 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave) in bond_get_bond_by_slave()
329 struct slave *slave = rcu_dereference(bond->curr_active_slave); in bond_option_active_slave_get_rcu() local
334 static inline bool bond_slave_is_up(struct slave *slave) in bond_slave_is_up()
339 static inline void bond_set_active_slave(struct slave *slave) in bond_set_active_slave()
348 static inline void bond_set_backup_slave(struct slave *slave) in bond_set_backup_slave()
357 static inline void bond_set_slave_state(struct slave *slave, in bond_set_slave_state()
402 static inline int bond_slave_state(struct slave *slave) in bond_slave_state()
407 static inline bool bond_is_active_slave(struct slave *slave) in bond_is_active_slave()
412 static inline bool bond_slave_can_tx(struct slave *slave) in bond_slave_can_tx()
420 struct slave *slave; in bond_is_active_slave_dev() local
467 struct slave *slave) in slave_do_arp_validate()
486 struct slave *slave) in slave_oldest_target_arp_rx()
499 struct slave *slave) in slave_last_rx()
508 static inline void bond_netpoll_send_skb(const struct slave *slave, in bond_netpoll_send_skb()
517 static inline void bond_netpoll_send_skb(const struct slave *slave, in bond_netpoll_send_skb()
523 static inline void bond_set_slave_inactive_flags(struct slave *slave, in bond_set_slave_inactive_flags()
532 static inline void bond_set_slave_active_flags(struct slave *slave, in bond_set_slave_active_flags()
539 static inline bool bond_is_slave_inactive(struct slave *slave) in bond_is_slave_inactive()
544 static inline void bond_propose_link_state(struct slave *slave, int state) in bond_propose_link_state()
549 static inline void bond_commit_link_state(struct slave *slave, bool notify) in bond_commit_link_state()
567 static inline void bond_set_slave_link_state(struct slave *slave, int state, in bond_set_slave_link_state()