Lines Matching defs:slave
155 struct slave { struct
165 u8 backup:1, /* indicates backup slave. Value corresponds with argument
167 inactive:1, /* indicates inactive slave */ argument
176 struct ad_slave_info *ad_info; argument
177 struct tlb_slave_info tlb_info; argument
183 struct rtnl_link_stats64 slave_stats; argument
186 static inline struct slave *to_slave(struct kobject *kobj) in to_slave() argument
279 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave) in bond_get_bond_by_slave()
340 struct slave *slave = rcu_dereference(bond->curr_active_slave); in bond_option_active_slave_get_rcu() local
345 static inline bool bond_slave_is_up(struct slave *slave) in bond_slave_is_up()
350 static inline void bond_set_active_slave(struct slave *slave) in bond_set_active_slave()
359 static inline void bond_set_backup_slave(struct slave *slave) in bond_set_backup_slave()
368 static inline void bond_set_slave_state(struct slave *slave, in bond_set_slave_state()
413 static inline int bond_slave_state(struct slave *slave) in bond_slave_state()
418 static inline bool bond_is_active_slave(struct slave *slave) in bond_is_active_slave()
423 static inline bool bond_slave_can_tx(struct slave *slave) in bond_slave_can_tx()
431 struct slave *slave; in bond_is_active_slave_dev() local
478 struct slave *slave) in slave_do_arp_validate()
497 struct slave *slave) in slave_oldest_target_arp_rx()
510 struct slave *slave) in slave_last_rx()
519 static inline netdev_tx_t bond_netpoll_send_skb(const struct slave *slave, in bond_netpoll_send_skb()
525 static inline netdev_tx_t bond_netpoll_send_skb(const struct slave *slave, in bond_netpoll_send_skb()
533 static inline void bond_set_slave_inactive_flags(struct slave *slave, in bond_set_slave_inactive_flags()
542 static inline void bond_set_slave_active_flags(struct slave *slave, in bond_set_slave_active_flags()
549 static inline bool bond_is_slave_inactive(struct slave *slave) in bond_is_slave_inactive()
554 static inline void bond_propose_link_state(struct slave *slave, int state) in bond_propose_link_state()
559 static inline void bond_commit_link_state(struct slave *slave, bool notify) in bond_commit_link_state()
577 static inline void bond_set_slave_link_state(struct slave *slave, int state, in bond_set_slave_link_state()