select_bucket(9)
π 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms