• Home
  • Raw
  • Download

Lines Matching refs:hard_iface

234 	struct net_device *hard_iface;  in batadv_netlink_mesh_fill()  local
263 hard_iface = primary_if->net_dev; in batadv_netlink_mesh_fill()
266 hard_iface->ifindex) || in batadv_netlink_mesh_fill()
268 hard_iface->name) || in batadv_netlink_mesh_fill()
270 hard_iface->dev_addr)) in batadv_netlink_mesh_fill()
800 struct batadv_hard_iface *hard_iface, in batadv_netlink_hardif_fill() argument
805 struct net_device *net_dev = hard_iface->net_dev; in batadv_netlink_hardif_fill()
827 if (hard_iface->if_status == BATADV_IF_ACTIVE) { in batadv_netlink_hardif_fill()
834 atomic_read(&hard_iface->bat_v.elp_interval))) in batadv_netlink_hardif_fill()
838 atomic_read(&hard_iface->bat_v.throughput_override))) in batadv_netlink_hardif_fill()
858 struct batadv_hard_iface *hard_iface) in batadv_netlink_notify_hardif() argument
867 ret = batadv_netlink_hardif_fill(msg, bat_priv, hard_iface, in batadv_netlink_notify_hardif()
891 struct batadv_hard_iface *hard_iface = info->user_ptr[1]; in batadv_netlink_get_hardif() local
900 ret = batadv_netlink_hardif_fill(msg, bat_priv, hard_iface, in batadv_netlink_get_hardif()
924 struct batadv_hard_iface *hard_iface = info->user_ptr[1]; in batadv_netlink_set_hardif() local
933 atomic_set(&hard_iface->bat_v.elp_interval, nla_get_u32(attr)); in batadv_netlink_set_hardif()
939 atomic_set(&hard_iface->bat_v.throughput_override, in batadv_netlink_set_hardif()
944 batadv_netlink_notify_hardif(bat_priv, hard_iface); in batadv_netlink_set_hardif()
961 struct batadv_hard_iface *hard_iface; in batadv_netlink_dump_hardif() local
987 list_for_each_entry(hard_iface, &batadv_hardif_list, list) { in batadv_netlink_dump_hardif()
988 if (hard_iface->soft_iface != soft_iface) in batadv_netlink_dump_hardif()
994 if (batadv_netlink_hardif_fill(msg, bat_priv, hard_iface, in batadv_netlink_dump_hardif()
1187 struct batadv_hard_iface *hard_iface; in batadv_get_hardif_from_info() local
1200 hard_iface = batadv_hardif_get_by_netdev(hard_dev); in batadv_get_hardif_from_info()
1201 if (!hard_iface) in batadv_get_hardif_from_info()
1204 if (hard_iface->soft_iface != bat_priv->soft_iface) in batadv_get_hardif_from_info()
1210 return hard_iface; in batadv_get_hardif_from_info()
1213 batadv_hardif_put(hard_iface); in batadv_get_hardif_from_info()
1260 struct batadv_hard_iface *hard_iface; in batadv_pre_doit() local
1287 hard_iface = batadv_get_hardif_from_info(bat_priv, net, info); in batadv_pre_doit()
1288 if (IS_ERR(hard_iface)) { in batadv_pre_doit()
1289 ret = PTR_ERR(hard_iface); in batadv_pre_doit()
1293 info->user_ptr[1] = hard_iface; in batadv_pre_doit()
1324 struct batadv_hard_iface *hard_iface; in batadv_post_doit() local
1330 hard_iface = info->user_ptr[1]; in batadv_post_doit()
1332 batadv_hardif_put(hard_iface); in batadv_post_doit()