folio_detach_private(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… folio_detach_private(9) β€” Kernel API Manual, bestie edition πŸ’…

🌸 NAME 🌸

folio_detach_private β€” Detach private data from a folio. That’s the whole vibe.

✨ SYNOPSIS ✨

void * folio_detach_private (struct folio *folio );

πŸŽ€ ARGUMENTS πŸŽ€

  • folio β€” the folio you’re detaching data from, bestie. That’s literally the target.

πŸ’… DESCRIPTION πŸ’…

Okay so this one removes the data that was previously attached to the folio, and it decrements the refcount on the page. Lowkey important, highkey tidy. ✨

🫢 RETURN 🫢

It returns the data that was attached to the folio. That’s the prize, fr fr. πŸ’–

πŸ”₯ SEE ALSO πŸ”₯

These besties live near the kernel file ./include/linux/pagemap.h:


Cute sign-off time: source/version is ./include/linux, dated October 2026, and this iconic page is folio_detach_private(9). That’s a wrap, bestie. πŸŽ€πŸ’–

πŸ“¦ where this page comes from