Home
last modified time | relevance | path

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

/linux-3.4.99/net/batman-adv/
Dbat_sysfs.h39 int sysfs_add_hardif(struct kobject **hardif_obj, struct net_device *dev);
40 void sysfs_del_hardif(struct kobject **hardif_obj);
Dbat_sysfs.c590 int sysfs_add_hardif(struct kobject **hardif_obj, struct net_device *dev) in sysfs_add_hardif() argument
596 *hardif_obj = kobject_create_and_add(SYSFS_IF_BAT_SUBDIR, in sysfs_add_hardif()
599 if (!*hardif_obj) { in sysfs_add_hardif()
606 err = sysfs_create_file(*hardif_obj, &((*bat_attr)->attr)); in sysfs_add_hardif()
619 sysfs_remove_file(*hardif_obj, &((*bat_attr)->attr)); in sysfs_add_hardif()
624 void sysfs_del_hardif(struct kobject **hardif_obj) in sysfs_del_hardif() argument
626 kobject_put(*hardif_obj); in sysfs_del_hardif()
627 *hardif_obj = NULL; in sysfs_del_hardif()
Dhard-interface.c435 ret = sysfs_add_hardif(&hard_iface->hardif_obj, net_dev); in hardif_add_interface()
472 sysfs_del_hardif(&hard_iface->hardif_obj); in hardif_remove_interface()
Dtypes.h45 struct kobject *hardif_obj; member