devm_nvdimm_memremap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ devm_nvdimm_memremap ✨

Okay bestie, welcome to the Kernel API Manual corner 🫢 β€” today’s main character is devm_nvdimm_memremap.

πŸ’– NAME πŸ’–

devm_nvdimm_memremap β€” map a resource that is shared across regions. That’s the whole vibe: shared mapping, and the device gets a reference to it. Periodt. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

void * devm_nvdimm_memremap (struct device *dev , resource_size_t offset , size_t size , unsigned long flags );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the device that will own a reference to the shared mapping. She’s holding the ref, okay? πŸ‘‘
  • offset β€” physical base address of the mapping.
  • size β€” mapping size.
  • flags β€” memremap flags, or, if zero, perform an ioremap instead. Yep, zero flips it to the ioremap route β€” iconic little plot twist 🌸

🌈 SEE ALSO 🌈


That’s the page, bestie 🫢 β€” source/version vibes live at ./drivers/nvdimm, dated October 2026, and this manual page is devm_nvdimm_memremap(9). Slay βœ¨πŸ’œ

πŸ“¦ where this page comes from