create_namespace_pmem(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, welcome to create_namespace_pmem(9) from the Kernel API Manual πŸ’– this one’s whole job is to validate interleave set labelling and retrieve label0 β€” no cap, that’s the vibe.


πŸŽ€ SYNOPSIS πŸŽ€

struct device * create_namespace_pmem (struct nd_region *nd_region ,
       struct nd_mapping *nd_mapping , struct nd_namespace_label *nd_label );

πŸ’… ARGUMENTS πŸ’…

  • nd_region β€” the region with mappings to validate, aka the main character that needs its vibe check.
  • nd_mapping β€” container of dpa-resource-root + labels 🫢
  • nd_label β€” the target pmem namespace label to evaluate, literally the label in question.

🌈 RETURN 🌈

on success you get the created struct device ✨ on error you get ERR_PTR(-errno) 😭 that’s it, that’s the deal.


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/nvdimm/namespace_devs.c plus these iconic little references:


mwah πŸ’‹ this page lives under ./drivers/nvdimm, dated October 2026, and it’s all about create_namespace_pmem(9) β€” periodt. πŸŽ€

πŸ“¦ where this page comes from