ldm_get_vblks(9)
π ldm_get_vblks(9) π
okay so this page is from the Kernel API Manual, and itβs all about reading the on-disk database of VBLKs into memory, bestie β¨
πΈ NAME πΈ
ldm_get_vblks β Read the on-disk database of VBLKs into memory π«Ά
β¨ SYNOPSIS β¨
bool ldm_get_vblks (struct parsed_partitions *state , unsigned long base
, struct ldmdb *ldb );
π«Ά ARGUMENTS π«Ά
stateβ Partition check state including device holding the LDM Database. Itβs giving βwhere the database livesβ energy πbaseβ Offset, intostate->disk, of the database. Literally the spot in the disk, iykyk πldbβ Cache of the database structures. The lil home for the cached db stuff π
π DESCRIPTION π
So like, to actually use the information from the VBLKs, they gotta be read from the disk, unpacked, and validated first β no shortcuts, bestie π
. Then we cache them in ldb according to their type, and thatβs the whole vibe.
π RETURN π
okay so this section is literally blank in the original β no return value details, no nothing. The synopsis does say bool, but the page doesnβt explain what comes back, bestie π
π₯ SEE ALSO π₯
- Kernel file
./block/partitions/ldm.c ldm_parse_privhead(9)ldm_parse_tocblock(9)ldm_parse_vmdb(9)ldm_compare_privheads(9)ldm_compare_tocblocks(9)ldm_validate_privheads(9)ldm_validate_tocblocks(9)ldm_validate_vmdb(9)ldm_validate_partition_table(9)ldm_get_disk_objid(9)ldm_create_data_partitions(9)ldm_relative(9)ldm_get_vnum(9)ldm_get_vstr(9)ldm_parse_cmp3(9)ldm_parse_dgr3(9)ldm_parse_dgr4(9)ldm_parse_dsk3(9)ldm_parse_dsk4(9)ldm_parse_prt3(9)ldm_parse_vol5(9)ldm_parse_vblk(9)ldm_ldmdb_add(9)ldm_frag_add(9)ldm_frag_free(9)ldm_frag_commit(9)ldm_free_vblks(9)ldm_partition(9)
made with π from source/version ./block/partitions, dated October 2026 β mwah, bestie π
β¨
π¦ 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