softleaf_mk_none(9)
π softleaf_mk_none β Kernel API Manual, section 9 π
okay so bestie, welcome to softleaf_mk_none(9) from the Kernel API Manual. this one's short and sweet and honestly kind of a vibe β it's the "make me a blank one" function of the softleaf world π¦
β¨ NAME β¨
softleaf_mk_none β create an empty ('none') leaf entry. that's it. that's the whole job. she's lowkey iconic for it π
πΈ SYNOPSIS πΈ
softleaf_t softleaf_mk_none (void );
like, literally no arguments. she takes nothing, she gives you an empty leaf. main character energy fr fr π
π«Ά ARGUMENTS π«Ά
voidβ no arguments. none. zero. the void is empty and so is her inbox π
β RETURN β
an empty leaf entry. that's the whole return value, babes β a softleaf_t that is, in fact, the none leaf. no cap π
π₯ SEE ALSO π₯
the kernel file lives at ./include/linux/leafops.h β go say hi to the whole family, they're all in there π
the conversions & basics β¨
softleaf_from_pte(9)softleaf_to_pte(9)softleaf_from_pmd(9)softleaf_to_pmd(9)softleaf_is_none(9)softleaf_type(9)softleaf_has_pfn(9)softleaf_to_pfn(9)softleaf_to_page(9)softleaf_to_folio(9)
the "is it aβ¦" girlies π§
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_migration_young(9)softleaf_is_migration_dirty(9)softleaf_is_device_private_write(9)softleaf_is_device_private(9)softleaf_is_device_exclusive(9)softleaf_is_hwpoison(9)
markers, my beloved π
softleaf_is_marker(9)softleaf_to_marker(9)softleaf_is_poison_marker(9)softleaf_is_guard_marker(9)softleaf_is_uffd_wp_marker(9)pte_is_marker(9)pte_is_uffd_wp_marker(9)pte_is_uffd_marker(9)
the pmd side of the group chat π
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 if you're poking around here, read the whole leafops crowd β this function is like the "new blank doc" button and all her friends are the ones who actually fill it in π
mwah π that's the page! brought to you straight out of ./include/linux, dated October 2026, and signed off by the Kernel API Manual herself β slay, bye 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