Lines Matching refs:kobject
48 static struct net_device *batadv_kobj_to_netdev(struct kobject *obj) in batadv_kobj_to_netdev()
55 static struct batadv_priv *batadv_kobj_to_batpriv(struct kobject *obj) in batadv_kobj_to_batpriv()
68 static struct batadv_priv *batadv_vlan_kobj_to_batpriv(struct kobject *obj) in batadv_vlan_kobj_to_batpriv()
89 batadv_kobj_to_vlan(struct batadv_priv *bat_priv, struct kobject *obj) in batadv_kobj_to_vlan()
142 ssize_t batadv_store_##_name(struct kobject *kobj, \
154 ssize_t batadv_show_##_name(struct kobject *kobj, \
174 ssize_t batadv_store_##_name(struct kobject *kobj, \
187 ssize_t batadv_show_##_name(struct kobject *kobj, \
205 ssize_t batadv_store_vlan_##_name(struct kobject *kobj, \
221 ssize_t batadv_show_vlan_##_name(struct kobject *kobj, \
349 static ssize_t batadv_show_bat_algo(struct kobject *kobj, in batadv_show_bat_algo()
364 static ssize_t batadv_show_gw_mode(struct kobject *kobj, struct attribute *attr, in batadv_show_gw_mode()
388 static ssize_t batadv_store_gw_mode(struct kobject *kobj, in batadv_store_gw_mode()
456 static ssize_t batadv_show_gw_bwidth(struct kobject *kobj, in batadv_show_gw_bwidth()
469 static ssize_t batadv_store_gw_bwidth(struct kobject *kobj, in batadv_store_gw_bwidth()
490 static ssize_t batadv_show_isolation_mark(struct kobject *kobj, in batadv_show_isolation_mark()
509 static ssize_t batadv_store_isolation_mark(struct kobject *kobj, in batadv_store_isolation_mark()
625 struct kobject *batif_kobject = &dev->dev.kobj; in batadv_sysfs_add_meshif()
747 static ssize_t batadv_show_mesh_iface(struct kobject *kobj, in batadv_show_mesh_iface()
771 static ssize_t batadv_store_mesh_iface(struct kobject *kobj, in batadv_store_mesh_iface()
828 static ssize_t batadv_show_iface_status(struct kobject *kobj, in batadv_show_iface_status()
873 int batadv_sysfs_add_hardif(struct kobject **hardif_obj, struct net_device *dev) in batadv_sysfs_add_hardif()
875 struct kobject *hardif_kobject = &dev->dev.kobj; in batadv_sysfs_add_hardif()
907 void batadv_sysfs_del_hardif(struct kobject **hardif_obj) in batadv_sysfs_del_hardif()
917 struct kobject *bat_kobj; in batadv_throw_uevent()