Lines Matching defs:slave

156 struct slave {  struct
167 u8 backup:1, /* indicates backup slave. Value corresponds with argument
169 inactive:1, /* indicates inactive slave */ argument
179 struct ad_slave_info *ad_info; argument
180 struct tlb_slave_info tlb_info; argument
186 struct rtnl_link_stats64 slave_stats; argument
189 static inline struct slave *to_slave(struct kobject *kobj) in to_slave() argument
291 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave) in bond_get_bond_by_slave()
352 struct slave *slave = rcu_dereference_rtnl(bond->curr_active_slave); in bond_option_active_slave_get_rcu() local
357 static inline bool bond_slave_is_up(struct slave *slave) in bond_slave_is_up()
362 static inline void bond_set_active_slave(struct slave *slave) in bond_set_active_slave()
371 static inline void bond_set_backup_slave(struct slave *slave) in bond_set_backup_slave()
380 static inline void bond_set_slave_state(struct slave *slave, in bond_set_slave_state()
425 static inline int bond_slave_state(struct slave *slave) in bond_slave_state()
430 static inline bool bond_is_active_slave(struct slave *slave) in bond_is_active_slave()
435 static inline bool bond_slave_can_tx(struct slave *slave) in bond_slave_can_tx()
443 struct slave *slave; in bond_is_active_slave_dev() local
490 struct slave *slave) in slave_do_arp_validate()
518 struct slave *slave) in slave_oldest_target_arp_rx()
531 struct slave *slave) in slave_last_rx()
539 static inline void slave_update_last_tx(struct slave *slave) in slave_update_last_tx()
544 static inline unsigned long slave_last_tx(struct slave *slave) in slave_last_tx()
550 static inline netdev_tx_t bond_netpoll_send_skb(const struct slave *slave, in bond_netpoll_send_skb()
556 static inline netdev_tx_t bond_netpoll_send_skb(const struct slave *slave, in bond_netpoll_send_skb()
564 static inline void bond_set_slave_inactive_flags(struct slave *slave, in bond_set_slave_inactive_flags()
573 static inline void bond_set_slave_active_flags(struct slave *slave, in bond_set_slave_active_flags()
580 static inline bool bond_is_slave_inactive(struct slave *slave) in bond_is_slave_inactive()
585 static inline void bond_propose_link_state(struct slave *slave, int state) in bond_propose_link_state()
590 static inline void bond_commit_link_state(struct slave *slave, bool notify) in bond_commit_link_state()
608 static inline void bond_set_slave_link_state(struct slave *slave, int state, in bond_set_slave_link_state()