Home
last modified time | relevance | path

Searched refs:nr_node (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/net/netrom/
Dnr_route.c44 static struct nr_node *nr_node_get(ax25_address *callsign) in nr_node_get()
46 struct nr_node *found = NULL; in nr_node_get()
47 struct nr_node *nr_node; in nr_node_get() local
50 nr_node_for_each(nr_node, &nr_node_list) in nr_node_get()
51 if (ax25cmp(callsign, &nr_node->callsign) == 0) { in nr_node_get()
52 nr_node_hold(nr_node); in nr_node_get()
53 found = nr_node; in nr_node_get()
81 static void re_sort_routes(struct nr_node *nr_node, int x, int y) in re_sort_routes() argument
83 if (nr_node->routes[y].quality > nr_node->routes[x].quality) { in re_sort_routes()
84 if (nr_node->which == x) in re_sort_routes()
[all …]
/Linux-v6.6/include/net/
Dnetrom.h109 struct nr_node { struct
127 static __inline__ void nr_node_put(struct nr_node *nr_node) in nr_node_put() argument
129 if (refcount_dec_and_test(&nr_node->refcount)) { in nr_node_put()
130 kfree(nr_node); in nr_node_put()
149 static __inline__ void nr_node_lock(struct nr_node *nr_node) in nr_node_lock() argument
151 nr_node_hold(nr_node); in nr_node_lock()
152 spin_lock_bh(&nr_node->node_lock); in nr_node_lock()
155 static __inline__ void nr_node_unlock(struct nr_node *nr_node) in nr_node_unlock() argument
157 spin_unlock_bh(&nr_node->node_lock); in nr_node_unlock()
158 nr_node_put(nr_node); in nr_node_unlock()
/Linux-v6.6/drivers/dma/
Duniphier-xdmac.c80 unsigned int nr_node; member
250 if (xc->xd->cur_node >= xc->xd->nr_node) { in uniphier_xdmac_chan_irq()
312 xd->nr_node = nr; in uniphier_xdmac_prep_dma_memcpy()
388 xd->nr_node = sg_len; in uniphier_xdmac_prep_slave_sg()