Lines Matching refs:rxnet
120 struct rxrpc_net *rxnet = local->rxnet;
122 hash_for_each_possible_rcu(rxnet->peer_hash, peer, hash_link, hash_key) {
308 struct rxrpc_net *rxnet = local->rxnet;
314 spin_lock(&rxnet->peer_hash_lock);
315 hash_add_rcu(rxnet->peer_hash, &peer->hash_link, hash_key);
316 list_add_tail(&peer->keepalive_link, &rxnet->peer_keepalive_new);
317 spin_unlock(&rxnet->peer_hash_lock);
327 struct rxrpc_net *rxnet = local->rxnet;
349 spin_lock(&rxnet->peer_hash_lock);
356 hash_add_rcu(rxnet->peer_hash,
359 &rxnet->peer_keepalive_new);
362 spin_unlock(&rxnet->peer_hash_lock);
408 struct rxrpc_net *rxnet = peer->local->rxnet;
412 spin_lock(&rxnet->peer_hash_lock);
415 spin_unlock(&rxnet->peer_hash_lock);
441 void rxrpc_destroy_all_peers(struct rxrpc_net *rxnet)
446 for (i = 0; i < HASH_SIZE(rxnet->peer_hash); i++) {
447 if (hlist_empty(&rxnet->peer_hash[i]))
450 hlist_for_each_entry(peer, &rxnet->peer_hash[i], hash_link) {