Lines Matching defs:peer
31 * Preallocate a single service call, connection and peer and, if possible,
72 struct rxrpc_peer *peer;
74 peer = rxrpc_alloc_peer(rx->local, gfp, rxrpc_peer_new_prealloc);
75 if (!peer)
77 b->peer_backlog[head] = peer;
197 struct rxrpc_peer *peer = b->peer_backlog[tail];
198 rxrpc_put_local(peer->local, rxrpc_local_put_prealloc_peer);
199 kfree(peer);
240 * and a peer as necessary.
244 struct rxrpc_peer *peer,
273 if (peer && !rxrpc_get_peer_maybe(peer, rxrpc_peer_get_service_conn))
274 peer = NULL;
275 if (!peer) {
276 peer = b->peer_backlog[peer_tail];
277 peer->srx = *peer_srx;
283 rxrpc_new_incoming_peer(local, peer);
292 conn->peer = peer;
311 call->peer = rxrpc_get_peer(conn->peer, rxrpc_peer_get_accept);
312 call->dest_srx = peer->srx;
313 call->cong_ssthresh = call->peer->cong_ssthresh;
330 struct rxrpc_peer *peer,
376 call = rxrpc_alloc_incoming_call(rx, local, peer, conn, sec, peer_srx,
405 spin_lock(&call->peer->lock);
406 hlist_add_head(&call->error_link, &call->peer->error_targets);
407 spin_unlock(&call->peer->lock);