Searched refs:nr_neigh (Results 1 – 2 of 2) sorted by relevance
60 static struct nr_neigh *nr_neigh_get_dev(ax25_address *callsign, in nr_neigh_get_dev()63 struct nr_neigh *found = NULL; in nr_neigh_get_dev()64 struct nr_neigh *nr_neigh; in nr_neigh_get_dev() local67 nr_neigh_for_each(nr_neigh, &nr_neigh_list) in nr_neigh_get_dev()68 if (ax25cmp(callsign, &nr_neigh->callsign) == 0 && in nr_neigh_get_dev()69 nr_neigh->dev == dev) { in nr_neigh_get_dev()70 nr_neigh_hold(nr_neigh); in nr_neigh_get_dev()71 found = nr_neigh; in nr_neigh_get_dev()78 static void nr_remove_neigh(struct nr_neigh *);102 struct nr_neigh *nr_neigh; in nr_add_node() local[all …]
89 struct nr_neigh { struct106 struct nr_neigh *neighbour; argument137 static __inline__ void nr_neigh_put(struct nr_neigh *nr_neigh) in nr_neigh_put() argument139 if (refcount_dec_and_test(&nr_neigh->refcount)) { in nr_neigh_put()140 if (nr_neigh->ax25) in nr_neigh_put()141 ax25_cb_put(nr_neigh->ax25); in nr_neigh_put()142 kfree(nr_neigh->digipeat); in nr_neigh_put()143 kfree(nr_neigh); in nr_neigh_put()