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
160 struct bonding *bond; /* our master */ member
286 static inline struct slave *bond_get_slave_by_dev(struct bonding *bond, in bond_get_slave_by_dev()
297 static inline bool bond_should_override_tx_queue(struct bonding *bond) in bond_should_override_tx_queue()
303 static inline bool bond_is_lb(const struct bonding *bond) in bond_is_lb()
309 static inline bool bond_needs_speed_duplex(const struct bonding *bond) in bond_needs_speed_duplex()
314 static inline bool bond_is_nondyn_tlb(const struct bonding *bond) in bond_is_nondyn_tlb()
319 static inline bool bond_mode_can_use_xmit_hash(const struct bonding *bond) in bond_mode_can_use_xmit_hash()
327 static inline bool bond_mode_uses_xmit_hash(const struct bonding *bond) in bond_mode_uses_xmit_hash()
346 static inline bool bond_uses_primary(struct bonding *bond) in bond_uses_primary()
351 static inline struct net_device *bond_option_active_slave_get_rcu(struct bonding *bond) in bond_option_active_slave_get_rcu()
400 static inline void bond_slave_state_change(struct bonding *bond) in bond_slave_state_change()
413 static inline void bond_slave_state_notify(struct bonding *bond) in bond_slave_state_notify()
490 static inline int slave_do_arp_validate(struct bonding *bond, in slave_do_arp_validate()
496 static inline int slave_do_arp_validate_only(struct bonding *bond) in slave_do_arp_validate_only()
518 static inline unsigned long slave_oldest_target_arp_rx(struct bonding *bond, in slave_oldest_target_arp_rx()
531 static inline unsigned long slave_last_rx(struct bonding *bond, in slave_last_rx()
616 static inline void bond_slave_link_notify(struct bonding *bond) in bond_slave_link_notify()
694 static inline void bond_create_proc_entry(struct bonding *bond) in bond_create_proc_entry()
698 static inline void bond_remove_proc_entry(struct bonding *bond) in bond_remove_proc_entry()
711 static inline struct slave *bond_slave_has_mac(struct bonding *bond, in bond_slave_has_mac()
725 static inline bool bond_slave_has_mac_rx(struct bonding *bond, const u8 *mac) in bond_slave_has_mac_rx()