• Home
  • Raw
  • Download

Lines Matching refs:kobj

32 	struct device *dev = container_of(obj->parent, struct device, kobj);  in batadv_kobj_to_netdev()
66 ssize_t batadv_store_##_name(struct kobject *kobj, \
70 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); \
77 ssize_t batadv_show_##_name(struct kobject *kobj, \
80 struct batadv_priv *bat_priv = batadv_kobj_to_batpriv(kobj); \
97 ssize_t batadv_store_##_name(struct kobject *kobj, \
101 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); \
109 ssize_t batadv_show_##_name(struct kobject *kobj, \
112 struct batadv_priv *bat_priv = batadv_kobj_to_batpriv(kobj); \
233 static ssize_t batadv_show_vis_mode(struct kobject *kobj, in batadv_show_vis_mode() argument
236 struct batadv_priv *bat_priv = batadv_kobj_to_batpriv(kobj); in batadv_show_vis_mode()
248 static ssize_t batadv_store_vis_mode(struct kobject *kobj, in batadv_store_vis_mode() argument
252 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); in batadv_store_vis_mode()
301 static ssize_t batadv_show_bat_algo(struct kobject *kobj, in batadv_show_bat_algo() argument
304 struct batadv_priv *bat_priv = batadv_kobj_to_batpriv(kobj); in batadv_show_bat_algo()
314 static ssize_t batadv_show_gw_mode(struct kobject *kobj, struct attribute *attr, in batadv_show_gw_mode() argument
317 struct batadv_priv *bat_priv = batadv_kobj_to_batpriv(kobj); in batadv_show_gw_mode()
338 static ssize_t batadv_store_gw_mode(struct kobject *kobj, in batadv_store_gw_mode() argument
342 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); in batadv_store_gw_mode()
392 static ssize_t batadv_show_gw_bwidth(struct kobject *kobj, in batadv_show_gw_bwidth() argument
395 struct batadv_priv *bat_priv = batadv_kobj_to_batpriv(kobj); in batadv_show_gw_bwidth()
407 static ssize_t batadv_store_gw_bwidth(struct kobject *kobj, in batadv_store_gw_bwidth() argument
411 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); in batadv_store_gw_bwidth()
478 struct kobject *batif_kobject = &dev->dev.kobj; in batadv_sysfs_add_meshif()
526 static ssize_t batadv_show_mesh_iface(struct kobject *kobj, in batadv_show_mesh_iface() argument
529 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); in batadv_show_mesh_iface()
550 static ssize_t batadv_store_mesh_iface(struct kobject *kobj, in batadv_store_mesh_iface() argument
554 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); in batadv_store_mesh_iface()
607 static ssize_t batadv_show_iface_status(struct kobject *kobj, in batadv_show_iface_status() argument
610 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); in batadv_show_iface_status()
654 struct kobject *hardif_kobject = &dev->dev.kobj; in batadv_sysfs_add_hardif()
699 bat_kobj = &bat_priv->soft_iface->dev.kobj; in batadv_throw_uevent()