Lines Matching full:bond
20 struct bonding *bond = m->private;
21 struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond));
25 if (BOND_MODE(bond) != BOND_MODE_ALB)
31 spin_lock_bh(&bond->mode_lock);
44 spin_unlock_bh(&bond->mode_lock);
50 void bond_debug_register(struct bonding *bond)
52 bond->debug_dir =
53 debugfs_create_dir(bond->dev->name, bonding_debug_root);
55 debugfs_create_file("rlb_hash_table", 0400, bond->debug_dir,
56 bond, &bond_debug_rlb_hash_fops);
59 void bond_debug_unregister(struct bonding *bond)
61 debugfs_remove_recursive(bond->debug_dir);
64 void bond_debug_reregister(struct bonding *bond)
66 int err = debugfs_change_name(bond->debug_dir, "%s", bond->dev->name);
68 netdev_warn(bond->dev, "failed to reregister, so just unregister old one\n");
69 bond_debug_unregister(bond);
90 void bond_debug_register(struct bonding *bond)
94 void bond_debug_unregister(struct bonding *bond)
98 void bond_debug_reregister(struct bonding *bond)