select_bucket(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… select_bucket(9) πŸ’…

okay so this is the Kernel API Manual page for select_bucket(9), and bestie it's short but iconic. no cap, we're keeping every single detail. ✨

🌸 NAME 🌸

select_bucket β€” selects and returns the hash bucket for a given search key. that's the whole serve: you bring the search key, it hands back the hash bucket. periodt. πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

struct bucket * select_bucket (const struct int_map *map , u64 key );

πŸŽ€ ARGUMENTS πŸŽ€

  • map β€” the map to search. lowkey the main character here. 🫢
  • key β€” the mapping key. the mapping key, bestie, exactly as advertised. πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

okay bestie, here's the whole friend group β€” every single ref, no skips:

Kernel file ./drivers/md/dm-vdo/int-map.c Introduction(9), struct bucket(9), struct int_map(9), mix(9), hash_key(9), allocate_buckets(9), vdo_int_map_create(9), vdo_int_map_free(9), vdo_int_map_size(9), dereference_hop(9), insert_in_hop_list(9), search_hop_list(9), vdo_int_map_get(9), resize_buckets(9), find_empty_bucket(9), move_empty_bucket(9), update_mapping(9), find_or_make_vacancy(9), vdo_int_map_put(9), vdo_int_map_remove(9).


mwah πŸ’‹ this was served from source/version ./drivers/md/dm-vdo, dated October 2026 β€” and yes, it's still select_bucket(9). πŸŽ€βœ¨

πŸ“¦ where this page comes from