libnvme(2)

✨ libnvme(2) ✨

okay bestie, welcome to the libnvme API manual πŸ’– this is the API Manual page, and today's main character is a teeny tiny little struct that just wants to tell you what FDP events your drive is out here supporting. no cap.


🌸 NAME 🌸

struct nvme_fdp_supported_event_desc β€” Supported FDP Event Descriptor

like, literally the descriptor for an FDP event that your device supports. that's the whole vibe. it's giving "small but important" ✨


πŸŽ€ SYNOPSIS πŸŽ€

struct nvme_fdp_supported_event_desc {
    __u8 evt;
    __u8 evta;
};

two little __u8 fields. two. that's it. she's compact, she's efficient, she ate πŸ’…


πŸ¦‹ Members πŸ¦‹

  • evt β€” the FDP Event Type. that's what kind of event this descriptor is describing, bestie 🌈
  • evta β€” the FDP Event Type Attributes, and ngl this one is the enum nvme_fdp_supported_event_attributes. so when you peek at evta, you're peeking at a member of that enum. iykyk πŸ”₯

fr fr, that's the entire struct. no hidden fields, no sneaky padding drama, no stress. just evt and evta living their best lives 🫢

and that's a wrap on the struct nvme_fdp_supported_event_desc era πŸ‘‘ this page is from the libnvme manual, dated July 2026, and it's signed off as libnvme(2) β€” bye bestie, go read your FDP event types πŸ’œπŸŽ€πŸ¦‹

πŸ“¦ where this page comes from