Searched refs:hop_penalty (Results 1 – 6 of 6) sorted by relevance
479 int if_hop_penalty = atomic_read(&if_incoming->hop_penalty); in batadv_v_forward_penalty()480 int hop_penalty = atomic_read(&bat_priv->hop_penalty); in batadv_v_forward_penalty() local501 return throughput * (hop_penalty_max - hop_penalty) / hop_penalty_max; in batadv_v_forward_penalty()
333 atomic_read(&bat_priv->hop_penalty))) in batadv_netlink_mesh_fill()569 atomic_set(&bat_priv->hop_penalty, nla_get_u8(attr)); in batadv_netlink_set_mesh()833 atomic_read(&hard_iface->hop_penalty))) in batadv_netlink_hardif_fill()935 atomic_set(&hard_iface->hop_penalty, nla_get_u8(attr)); in batadv_netlink_set_hardif()
211 atomic_t hop_penalty; member1619 atomic_t hop_penalty; member
297 int hop_penalty = atomic_read(&bat_priv->hop_penalty); in batadv_hop_penalty() local300 new_tq = tq * (BATADV_TQ_MAX_VALUE - hop_penalty); in batadv_hop_penalty()1156 tq_iface_hop_penalty -= atomic_read(&if_incoming->hop_penalty); in batadv_iv_ogm_calc_tq()
884 atomic_set(&hard_iface->hop_penalty, 0); in batadv_hardif_add_interface()
769 atomic_set(&bat_priv->hop_penalty, 30); in batadv_softif_init_late()