Lines Matching defs:bond

53 #define BOND_MODE(bond) ((bond)->params.mode)  argument
56 #define bond_slave_list(bond) (&(bond)->dev->adj_list.lower) argument
58 #define bond_has_slaves(bond) !list_empty(bond_slave_list(bond)) argument
61 #define bond_first_slave(bond) \ argument
65 #define bond_last_slave(bond) \ argument
71 #define bond_first_slave_rcu(bond) \ argument
74 #define bond_is_first_slave(bond, pos) (pos == bond_first_slave(bond)) argument
75 #define bond_is_last_slave(bond, pos) (pos == bond_last_slave(bond)) argument
85 #define bond_for_each_slave(bond, pos, iter) \ argument
89 #define bond_for_each_slave_rcu(bond, pos, iter) \ argument
162 struct bonding *bond; /* our master */ member
290 static inline struct slave *bond_get_slave_by_dev(struct bonding *bond, in bond_get_slave_by_dev()
301 static inline bool bond_should_override_tx_queue(struct bonding *bond) in bond_should_override_tx_queue()
307 static inline bool bond_is_lb(const struct bonding *bond) in bond_is_lb()
313 static inline bool bond_needs_speed_duplex(const struct bonding *bond) in bond_needs_speed_duplex()
318 static inline bool bond_is_nondyn_tlb(const struct bonding *bond) in bond_is_nondyn_tlb()
323 static inline bool bond_mode_can_use_xmit_hash(const struct bonding *bond) in bond_mode_can_use_xmit_hash()
331 static inline bool bond_mode_uses_xmit_hash(const struct bonding *bond) in bond_mode_uses_xmit_hash()
350 static inline bool bond_uses_primary(struct bonding *bond) in bond_uses_primary()
355 static inline struct net_device *bond_option_active_slave_get_rcu(struct bonding *bond) in bond_option_active_slave_get_rcu()
404 static inline void bond_slave_state_change(struct bonding *bond) in bond_slave_state_change()
417 static inline void bond_slave_state_notify(struct bonding *bond) in bond_slave_state_notify()
494 static inline int slave_do_arp_validate(struct bonding *bond, in slave_do_arp_validate()
500 static inline int slave_do_arp_validate_only(struct bonding *bond) in slave_do_arp_validate_only()
522 static inline unsigned long slave_oldest_target_arp_rx(struct bonding *bond, in slave_oldest_target_arp_rx()
535 static inline unsigned long slave_last_rx(struct bonding *bond, in slave_last_rx()
620 static inline void bond_slave_link_notify(struct bonding *bond) in bond_slave_link_notify()
698 static inline void bond_create_proc_entry(struct bonding *bond) in bond_create_proc_entry()
702 static inline void bond_remove_proc_entry(struct bonding *bond) in bond_remove_proc_entry()
715 static inline struct slave *bond_slave_has_mac(struct bonding *bond, in bond_slave_has_mac()
729 static inline bool bond_slave_has_mac_rx(struct bonding *bond, const u8 *mac) in bond_slave_has_mac_rx()