STRUCT NVDIMM_CXL_LABEL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

struct nvdimm_cxl_label β€” bestie, this is literally the CXL 2.0 Table 212 struct, no cap πŸ‘‘


✨ SYNOPSIS ✨

Okay so here's the whole thing, copied exactly, do not touch:

struct nvdimm_cxl_label {
    u8 type[NSLABEL_UUID_LEN];
    u8 uuid[NSLABEL_UUID_LEN];
    u8 name[NSLABEL_NAME_LEN];
    __le32 flags;
    __le16 nrange;
    __le16 position;
    __le64 dpa;
    __le64 rawsize;
    __le32 slot;
    __le32 align;
    u8 region_uuid[16];
    u8 abstraction_uuid[16];
    __le16 lbasize;
    u8 reserved[0x56];
    __le64 checksum;
 };

Like, that's the whole vibe right there 🫢


πŸŽ€ Members πŸŽ€

Every single field, bestie, we are not skipping a one:

  • type β€” the uuid that IDs this label format, aka the namespace. It's giving "who dis" energy πŸͺͺ
  • uuid β€” the uuid for the namespace that this label is out here describing πŸ’–
  • name β€” the friendly name for the namespace, cute and lowercase-friendly πŸŽ€
  • flags β€” NSLABEL_FLAG_UPDATING is the moment. Every other flag? Reserved. Not invited to the party πŸ™…β€β™€οΈ
  • nrange β€” discontiguous namespace support, yes it's a whole thing ✨
  • position β€” where this label sits in the set. Main character placement fr fr πŸ“
  • dpa β€” start address in device-local capacity for this label, lowkey important πŸ’Ύ
  • rawsize β€” the size of this label's contribution to the namespace. It's giving "my share" πŸ“
  • slot β€” slot id of this label in the label area. iykyk πŸ—‚οΈ
  • align β€” alignment in SZ_256M blocks. Yeah, blocks. Periodt πŸ“
  • region_uuid β€” the host interleave set identifier, iconic πŸ”₯
  • abstraction_uuid β€” the personality driver for this namespace. It has ~range~ personality πŸ’…
  • lbasize β€” address geometry for disk-like personalities, geometry queen πŸ‘‘
  • reserved β€” reserved. Nothing to see here, move along πŸ™ˆ
  • checksum β€” the fletcher64 sum of this label. It's the vibe check at the end 🌈
Not me saying "reserved" twice like it's a personality trait 😭 but yeah, reserved is just reserved, bestie, that's the whole lore.

🌈 SEE ALSO 🌈

Go read these next, bestie, they're all in the kernel file ./drivers/nvdimm/label.h:

  • struct nd_namespace_index(9)
  • struct cxl_region_label(9)
  • struct nvdimm_efi_label(9)
  • struct nd_label_id(9)

And that's the whole page, mwah πŸ’‹ β€” brought to you by ./drivers/nvdimm, dated October 2026, slay βœ¨πŸ¦‹

πŸ“¦ where this page comes from