Lines Matching refs:orig_node
132 batadv_v_orig_print_neigh(struct batadv_orig_node *orig_node, in batadv_v_orig_print_neigh() argument
139 hlist_for_each_entry_rcu(neigh_node, &orig_node->neigh_list, list) { in batadv_v_orig_print_neigh()
354 struct batadv_orig_node *orig_node; in batadv_v_orig_print() local
368 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_v_orig_print()
369 neigh_node = batadv_orig_router_get(orig_node, in batadv_v_orig_print()
379 last_seen_jiffies = jiffies - orig_node->last_seen; in batadv_v_orig_print()
385 orig_node->orig, last_seen_secs, in batadv_v_orig_print()
392 batadv_v_orig_print_neigh(orig_node, if_outgoing, seq); in batadv_v_orig_print()
426 struct batadv_orig_node *orig_node, in batadv_v_orig_dump_subentry() argument
443 last_seen_msecs = jiffies_to_msecs(jiffies - orig_node->last_seen); in batadv_v_orig_dump_subentry()
454 if (nla_put(msg, BATADV_ATTR_ORIG_ADDRESS, ETH_ALEN, orig_node->orig) || in batadv_v_orig_dump_subentry()
493 struct batadv_orig_node *orig_node, int *sub_s) in batadv_v_orig_dump_entry() argument
500 neigh_node_best = batadv_orig_router_get(orig_node, if_outgoing); in batadv_v_orig_dump_entry()
504 hlist_for_each_entry_rcu(neigh_node, &orig_node->neigh_list, list) { in batadv_v_orig_dump_entry()
511 if_outgoing, orig_node, in batadv_v_orig_dump_entry()
547 struct batadv_orig_node *orig_node; in batadv_v_orig_dump_bucket() local
551 hlist_for_each_entry_rcu(orig_node, head, hash_entry) { in batadv_v_orig_dump_bucket()
556 if_outgoing, orig_node, sub)) { in batadv_v_orig_dump_bucket()
707 struct batadv_orig_node *orig_node; in batadv_v_gw_throughput_get() local
711 orig_node = gw_node->orig_node; in batadv_v_gw_throughput_get()
712 router = batadv_orig_router_get(orig_node, BATADV_IF_DEFAULT); in batadv_v_gw_throughput_get()
786 struct batadv_orig_node *orig_node) in batadv_v_gw_is_eligible() argument
805 orig_gw = batadv_gw_node_get(bat_priv, orig_node); in batadv_v_gw_is_eligible()
843 router = batadv_orig_router_get(gw_node->orig_node, BATADV_IF_DEFAULT); in batadv_v_gw_write_buffer_text()
855 gw_node->orig_node->orig, in batadv_v_gw_write_buffer_text()
925 router = batadv_orig_router_get(gw_node->orig_node, BATADV_IF_DEFAULT); in batadv_v_gw_dump_entry()
955 gw_node->orig_node->orig)) { in batadv_v_gw_dump_entry()