ldm_compare_privheads(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ldm_compare_privheads(9) β€” like, the whole page, bestie

okay so real quick β€” this is a page from the Kernel API Manual. Yes, that kernel. Sit down, hydrate, let's get into it 🫢


✨ NAME ✨

ldm_compare_privheads β€” the function that compares two privhead objects. That's it. That's the whole job. Iconic for being uncomplicated πŸ’–


🌸 SYNOPSIS 🌸

bool ldm_compare_privheads (const struct privhead *ph1 , const struct
       privhead *ph2 );

so you hand it two pointers, both const struct privhead *, and it gives you back a bool. no drama, no side quests, no cap ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • ph1 β€” the first privhead. the main character of the pair 🫢
  • ph2 β€” the second privhead. also main character energy, but like, the other one πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

This compares the two privhead structures ph1 and ph2. literally what it says on the tin. the way that a compare function just compares? obsessed 😭 that's the entire description and honestly? respect the hustle πŸ’€


πŸ‘‘ RETURN πŸ‘‘

so this section is here, and it is… empty 🌈 like, the heading showed up to the party and nothing else came. no return values listed, no explanation, nothing. i'm not gonna invent one either, because that's not my business πŸŽ€ what you see is what the page gives you ✨


🌈 SEE ALSO 🌈

the friend group πŸ’œ all of these live in the kernel file ./block/partitions/ldm.c:

that's twenty-eight besties. count them. i did. πŸ“


ngl, this page is short and sweet β€” but like, don't skip the const. it's there for a reason πŸ’…

and that's a wrap 🧚 this page hails from ./block/partitions, dated October 2026, and it's filed under ldm_compare_privheads(9). slay, go compare some privheads, mwah πŸ’–πŸ‘‘

πŸ“¦ where this page comes from