is_pte_valid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ is_pte_valid(9) β€” Kernel API Manual ✨

okay so this is the Kernel API Manual page for is_pte_valid(9), and she's short, she's iconic, and she's here to test exactly one PTE for validity. no cap πŸ’…


πŸŽ€ NAME πŸŽ€

is_pte_valid β€” tests one PTE for validity

πŸ¦‹ SYNOPSIS πŸ¦‹

int is_pte_valid (const gpt_entry *pte , const u64 lastlba );

🌸 ARGUMENTS 🌸

  • pte β€” the pte to check. literally the PTE in question, bestie 🫢
  • lastlba β€” last lba of the disk. that's the final LBA, periodt πŸ’–

πŸ’– DESCRIPTION πŸ’–

returns 1 if valid, 0 on error. that's it, that's the whole personality β€” a tiny little validity check doing its main character thing ✨

🌈 SEE ALSO 🌈

Kernel file ./block/partitions/efi.c and the whole friend group:


and that's the page, bestie πŸŽ€ source/version is ./block/partitions, dated October 2026 β€” mwah, bye πŸ’‹

πŸ“¦ where this page comes from