search_hop_list(9)
π 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 notNULL, 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:
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)select_bucket(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)
xoxo, your kernel bestie π β brought to you by the ./drivers/md/dm-vdo source/version, dated October 2026 β¨π
π¦ 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