vdo_compute_index_blocks(9)
πΈ vdo_compute_index_blocks(9) β Kernel API Manual πΈ
okay bestie, welcome to the page for vdo_compute_index_blocks(9), a.k.a. the Kernel API Manual entry you were looking for. This is giving βtiny function, very specific jobβ energy, and we're gonna cover every detail π
β¨
β¨ NAME β¨
vdo_compute_index_blocks β Compute the number of blocks that the indexer will use. That's the whole assignment, no cap π«Ά
π SYNOPSIS π
Here's the exact signature, bestie β don't let the spacing jump-scare you:
int vdo_compute_index_blocks (const struct index_config *config ,
block_count_t *index_blocks_ptr );
π ARGUMENTS π
configβ the index config from which the blocks are calculated. It's the source info for the math vibe π₯index_blocks_ptrβ the number of blocks the index will use. That's the number we're talking about π
π RETURN π
VDO_SUCCESS or an error code. Slay if it's the first one; if not, it's an error code and you deal π
π¦ SEE ALSO π¦
Kernel file ./drivers/md/dm-vdo/encodings.c β and here's the whole iconic friend group:
validate_version(9)vdo_validate_header(9)decode_volume_geometry(9)vdo_encode_volume_geometry(9)vdo_parse_geometry_block(9)vdo_compute_new_forest_pages(9)encode_recovery_journal_state_7_0(9)decode_recovery_journal_state_7_0(9)vdo_get_journal_operation_name(9)encode_slab_depot_state_2_0(9)decode_slab_depot_state_2_0(9)vdo_configure_slab_depot(9)vdo_configure_slab(9)vdo_decode_slab_journal_entry(9)allocate_partition(9)make_partition(9)vdo_initialize_layout(9)vdo_uninitialize_layout(9)vdo_get_partition(9)vdo_get_known_partition(9)pack_vdo_config(9)pack_vdo_component(9)unpack_vdo_config(9)unpack_vdo_component_41_0(9)decode_vdo_component(9)vdo_validate_config(9)vdo_destroy_component_states(9)decode_components(9)vdo_decode_component_states(9)vdo_validate_component_states(9)vdo_encode_component_states(9)vdo_encode_super_block(9)vdo_decode_super_block(9)vdo_initialize_component_states(9)vdo_initialize_volume_geometry(9)
source/version: ./drivers/md/dm-vdo Β· date: October 2026. byeee, go read the friends too π
π¦ 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