ldm_parse_prt3(9)
π ldm_parse_prt3(9) β like, the whole kernel API manual vibe π
okay so bestie, welcome to the ldm_parse_prt3 page from the Kernel API Manual β¨ (section 9, kernel-space girlies only, iykyk π
). this is the one that takes a raw VBLK Partition object and drops it into a vblk structure. short page, but we're gonna treat it with the respect it deserves π«Ά
β¨ NAME β¨
ldm_parse_prt3 β Read a raw VBLK Partition object into a vblk structure πΈ
literally that's the whole job. no cap.
π¦ SYNOPSIS π¦
bool ldm_parse_prt3 (const u8 *buffer , int buflen , struct vblk *vb );
ok so it's a bool return, which means bestie you either get a true or a false and nothing in between π
π ARGUMENTS π
bufferβ Block of data being worked on π this is the raw stuff, the actual bytes, the main character of the operation fr frbuflenβ Size of the block of data π (yes bestie, you gotta tell it how big, it's not gonna guess π)vbβ In-memoryvblkin which to return information π§ this is where the parsed info lands, like a little gift box you hand over and get back filled up
π₯ DESCRIPTION π₯
Read a raw VBLK Partition object (version 3, not to be confused with the other versions β the 3 is right there in the name, bestie, it's giving very specific π) into a vblk structure.
that's it. that's the description. she's short, she's efficient, she ate and left no crumbs π β¨
β RETURN β
okay so, not me having to point this out β the original page has a RETURN heading with literally nothing under it π no description of the return values, no caveats, just the heading sitting there in silence. i'm not gonna invent anything for it because that would be lying and lying is not the vibe π the section exists, the section is empty, periodt.
π SEE ALSO π
okay this is the fun part, it's basically the whole friend group π«Ά and the whole thing lives in the kernel file ./block/partitions/ldm.c β here's everyone:
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_vol5(9)ldm_parse_vblk(9)ldm_ldmdb_add(9)ldm_frag_add(9)ldm_frag_free(9)ldm_frag_commit(9)ldm_get_vblks(9)ldm_free_vblks(9)ldm_partition(9)
that's the entire roster, no skips, no cuts πΈπ
and that's the page!! π
source location is ./block/partitions, dated October 2026, and yes she's giving k-drama energy β a kernel API manual from the future, iconic behaviour honestly πβ¨ mwah, love u, go parse some partitions 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