STRUCT NVDIMM_CXL_LABEL(9)
π 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_UPDATINGis 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 inSZ_256Mblocks. 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
- 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