devm_nvdimm_memremap(9)
β¨ 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βmemremapflags, or, if zero, perform anioremapinstead. Yep, zero flips it to theioremaproute β iconic little plot twist πΈ
π SEE ALSO π
- Kernel file
./drivers/nvdimm/core.c nd_uuid_store(9)
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
- 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