Lines Matching defs:bond
50 #define BOND_MODE(bond) ((bond)->params.mode) argument
53 #define bond_slave_list(bond) (&(bond)->dev->adj_list.lower) argument
55 #define bond_has_slaves(bond) !list_empty(bond_slave_list(bond)) argument
58 #define bond_first_slave(bond) \ argument
62 #define bond_last_slave(bond) \ argument
68 #define bond_first_slave_rcu(bond) \ argument
71 #define bond_is_first_slave(bond, pos) (pos == bond_first_slave(bond)) argument
72 #define bond_is_last_slave(bond, pos) (pos == bond_last_slave(bond)) argument
82 #define bond_for_each_slave(bond, pos, iter) \ argument
86 #define bond_for_each_slave_rcu(bond, pos, iter) \ argument
157 struct bonding *bond; /* our master */ member
261 static inline struct slave *bond_get_slave_by_dev(struct bonding *bond, in bond_get_slave_by_dev()
272 static inline bool bond_should_override_tx_queue(struct bonding *bond) in bond_should_override_tx_queue()
278 static inline bool bond_is_lb(const struct bonding *bond) in bond_is_lb()
284 static inline bool bond_is_nondyn_tlb(const struct bonding *bond) in bond_is_nondyn_tlb()
290 static inline bool bond_mode_uses_xmit_hash(const struct bonding *bond) in bond_mode_uses_xmit_hash()
309 static inline bool bond_uses_primary(struct bonding *bond) in bond_uses_primary()
314 static inline struct net_device *bond_option_active_slave_get_rcu(struct bonding *bond) in bond_option_active_slave_get_rcu()
363 static inline void bond_slave_state_change(struct bonding *bond) in bond_slave_state_change()
376 static inline void bond_slave_state_notify(struct bonding *bond) in bond_slave_state_notify()
430 static inline int slave_do_arp_validate(struct bonding *bond, in slave_do_arp_validate()
436 static inline int slave_do_arp_validate_only(struct bonding *bond) in slave_do_arp_validate_only()
449 static inline unsigned long slave_oldest_target_arp_rx(struct bonding *bond, in slave_oldest_target_arp_rx()
462 static inline unsigned long slave_last_rx(struct bonding *bond, in slave_last_rx()
576 static inline void bond_create_proc_entry(struct bonding *bond) in bond_create_proc_entry()
580 static inline void bond_remove_proc_entry(struct bonding *bond) in bond_remove_proc_entry()
593 static inline struct slave *bond_slave_has_mac(struct bonding *bond, in bond_slave_has_mac()
607 static inline struct slave *bond_slave_has_mac_rcu(struct bonding *bond, in bond_slave_has_mac_rcu()
621 static inline bool bond_slave_has_mac_rx(struct bonding *bond, const u8 *mac) in bond_slave_has_mac_rx()