Lines Matching refs:hash_key
35 unsigned long hash_key;
39 hash_key = (unsigned long)local / __alignof__(*local);
40 hash_key += srx->transport_type;
41 hash_key += srx->transport_len;
42 hash_key += srx->transport.family;
46 hash_key += (u16 __force)srx->transport.sin.sin_port;
52 hash_key += (u16 __force)srx->transport.sin.sin_port;
64 hash_key += *p;
66 _leave(" 0x%lx", hash_key);
67 return hash_key;
81 unsigned long hash_key)
85 diff = ((peer->hash_key - hash_key) ?:
119 unsigned long hash_key)
124 hash_for_each_possible_rcu(rxnet->peer_hash, peer, hash_link, hash_key) {
125 if (rxrpc_peer_cmp_key(peer, local, srx, hash_key) == 0 &&
140 unsigned long hash_key = rxrpc_peer_hash_key(local, srx);
142 peer = __rxrpc_lookup_peer_rcu(local, srx, hash_key);
242 unsigned long hash_key)
244 peer->hash_key = hash_key;
279 unsigned long hash_key,
289 rxrpc_init_peer(local, peer, hash_key);
311 unsigned long hash_key;
313 hash_key = rxrpc_peer_hash_key(local, &peer->srx);
314 rxrpc_init_peer(local, peer, hash_key);
317 hash_add_rcu(rxnet->peer_hash, &peer->hash_link, hash_key);
330 unsigned long hash_key = rxrpc_peer_hash_key(local, srx);
336 peer = __rxrpc_lookup_peer_rcu(local, srx, hash_key);
345 candidate = rxrpc_create_peer(local, srx, hash_key, gfp);
354 peer = __rxrpc_lookup_peer_rcu(local, srx, hash_key);
359 &candidate->hash_link, hash_key);