• 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()
797 struct batadv_hard_iface *hard_iface, in batadv_netlink_hardif_fill() argument
802 struct net_device *net_dev = hard_iface->net_dev; in batadv_netlink_hardif_fill()
824 if (hard_iface->if_status == BATADV_IF_ACTIVE) { in batadv_netlink_hardif_fill()
830 atomic_read(&hard_iface->hop_penalty))) in batadv_netlink_hardif_fill()
835 atomic_read(&hard_iface->bat_v.elp_interval))) in batadv_netlink_hardif_fill()
839 atomic_read(&hard_iface->bat_v.throughput_override))) in batadv_netlink_hardif_fill()
859 struct batadv_hard_iface *hard_iface) in batadv_netlink_notify_hardif() argument
868 ret = batadv_netlink_hardif_fill(msg, bat_priv, hard_iface, in batadv_netlink_notify_hardif()
892 struct batadv_hard_iface *hard_iface = info->user_ptr[1]; in batadv_netlink_get_hardif() local
901 ret = batadv_netlink_hardif_fill(msg, bat_priv, hard_iface, in batadv_netlink_get_hardif()
925 struct batadv_hard_iface *hard_iface = info->user_ptr[1]; in batadv_netlink_set_hardif() local
932 atomic_set(&hard_iface->hop_penalty, nla_get_u8(attr)); in batadv_netlink_set_hardif()
940 atomic_set(&hard_iface->bat_v.elp_interval, nla_get_u32(attr)); in batadv_netlink_set_hardif()
946 atomic_set(&hard_iface->bat_v.throughput_override, in batadv_netlink_set_hardif()
951 batadv_netlink_notify_hardif(bat_priv, hard_iface); in batadv_netlink_set_hardif()
968 struct batadv_hard_iface *hard_iface; in batadv_netlink_dump_hardif() local
994 list_for_each_entry(hard_iface, &batadv_hardif_list, list) { in batadv_netlink_dump_hardif()
995 if (hard_iface->soft_iface != soft_iface) in batadv_netlink_dump_hardif()
1001 if (batadv_netlink_hardif_fill(msg, bat_priv, hard_iface, in batadv_netlink_dump_hardif()
1194 struct batadv_hard_iface *hard_iface; in batadv_get_hardif_from_info() local
1207 hard_iface = batadv_hardif_get_by_netdev(hard_dev); in batadv_get_hardif_from_info()
1208 if (!hard_iface) in batadv_get_hardif_from_info()
1211 if (hard_iface->soft_iface != bat_priv->soft_iface) in batadv_get_hardif_from_info()
1217 return hard_iface; in batadv_get_hardif_from_info()
1220 batadv_hardif_put(hard_iface); in batadv_get_hardif_from_info()
1267 struct batadv_hard_iface *hard_iface; in batadv_pre_doit() local
1294 hard_iface = batadv_get_hardif_from_info(bat_priv, net, info); in batadv_pre_doit()
1295 if (IS_ERR(hard_iface)) { in batadv_pre_doit()
1296 ret = PTR_ERR(hard_iface); in batadv_pre_doit()
1300 info->user_ptr[1] = hard_iface; in batadv_pre_doit()
1331 struct batadv_hard_iface *hard_iface; in batadv_post_doit() local
1337 hard_iface = info->user_ptr[1]; in batadv_post_doit()
1339 batadv_hardif_put(hard_iface); in batadv_post_doit()