Lines Matching refs:u
168 struct inet_peer *u; \
173 for (u = rcu_deref_locked(_base->root, _base); \
174 u != peer_avl_empty;) { \
175 int cmp = inetpeer_addr_cmp(_daddr, &u->daddr); \
179 v = &u->avl_left; \
181 v = &u->avl_right; \
183 u = rcu_deref_locked(*v, _base); \
185 u; \
198 struct inet_peer *u = rcu_dereference(base->root); in lookup_rcu() local
201 while (u != peer_avl_empty) { in lookup_rcu()
202 int cmp = inetpeer_addr_cmp(daddr, &u->daddr); in lookup_rcu()
207 if (!atomic_add_unless(&u->refcnt, 1, -1)) in lookup_rcu()
208 u = NULL; in lookup_rcu()
209 return u; in lookup_rcu()
212 u = rcu_dereference(u->avl_left); in lookup_rcu()
214 u = rcu_dereference(u->avl_right); in lookup_rcu()
224 struct inet_peer *u; \
228 for (u = rcu_deref_locked(*v, base); \
229 u->avl_right != peer_avl_empty_rcu;) { \
230 v = &u->avl_right; \
232 u = rcu_deref_locked(*v, base); \
234 u; \