libnvme(2)
π libnvme β section 2, the API manual bestie π
okay so we're in the libnvme API manual (that's manual section 2, iykyk) and today's main character is a lil struct called nvme_fdp_event_realloc β¨
πΈ NAME πΈ
struct nvme_fdp_event_realloc β the Media Reallocated Event Type Specific Information π¦
like. that's it. that's the whole vibe. it's the event-specific info for a media-reallocated event, no cap.
β¨ SYNOPSIS β¨
struct nvme_fdp_event_realloc {
__u8 flags;
__u8 rsvd1;
__le16 nlbam;
__le64 lba;
__u8 rsvd12[4];
};
she's small. she's cute. she's exactly this, don't touch her π
π Members π
okay bestie, field-by-field, let's go π«Ά
flagsβ the Event Type Specific flags. their type isenum nvme_fdp_event_realloc_flags, so go look at that if you wanna know what the bits actually mean π₯rsvd1β Reserved. do not perceive her. hands off πnlbamβ Number of LBAs Moved. it's a__le16, so little-endian, keep that in mind βlbaβ Logical Block Address. a big ol'__le64one πrsvd12β Reserved. yep,<purple>__u8 rsvd12[4]</purple>, four whole reserved bytes, living their reserved lil life π
heads up bestie: the reserved fields are reserved. that means don't read meaning into them, don't write your own stuff there, don't do it. the manpage says Reserved and it means it fr fr π
and that's the whole page!! every single field accounted for, not one detail skipped, we ate and left no crumbs π
this lil diva lives in the libnvme API manual, section 2, dated July 2026 β and yes, struct nvme_fdp_event_realloc is her full government name π
bye bestie, go move some LBAs πβ¨ππ¦πΈπ π«Ά
π¦ where this page comes from
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms