search_hop_list(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

search_hop_list(9) β€” okay so bestie, this one searches the hop list associated with a given hash bucket for a given search key. Straight from the Kernel API Manual βœ¨πŸ’…


✨ SYNOPSIS ✨

struct bucket * search_hop_list (struct bucket *bucket , u64 key ,
       struct bucket **previous_ptr );

🫢 ARGUMENTS 🫢

  • bucket β€” the map bucket to search for the key, periodt.
  • key β€” the mapping key. iykyk πŸ”‘
  • previous_ptr β€” Output. If it’s not NULL, this is a pointer where you store the bucket in the list that comes right before the one that had the matching key πŸ’–

🌸 DESCRIPTION 🌸

If the key is found, this returns a pointer to the entry β€” bucket or collision β€” otherwise it returns NULL. That’s the whole vibe check 😌✨


πŸŽ€ RETURN πŸŽ€

An entry that matches the key, or NULL if it wasn’t found. No cap 🫢


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/md/dm-vdo/int-map.c β€” and here’s the whole squad of related pages, bestie:

xoxo, your kernel bestie πŸ’– β€” brought to you by the ./drivers/md/dm-vdo source/version, dated October 2026 βœ¨πŸŽ€

πŸ“¦ where this page comes from