Lines Matching refs:hash_key
33 unsigned long hash_key;
37 hash_key = (unsigned long)local / __alignof__(*local);
38 hash_key += srx->transport_type;
39 hash_key += srx->transport_len;
40 hash_key += srx->transport.family;
44 hash_key += (u16 __force)srx->transport.sin.sin_port;
50 hash_key += (u16 __force)srx->transport.sin.sin_port;
62 hash_key += *p;
64 _leave(" 0x%lx", hash_key);
65 return hash_key;
79 unsigned long hash_key)
83 diff = ((peer->hash_key - hash_key) ?:
117 unsigned long hash_key)
122 hash_for_each_possible_rcu(rxnet->peer_hash, peer, hash_link, hash_key) {
123 if (rxrpc_peer_cmp_key(peer, local, srx, hash_key) == 0 &&
138 unsigned long hash_key = rxrpc_peer_hash_key(local, srx);
140 peer = __rxrpc_lookup_peer_rcu(local, srx, hash_key);
240 unsigned long hash_key)
242 peer->hash_key = hash_key;
277 unsigned long hash_key,
287 rxrpc_init_peer(local, peer, hash_key);
309 unsigned long hash_key;
311 hash_key = rxrpc_peer_hash_key(local, &peer->srx);
312 rxrpc_init_peer(local, peer, hash_key);
315 hash_add_rcu(rxnet->peer_hash, &peer->hash_link, hash_key);
328 unsigned long hash_key = rxrpc_peer_hash_key(local, srx);
334 peer = __rxrpc_lookup_peer_rcu(local, srx, hash_key);
343 candidate = rxrpc_create_peer(local, srx, hash_key, gfp);
352 peer = __rxrpc_lookup_peer_rcu(local, srx, hash_key);
357 &candidate->hash_link, hash_key);