Home
last modified time | relevance | path

Searched refs:bond_net (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/include/net/
Dbonding.h594 struct bond_net { struct
606 int bond_create_sysfs(struct bond_net *net); argument
607 void bond_destroy_sysfs(struct bond_net *net);
640 void bond_create_proc_dir(struct bond_net *bn);
641 void bond_destroy_proc_dir(struct bond_net *bn);
651 static inline void bond_create_proc_dir(struct bond_net *bn) in bond_create_proc_dir()
655 static inline void bond_destroy_proc_dir(struct bond_net *bn) in bond_destroy_proc_dir()
/Linux-v4.19/drivers/net/bonding/
Dbond_procfs.c263 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_create_proc_entry()
279 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_remove_proc_entry()
291 void __net_init bond_create_proc_dir(struct bond_net *bn) in bond_create_proc_dir()
304 void __net_exit bond_destroy_proc_dir(struct bond_net *bn) in bond_destroy_proc_dir()
Dbond_sysfs.c54 struct bond_net *bn = in bonding_show_bonds()
55 container_of(attr, struct bond_net, class_attr_bonding_masters); in bonding_show_bonds()
78 static struct net_device *bond_get_by_name(struct bond_net *bn, const char *ifname) in bond_get_by_name()
98 struct bond_net *bn = in bonding_store_bonds()
99 container_of(attr, struct bond_net, class_attr_bonding_masters); in bonding_store_bonds()
774 int bond_create_sysfs(struct bond_net *bn) in bond_create_sysfs()
807 void bond_destroy_sysfs(struct bond_net *bn) in bond_destroy_sysfs()
Dbond_main.c4732 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_init()
4810 struct bond_net *bn = net_generic(net, bond_net_id); in bond_net_init()
4823 struct bond_net *bn = net_generic(net, bond_net_id); in bond_net_exit()
4843 .size = sizeof(struct bond_net),