softleaf_is_valid_pmd_entry(9)
πΈ softleaf_is_valid_pmd_entry β Kernel API Manual πΈ
okay bestie, welcome to the softleaf_is_valid_pmd_entry(9) page π
this one lives in the Kernel API Manual and it is exactly what it says on the tin β no cap.
β¨ NAME β¨
softleaf_is_valid_pmd_entry β is the softleaf entry you just handed over, the one that came from a PMD, actually one we support at PMD level? π that's the whole vibe check.
π SYNOPSIS π
bool softleaf_is_valid_pmd_entry (softleaf_t entry );
π¦ ARGUMENTS π¦
entryβ the entry you want to check. literally just hand it over and let the function do its thing π«Ά
β RETURN β
It returns true if the softleaf entry is valid at PMD, otherwise false. that's it, that's the whole answer, periodt π
π SEE ALSO π
Kernel file ./include/linux/leafops.h β and honestly the whole softleaf friend group is here, so go say hi:
softleaf_mk_none(9)softleaf_from_pte(9)softleaf_to_pte(9)softleaf_from_pmd(9)softleaf_to_pmd(9)softleaf_is_none(9)softleaf_type(9)softleaf_is_swap(9)softleaf_is_migration_write(9)softleaf_is_migration_read(9)softleaf_is_migration_read_exclusive(9)softleaf_is_migration(9)softleaf_is_device_private_write(9)softleaf_is_device_private(9)softleaf_is_device_exclusive(9)softleaf_is_hwpoison(9)softleaf_is_marker(9)softleaf_to_marker(9)softleaf_has_pfn(9)softleaf_to_pfn(9)softleaf_to_page(9)softleaf_to_folio(9)softleaf_is_poison_marker(9)softleaf_is_guard_marker(9)softleaf_is_uffd_wp_marker(9)softleaf_is_migration_young(9)softleaf_is_migration_dirty(9)pte_is_marker(9)pte_is_uffd_wp_marker(9)pte_is_uffd_marker(9)pmd_is_device_private_entry(9)pmd_is_migration_entry(9)pmd_is_valid_softleaf(9)pmd_to_softleaf_folio(9)
that's the whole page, bestie π this one came out of ./include/linux and it's dated October 2026, filed under softleaf_is_valid_pmd_entry(9) β go forth and validate those PMD-level softleaf entries, mwah π§π
π¦ 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