softleaf_is_none(9)
β¨ softleaf_is_none(9) β¨
okay so you opened the Kernel API Manual page for softleaf_is_none(9) β bestie, you're in the right place, this one's literally a one-question function and it's kind of iconic for it π
πΈ NAME πΈ
softleaf_is_none β is the leaf entry empty? that's it. that's the whole job π
π¦ SYNOPSIS π¦
bool softleaf_is_none (softleaf_t entry );
π ARGUMENTS π
entryβ leaf entry. yeah. the entry. the leaf one. hand it over and we'll vibe check it π«Ά
π DESCRIPTION π
So here's the tea β β empty entries are typically what you get when a 'none' page table leaf entry gets converted into a leaf entry. that's the origin story, no cap. so if you're staring at an entry wondering "is this one of those," that's exactly the situation this function is describing β¨
β RETURN β
true if the entry is empty, false otherwise. binary queen behavior, we love to see it π
π SEE ALSO π
kernel file ./include/linux/leafops.h β and honestly the whole softleaf friend group is here, so let me introduce you:
softleaf_mk_none(9)softleaf_from_pte(9)softleaf_to_pte(9)softleaf_from_pmd(9)softleaf_to_pmd(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)softleaf_is_valid_pmd_entry(9)pmd_is_valid_softleaf(9)pmd_to_softleaf_folio(9)
ngl this page is short and sweet and that's the vibe β one bool, zero drama, 10/10 would read again π§
and that's the whole page, bestie!! sign-off time: this one came out of ./include/linux in October 2026, under the Kernel API Manual banner π go forth and check your leaf entries πβ¨
π¦ 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