vdo_int_map_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay so bestie, welcome to the vdo_int_map_create(9) page from the Kernel API Manual ✨ This one is literally about allocating and initializing an int_map, and it’s giving β€œsmall function, important job” energy πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int vdo_int_map_create (size_t initial_capacity , struct int_map
       **map_ptr );

πŸŽ€ ARGUMENTS πŸŽ€

  • initial_capacity β€” the number of entries the map should initially be capable of holding. And when you pass zero? It tells the map to use its own small default β€” cute, self-sufficient, iconic 🫢
  • map_ptr β€” this is the output, bestie: a pointer that’s gonna hold the brand-new int_map πŸ’–

✨ RETURN ✨

It returns VDO_SUCCESS or an error code. That’s the vibe, no cap πŸ’€


πŸ’… SEE ALSO πŸ’…

First stop: the Kernel file ./drivers/md/dm-vdo/int-map.c β€” and then the whole friend group in order:

Introduction(9), struct bucket(9), struct int_map(9), mix(9), hash_key(9), allocate_buckets(9), vdo_int_map_free(9), vdo_int_map_size(9), dereference_hop(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) 🌈


Source/version: ./drivers/md/dm-vdo Β· date: October 2026 Β· page: vdo_int_map_create(9) β€” and that’s the cute little sign-off, mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from