hash_key(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

Okay so this page is hash_key(9) β€” the little helper that calculates a 64-bit non-cryptographic hash value for the provided 64-bit integer key. That's the whole vibe, bestie. πŸ’–

✨ SYNOPSIS ✨

The signature is giving short and sweet:

u64 hash_key (u64 key );

πŸŽ€ ARGUMENTS πŸŽ€

  • key β€” the mapping key. That's it. That's the argument. Lowkey simple, highkey essential. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so the implementation is based on Google's CityHash, but it only handles the specific case of an 8-byte input. No cap β€” that's the exact case this page covers. πŸ¦‹

πŸ’– RETURN πŸ’–

It returns the hash of the mapping key. Slay. ✨

πŸ‘‘ SEE ALSO πŸ‘‘

The kernel file to peek at is ./drivers/md/dm-vdo/int-map.c, plus all these lovely references:


Sign-off tea: source/version ./drivers/md/dm-vdo, dated October 2026, manual hash_key(9) β€” bye bestie, go hash something cute! πŸ’…βœ¨

πŸ“¦ where this page comes from