Lines Matching refs:ifinfo1
456 struct batadv_neigh_ifinfo *ifinfo1, *ifinfo2; in batadv_v_neigh_cmp() local
459 ifinfo1 = batadv_neigh_ifinfo_get(neigh1, if_outgoing1); in batadv_v_neigh_cmp()
460 if (!ifinfo1) in batadv_v_neigh_cmp()
467 ret = ifinfo1->bat_v.throughput - ifinfo2->bat_v.throughput; in batadv_v_neigh_cmp()
471 batadv_neigh_ifinfo_put(ifinfo1); in batadv_v_neigh_cmp()
481 struct batadv_neigh_ifinfo *ifinfo1, *ifinfo2; in batadv_v_neigh_is_sob() local
485 ifinfo1 = batadv_neigh_ifinfo_get(neigh1, if_outgoing1); in batadv_v_neigh_is_sob()
486 if (!ifinfo1) in batadv_v_neigh_is_sob()
493 threshold = ifinfo1->bat_v.throughput / 4; in batadv_v_neigh_is_sob()
494 threshold = ifinfo1->bat_v.throughput - threshold; in batadv_v_neigh_is_sob()
500 batadv_neigh_ifinfo_put(ifinfo1); in batadv_v_neigh_is_sob()