Home
last modified time | relevance | path

Searched refs:mesh_obj (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/net/batman-adv/
Dsysfs.c808 bat_priv->mesh_obj = kobject_create_and_add(BATADV_SYSFS_IF_MESH_SUBDIR, in batadv_sysfs_add_meshif()
810 if (!bat_priv->mesh_obj) { in batadv_sysfs_add_meshif()
817 err = sysfs_create_file(bat_priv->mesh_obj, in batadv_sysfs_add_meshif()
831 sysfs_remove_file(bat_priv->mesh_obj, &((*bat_attr)->attr)); in batadv_sysfs_add_meshif()
833 kobject_uevent(bat_priv->mesh_obj, KOBJ_REMOVE); in batadv_sysfs_add_meshif()
834 kobject_del(bat_priv->mesh_obj); in batadv_sysfs_add_meshif()
835 kobject_put(bat_priv->mesh_obj); in batadv_sysfs_add_meshif()
836 bat_priv->mesh_obj = NULL; in batadv_sysfs_add_meshif()
851 sysfs_remove_file(bat_priv->mesh_obj, &((*bat_attr)->attr)); in batadv_sysfs_del_meshif()
853 kobject_uevent(bat_priv->mesh_obj, KOBJ_REMOVE); in batadv_sysfs_del_meshif()
[all …]
Dtypes.h1671 struct kobject *mesh_obj; member