Lines Matching defs:slave

157 struct slave {  struct
168 u8 backup:1, /* indicates backup slave. Value corresponds with argument
170 inactive:1, /* indicates inactive slave */ argument
171 rx_disabled:1, /* indicates whether slave's Rx is disabled */ argument
181 struct ad_slave_info *ad_info; argument
182 struct tlb_slave_info tlb_info; argument
188 struct rtnl_link_stats64 slave_stats; argument
191 static inline struct slave *to_slave(struct kobject *kobj) in to_slave() argument
293 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave) in bond_get_bond_by_slave()
354 struct slave *slave = rcu_dereference_rtnl(bond->curr_active_slave); in bond_option_active_slave_get_rcu() local
359 static inline bool bond_slave_is_up(struct slave *slave) in bond_slave_is_up()
364 static inline void bond_set_active_slave(struct slave *slave) in bond_set_active_slave()
373 static inline void bond_set_backup_slave(struct slave *slave) in bond_set_backup_slave()
382 static inline void bond_set_slave_state(struct slave *slave, in bond_set_slave_state()
427 static inline int bond_slave_state(struct slave *slave) in bond_slave_state()
432 static inline bool bond_is_active_slave(struct slave *slave) in bond_is_active_slave()
437 static inline bool bond_slave_can_tx(struct slave *slave) in bond_slave_can_tx()
445 struct slave *slave; in bond_is_active_slave_dev() local
492 struct slave *slave) in slave_do_arp_validate()
520 struct slave *slave) in slave_oldest_target_arp_rx()
533 struct slave *slave) in slave_last_rx()
541 static inline void slave_update_last_tx(struct slave *slave) in slave_update_last_tx()
546 static inline unsigned long slave_last_tx(struct slave *slave) in slave_last_tx()
552 static inline netdev_tx_t bond_netpoll_send_skb(const struct slave *slave, in bond_netpoll_send_skb()
558 static inline netdev_tx_t bond_netpoll_send_skb(const struct slave *slave, in bond_netpoll_send_skb()
566 static inline void bond_set_slave_inactive_flags(struct slave *slave, in bond_set_slave_inactive_flags()
577 static inline void bond_set_slave_tx_disabled_flags(struct slave *slave, in bond_set_slave_tx_disabled_flags()
583 static inline void bond_set_slave_active_flags(struct slave *slave, in bond_set_slave_active_flags()
592 static inline void bond_set_slave_rx_enabled_flags(struct slave *slave, in bond_set_slave_rx_enabled_flags()
598 static inline bool bond_is_slave_inactive(struct slave *slave) in bond_is_slave_inactive()
603 static inline bool bond_is_slave_rx_disabled(struct slave *slave) in bond_is_slave_rx_disabled()
608 static inline void bond_propose_link_state(struct slave *slave, int state) in bond_propose_link_state()
613 static inline void bond_commit_link_state(struct slave *slave, bool notify) in bond_commit_link_state()
631 static inline void bond_set_slave_link_state(struct slave *slave, int state, in bond_set_slave_link_state()