_copy_from_pages(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

Hey bestie, welcome to _copy_from_pages(9) from the Kernel API Manual ✨ The original NAME line is literally _copy_from_pages - with no description after the dash, so she's giving mysterious main character energy. No cap.

✨ SYNOPSIS ✨

void _copy_from_pages (char *p , struct page **pages , size_t pgbase ,
       size_t len );

That's the whole signature, and yes, every comma and space is doing its little thing. πŸ’…

πŸŽ€ ARGUMENTS πŸŽ€

  • p β€” pointer to destination. That's where the data is going, bestie.
  • pages β€” array of pages. The source squad. πŸ¦‹
  • pgbase β€” offset of source data. Where in the source we start, iykyk.
  • len β€” length. How much data we're moving.

πŸ¦‹ DESCRIPTION πŸ¦‹

So _copy_from_pages copies data into an arbitrary memory location from an array of pages. That's the vibe: arbitrary destination, pages as the source. πŸ’–

The copy is assumed to be non-overlapping. That's the caveat, so keep it non-overlapping and don't be messy about it, periodt. 🌸

🌈 SEE ALSO 🌈

Kernel file ./net/sunrpc/xdr.c β€” go look at the source, she's right there. Also the whole xdr extended universe:


Source/version and date sign-off: this cutie lives under ./net/sunrpc, dated October 2026, in the _copy_from_pages(9) section πŸ’–βœ¨

πŸ“¦ where this page comes from