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) {
316 struct rxrpc_net *rxnet = local->rxnet;
322 spin_lock(&rxnet->peer_hash_lock);
323 hash_add_rcu(rxnet->peer_hash, &peer->hash_link, hash_key);
324 list_add_tail(&peer->keepalive_link, &rxnet->peer_keepalive_new);
325 spin_unlock(&rxnet->peer_hash_lock);
336 struct rxrpc_net *rxnet = local->rxnet;
358 spin_lock_bh(&rxnet->peer_hash_lock);
365 hash_add_rcu(rxnet->peer_hash,
368 &rxnet->peer_keepalive_new);
371 spin_unlock_bh(&rxnet->peer_hash_lock);
420 struct rxrpc_net *rxnet = peer->local->rxnet;
424 spin_lock_bh(&rxnet->peer_hash_lock);
427 spin_unlock_bh(&rxnet->peer_hash_lock);
474 void rxrpc_destroy_all_peers(struct rxrpc_net *rxnet)
479 for (i = 0; i < HASH_SIZE(rxnet->peer_hash); i++) {
480 if (hlist_empty(&rxnet->peer_hash[i]))
483 hlist_for_each_entry(peer, &rxnet->peer_hash[i], hash_link) {