Lines Matching defs:bond

51 #define BOND_MODE(bond) ((bond)->params.mode)  argument
54 #define bond_slave_list(bond) (&(bond)->dev->adj_list.lower) argument
56 #define bond_has_slaves(bond) !list_empty(bond_slave_list(bond)) argument
59 #define bond_first_slave(bond) \ argument
63 #define bond_last_slave(bond) \ argument
69 #define bond_first_slave_rcu(bond) \ argument
72 #define bond_is_first_slave(bond, pos) (pos == bond_first_slave(bond)) argument
73 #define bond_is_last_slave(bond, pos) (pos == bond_last_slave(bond)) argument
83 #define bond_for_each_slave(bond, pos, iter) \ argument
87 #define bond_for_each_slave_rcu(bond, pos, iter) \ argument
159 struct bonding *bond; /* our master */ member
287 static inline struct slave *bond_get_slave_by_dev(struct bonding *bond, in bond_get_slave_by_dev()
298 static inline bool bond_should_override_tx_queue(struct bonding *bond) in bond_should_override_tx_queue()
304 static inline bool bond_is_lb(const struct bonding *bond) in bond_is_lb()
310 static inline bool bond_needs_speed_duplex(const struct bonding *bond) in bond_needs_speed_duplex()
315 static inline bool bond_is_nondyn_tlb(const struct bonding *bond) in bond_is_nondyn_tlb()
320 static inline bool bond_mode_can_use_xmit_hash(const struct bonding *bond) in bond_mode_can_use_xmit_hash()
328 static inline bool bond_mode_uses_xmit_hash(const struct bonding *bond) in bond_mode_uses_xmit_hash()
347 static inline bool bond_uses_primary(struct bonding *bond) in bond_uses_primary()
352 static inline struct net_device *bond_option_active_slave_get_rcu(struct bonding *bond) in bond_option_active_slave_get_rcu()
401 static inline void bond_slave_state_change(struct bonding *bond) in bond_slave_state_change()
414 static inline void bond_slave_state_notify(struct bonding *bond) in bond_slave_state_notify()
491 static inline int slave_do_arp_validate(struct bonding *bond, in slave_do_arp_validate()
497 static inline int slave_do_arp_validate_only(struct bonding *bond) in slave_do_arp_validate_only()
519 static inline unsigned long slave_oldest_target_arp_rx(struct bonding *bond, in slave_oldest_target_arp_rx()
532 static inline unsigned long slave_last_rx(struct bonding *bond, in slave_last_rx()
638 static inline void bond_slave_link_notify(struct bonding *bond) in bond_slave_link_notify()
717 static inline void bond_create_proc_entry(struct bonding *bond) in bond_create_proc_entry()
721 static inline void bond_remove_proc_entry(struct bonding *bond) in bond_remove_proc_entry()
734 static inline struct slave *bond_slave_has_mac(struct bonding *bond, in bond_slave_has_mac()
748 static inline bool bond_slave_has_mac_rcu(struct bonding *bond, const u8 *mac) in bond_slave_has_mac_rcu()