libnvme(9)
π libnvme(9) β API Manual π
okay so bestie, welcome to the <pink>libnvme</pink> API manual, section <pink>9</pink>, and today we're doing a full vibe check on one very specific little enum. she's small, she's specific, she's got main character energy for exactly one job: telling you what type of vendor-specific event data you're looking at in the Persistent Event Log. no cap. let's get into it. π¦
β¨ NAME β¨
enum nvme_pel_vsedt_code β Persistent Event Log - Vendor Specific Event Data Type Code
like literally the whole name is the plot. nvme = the NVMe stuff, pel = Persistent Event Log, vsedt = Vendor Specific Event Data Type, and code = the code. iconic abbreviation stacking, honestly. π
β¨ SYNOPSIS β¨
enum nvme_pel_vsedt_code {
NVME_PEL_VSEDT_RSVD ,
NVME_PEL_VSEDT_EVENT_NAME ,
NVME_PEL_VSEDT_ASCII_STRING ,
NVME_PEL_VSEDT_BINARY ,
NVME_PEL_VSEDT_SIGNED_INT
};
that's the whole enum, five constants, in that exact order, no extras, no surprises. copy it exactly if you're typing it out β do not come for those commas bestie, they're staying. π
β¨ Constants β¨
okay so here's the cast of characters, one by one, in the order the enum lists them:
NVME_PEL_VSEDT_RSVDβ Reserved. as in, not for you. hands off. it's giving "reserved parking spot" energy. πNVME_PEL_VSEDT_EVENT_NAMEβ Event Name. this one means the data is an event name, slay. βNVME_PEL_VSEDT_ASCII_STRINGβ ASCII String. the data is an ASCII string, plain and simple, no drama. πΈNVME_PEL_VSEDT_BINARYβ Binary. the data is binary, raw bytes doing raw byte things. πNVME_PEL_VSEDT_SIGNED_INTβ Signed Integer. the data is a signed integer, yes with the sign, she's sensitive like that. π
lowkey reminder: these are just the type codes. the enum literally does not elaborate further, so don't go reading extra behaviour into it β whatever the manual says is what you get, fr fr. π«Ά
and that's the page!! five constants, one enum, zero notes, no SEE ALSO, no ERRORS, no environment variables β she's a minimalist, she's efficient, she ate and left no crumbs. π
kisses and clean compiles, bestie π β this was enum nvme_pel_vsedt_code, from the <cyan>libnvme(9)</cyan> API Manual, October 2026 edition. go forth and type your event data correctly. ππ
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms