Lines Matching refs:gw
310 atomic_read(&bat_priv->gw.bandwidth_down))) in batadv_netlink_mesh_fill()
314 atomic_read(&bat_priv->gw.bandwidth_up))) in batadv_netlink_mesh_fill()
318 atomic_read(&bat_priv->gw.mode))) in batadv_netlink_mesh_fill()
321 if (bat_priv->algo_ops->gw.get_best_gw_node && in batadv_netlink_mesh_fill()
322 bat_priv->algo_ops->gw.is_eligible) { in batadv_netlink_mesh_fill()
327 atomic_read(&bat_priv->gw.sel_class))) in batadv_netlink_mesh_fill()
508 atomic_set(&bat_priv->gw.bandwidth_down, nla_get_u32(attr)); in batadv_netlink_set_mesh()
515 atomic_set(&bat_priv->gw.bandwidth_up, nla_get_u32(attr)); in batadv_netlink_set_mesh()
543 atomic_set(&bat_priv->gw.mode, gw_mode); in batadv_netlink_set_mesh()
549 bat_priv->algo_ops->gw.get_best_gw_node && in batadv_netlink_set_mesh()
550 bat_priv->algo_ops->gw.is_eligible) { in batadv_netlink_set_mesh()
561 if (!bat_priv->algo_ops->gw.store_sel_class) in batadv_netlink_set_mesh()
565 atomic_set(&bat_priv->gw.sel_class, sel_class); in batadv_netlink_set_mesh()