Home
last modified time | relevance | path

Searched refs:bond_net (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/include/net/
H A Dbonding.h621 struct bond_net { struct
633 int bond_create_sysfs(struct bond_net *net);
634 void bond_destroy_sysfs(struct bond_net *net);
667 void bond_create_proc_dir(struct bond_net *bn);
668 void bond_destroy_proc_dir(struct bond_net *bn);
678 static inline void bond_create_proc_dir(struct bond_net *bn) in bond_create_proc_dir()
682 static inline void bond_destroy_proc_dir(struct bond_net *bn) in bond_destroy_proc_dir()
/kernel/linux/linux-6.6/include/net/
H A Dbonding.h644 struct bond_net { struct
656 int bond_create_sysfs(struct bond_net *net);
657 void bond_destroy_sysfs(struct bond_net *net);
691 void bond_create_proc_dir(struct bond_net *bn);
692 void bond_destroy_proc_dir(struct bond_net *bn);
702 static inline void bond_create_proc_dir(struct bond_net *bn) in bond_create_proc_dir()
706 static inline void bond_destroy_proc_dir(struct bond_net *bn) in bond_destroy_proc_dir()
/kernel/linux/linux-5.10/drivers/net/bonding/
H A Dbond_procfs.c265 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_create_proc_entry()
281 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_remove_proc_entry()
293 void __net_init bond_create_proc_dir(struct bond_net *bn) in bond_create_proc_dir()
306 void __net_exit bond_destroy_proc_dir(struct bond_net *bn) in bond_destroy_proc_dir()
H A Dbond_sysfs.c38 struct bond_net *bn = in bonding_show_bonds()
39 container_of(attr, struct bond_net, class_attr_bonding_masters); in bonding_show_bonds()
62 static struct net_device *bond_get_by_name(struct bond_net *bn, const char *ifname) in bond_get_by_name()
82 struct bond_net *bn = in bonding_store_bonds()
83 container_of(attr, struct bond_net, class_attr_bonding_masters); in bonding_store_bonds()
771 int bond_create_sysfs(struct bond_net *bn) in bond_create_sysfs()
804 void bond_destroy_sysfs(struct bond_net *bn) in bond_destroy_sysfs()
H A Dbond_main.c5373 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_init()
5457 struct bond_net *bn = net_generic(net, bond_net_id); in bond_net_init()
5470 struct bond_net *bn = net_generic(net, bond_net_id); in bond_net_exit()
5490 .size = sizeof(struct bond_net),
/kernel/linux/linux-6.6/drivers/net/bonding/
H A Dbond_procfs.c286 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 Dbond_sysfs.c38 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()
806 int __net_init bond_create_sysfs(struct bond_net *bn) in bond_create_sysfs()
839 void __net_exit bond_destroy_sysfs(struct bond_net *bn) in bond_destroy_sysfs()
H A Dbond_main.c6359 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_init()
6431 struct bond_net *bn = net_generic(net, bond_net_id); in bond_net_init()
6444 struct bond_net *bn; in bond_net_exit_batch()
6475 .size = sizeof(struct bond_net),

Completed in 20 milliseconds