Lines Matching refs:rxnet
122 struct rxrpc_net *rxnet = local->rxnet;
124 hash_for_each_possible_rcu(rxnet->peer_hash, peer, hash_link, hash_key) {
310 struct rxrpc_net *rxnet = local->rxnet;
316 spin_lock(&rxnet->peer_hash_lock);
317 hash_add_rcu(rxnet->peer_hash, &peer->hash_link, hash_key);
318 list_add_tail(&peer->keepalive_link, &rxnet->peer_keepalive_new);
319 spin_unlock(&rxnet->peer_hash_lock);
329 struct rxrpc_net *rxnet = local->rxnet;
351 spin_lock(&rxnet->peer_hash_lock);
358 hash_add_rcu(rxnet->peer_hash,
361 &rxnet->peer_keepalive_new);
364 spin_unlock(&rxnet->peer_hash_lock);
410 struct rxrpc_net *rxnet = peer->local->rxnet;
414 spin_lock(&rxnet->peer_hash_lock);
417 spin_unlock(&rxnet->peer_hash_lock);
443 void rxrpc_destroy_all_peers(struct rxrpc_net *rxnet)
448 for (i = 0; i < HASH_SIZE(rxnet->peer_hash); i++) {
449 if (hlist_empty(&rxnet->peer_hash[i]))
452 hlist_for_each_entry(peer, &rxnet->peer_hash[i], hash_link) {