Lines Matching defs:slave
160 struct slave { struct
171 u8 backup:1, /* indicates backup slave. Value corresponds with argument
173 inactive:1, /* indicates inactive slave */ argument
174 rx_disabled:1, /* indicates whether slave's Rx is disabled */ argument
184 struct ad_slave_info *ad_info; argument
185 struct tlb_slave_info tlb_info; argument
191 struct rtnl_link_stats64 slave_stats; argument
194 static inline struct slave *to_slave(struct kobject *kobj) in to_slave() argument
296 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave) in bond_get_bond_by_slave()
357 struct slave *slave = rcu_dereference_rtnl(bond->curr_active_slave); in bond_option_active_slave_get_rcu() local
362 static inline bool bond_slave_is_up(struct slave *slave) in bond_slave_is_up()
367 static inline void bond_set_active_slave(struct slave *slave) in bond_set_active_slave()
376 static inline void bond_set_backup_slave(struct slave *slave) in bond_set_backup_slave()
385 static inline void bond_set_slave_state(struct slave *slave, in bond_set_slave_state()
430 static inline int bond_slave_state(struct slave *slave) in bond_slave_state()
435 static inline bool bond_is_active_slave(struct slave *slave) in bond_is_active_slave()
440 static inline bool bond_slave_can_tx(struct slave *slave) in bond_slave_can_tx()
448 struct slave *slave; in bond_is_active_slave_dev() local
495 struct slave *slave) in slave_do_arp_validate()
523 struct slave *slave) in slave_oldest_target_arp_rx()
536 struct slave *slave) in slave_last_rx()
544 static inline void slave_update_last_tx(struct slave *slave) in slave_update_last_tx()
549 static inline unsigned long slave_last_tx(struct slave *slave) in slave_last_tx()
555 static inline netdev_tx_t bond_netpoll_send_skb(const struct slave *slave, in bond_netpoll_send_skb()
561 static inline netdev_tx_t bond_netpoll_send_skb(const struct slave *slave, in bond_netpoll_send_skb()
569 static inline void bond_set_slave_inactive_flags(struct slave *slave, in bond_set_slave_inactive_flags()
580 static inline void bond_set_slave_tx_disabled_flags(struct slave *slave, in bond_set_slave_tx_disabled_flags()
586 static inline void bond_set_slave_active_flags(struct slave *slave, in bond_set_slave_active_flags()
595 static inline void bond_set_slave_rx_enabled_flags(struct slave *slave, in bond_set_slave_rx_enabled_flags()
601 static inline bool bond_is_slave_inactive(struct slave *slave) in bond_is_slave_inactive()
606 static inline bool bond_is_slave_rx_disabled(struct slave *slave) in bond_is_slave_rx_disabled()
611 static inline void bond_propose_link_state(struct slave *slave, int state) in bond_propose_link_state()
616 static inline void bond_commit_link_state(struct slave *slave, bool notify) in bond_commit_link_state()
634 static inline void bond_set_slave_link_state(struct slave *slave, int state, in bond_set_slave_link_state()