Searched refs:bond_net (Results 1 – 4 of 4) sorted by relevance
| /linux/include/net/ |
| H A D | bonding.h | 671 struct bond_net { struct 683 int bond_create_sysfs(struct bond_net *net); argument 684 void bond_destroy_sysfs(struct bond_net *net); 722 void bond_create_proc_dir(struct bond_net *bn); 723 void bond_destroy_proc_dir(struct bond_net *bn); 733 static inline void bond_create_proc_dir(struct bond_net *bn) in bond_create_proc_dir() 737 static inline void bond_destroy_proc_dir(struct bond_net *bn) in bond_destroy_proc_dir()
|
| /linux/drivers/net/bonding/ |
| H A D | bond_procfs.c | 286 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_create_proc_entry() 302 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_remove_proc_entry() 314 void __net_init bond_create_proc_dir(struct bond_net *bn) in bond_create_proc_dir() 326 void __net_exit bond_destroy_proc_dir(struct bond_net *bn) in bond_destroy_proc_dir()
|
| H A D | bond_sysfs.c | 38 const struct bond_net *bn = in bonding_show_bonds() 39 container_of_const(attr, struct bond_net, class_attr_bonding_masters); in bonding_show_bonds() 62 static struct net_device *bond_get_by_name(const struct bond_net *bn, const char *ifname) in bond_get_by_name() 82 const struct bond_net *bn = in bonding_store_bonds() 83 container_of_const(attr, struct bond_net, class_attr_bonding_masters); in bonding_store_bonds() 803 int __net_init bond_create_sysfs(struct bond_net *bn) in bond_create_sysfs() 836 void __net_exit bond_destroy_sysfs(struct bond_net *bn) in bond_destroy_sysfs()
|
| H A D | bond_main.c | 6469 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_init() 6542 struct bond_net *bn = net_generic(net, bond_net_id); in bond_net_init() 6559 struct bond_net *bn = net_generic(net, bond_net_id); in bond_net_pre_exit() 6567 struct bond_net *bn = net_generic(net, bond_net_id); in bond_net_exit_rtnl() 6581 struct bond_net *bn; in bond_net_exit_batch() 6596 .size = sizeof(struct bond_net),
|