Lines Matching refs:kobject
29 static struct net_device *batadv_kobj_to_netdev(struct kobject *obj) in batadv_kobj_to_netdev()
36 static struct batadv_priv *batadv_kobj_to_batpriv(struct kobject *obj) in batadv_kobj_to_batpriv()
49 static struct batadv_priv *batadv_vlan_kobj_to_batpriv(struct kobject *obj) in batadv_vlan_kobj_to_batpriv()
70 batadv_kobj_to_vlan(struct batadv_priv *bat_priv, struct kobject *obj) in batadv_kobj_to_vlan()
123 ssize_t batadv_store_##_name(struct kobject *kobj, \
135 ssize_t batadv_show_##_name(struct kobject *kobj, \
155 ssize_t batadv_store_##_name(struct kobject *kobj, \
168 ssize_t batadv_show_##_name(struct kobject *kobj, \
186 ssize_t batadv_store_vlan_##_name(struct kobject *kobj, \
202 ssize_t batadv_show_vlan_##_name(struct kobject *kobj, \
330 static ssize_t batadv_show_bat_algo(struct kobject *kobj, in batadv_show_bat_algo()
345 static ssize_t batadv_show_gw_mode(struct kobject *kobj, struct attribute *attr, in batadv_show_gw_mode()
369 static ssize_t batadv_store_gw_mode(struct kobject *kobj, in batadv_store_gw_mode()
437 static ssize_t batadv_show_gw_bwidth(struct kobject *kobj, in batadv_show_gw_bwidth()
450 static ssize_t batadv_store_gw_bwidth(struct kobject *kobj, in batadv_store_gw_bwidth()
471 static ssize_t batadv_show_isolation_mark(struct kobject *kobj, in batadv_show_isolation_mark()
490 static ssize_t batadv_store_isolation_mark(struct kobject *kobj, in batadv_store_isolation_mark()
605 struct kobject *batif_kobject = &dev->dev.kobj; in batadv_sysfs_add_meshif()
727 static ssize_t batadv_show_mesh_iface(struct kobject *kobj, in batadv_show_mesh_iface()
751 static ssize_t batadv_store_mesh_iface(struct kobject *kobj, in batadv_store_mesh_iface()
808 static ssize_t batadv_show_iface_status(struct kobject *kobj, in batadv_show_iface_status()
853 int batadv_sysfs_add_hardif(struct kobject **hardif_obj, struct net_device *dev) in batadv_sysfs_add_hardif()
855 struct kobject *hardif_kobject = &dev->dev.kobj; in batadv_sysfs_add_hardif()
887 void batadv_sysfs_del_hardif(struct kobject **hardif_obj) in batadv_sysfs_del_hardif()
897 struct kobject *bat_kobj; in batadv_throw_uevent()