dereference_hop(9)
π dereference_hop(9) π
okay bestie, welcome to the Kernel API Manual page for dereference_hop(9). This one is short and sweet, but the details are literally all here. No cap. π«Ά
β¨ NAME β¨
dereference_hop β converts a biased hop offset within a neighborhood to a pointer to the bucket it references. Itβs giving βtiny lookup helper with main character energy.β π
π¦ SYNOPSIS π¦
struct bucket * dereference_hop (struct bucket *neighborhood , unsigned
int hop_offset );
π ARGUMENTS π
neighborhoodβ the first bucket in the neighborhood. Like, the starting bucket of the whole little squad. πͺ£β¨hop_offsetβ the biased hop offset to the desired bucket. Yes bestie, itβs biased β thatβs the whole vibe. π
π₯ RETURN π₯
NULL if hop_offset is zero, otherwise a pointer to the bucket in the neighborhood at hop_offset - 1. So zero gives you NULL, and everything else gives you that bucket pointer. Periodt. πβ¨
π SEE ALSO π
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)insert_in_hop_list(9)select_bucket(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)
Thatβs the page, bestie π β source/version: ./drivers/md/dm-vdo, date: October 2026, for dereference_hop(9). Slay and stay hydrated. πβ¨
π¦ 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