Searched refs:hardif_obj (Results 1 – 4 of 4) sorted by relevance
51 int batadv_sysfs_add_hardif(struct kobject **hardif_obj,53 void batadv_sysfs_del_hardif(struct kobject **hardif_obj);70 static inline int batadv_sysfs_add_hardif(struct kobject **hardif_obj, in batadv_sysfs_add_hardif() argument76 static inline void batadv_sysfs_del_hardif(struct kobject **hardif_obj) in batadv_sysfs_del_hardif() argument
1227 int batadv_sysfs_add_hardif(struct kobject **hardif_obj, struct net_device *dev) in batadv_sysfs_add_hardif() argument1233 *hardif_obj = kobject_create_and_add(BATADV_SYSFS_IF_BAT_SUBDIR, in batadv_sysfs_add_hardif()1236 if (!*hardif_obj) { in batadv_sysfs_add_hardif()1243 err = sysfs_create_file(*hardif_obj, &((*bat_attr)->attr)); in batadv_sysfs_add_hardif()1256 sysfs_remove_file(*hardif_obj, &((*bat_attr)->attr)); in batadv_sysfs_add_hardif()1266 void batadv_sysfs_del_hardif(struct kobject **hardif_obj) in batadv_sysfs_del_hardif() argument1268 kobject_uevent(*hardif_obj, KOBJ_REMOVE); in batadv_sysfs_del_hardif()1269 kobject_del(*hardif_obj); in batadv_sysfs_del_hardif()1270 kobject_put(*hardif_obj); in batadv_sysfs_del_hardif()1271 *hardif_obj = NULL; in batadv_sysfs_del_hardif()
946 ret = batadv_sysfs_add_hardif(&hard_iface->hardif_obj, net_dev); in batadv_hardif_add_interface()1001 batadv_sysfs_del_hardif(&hard_iface->hardif_obj); in batadv_hardif_remove_interface()
191 struct kobject *hardif_obj; member