libnvme(2)

✨ libnvme(2) ✨ β€” API Manual 🫢

okay bestie, welcome to the libnvme manual, page 2, section 2, and today we're vibing with something very specific and very real: an enum. yes, an enum. and honestly? it's giving backend main character energy and i'm obsessed. πŸ’…


🌸 NAME 🌸

enum nvme_features_async_event_config_flags β€” the Asynchronous Event Configuration configuration flags. like, the lil flag set that decides which async events we even care about hearing about. slay.


πŸŽ€ SYNOPSIS πŸŽ€

enum nvme_features_async_event_config_flags {
    NVME_FEATURE_AENCFG_SMART_CRIT_SPARE ,
    NVME_FEATURE_AENCFG_SMART_CRIT_TEMPERATURE ,
    NVME_FEATURE_AENCFG_SMART_CRIT_DEGRADED ,
    NVME_FEATURE_AENCFG_SMART_CRIT_READ_ONLY ,
    NVME_FEATURE_AENCFG_SMART_CRIT_VOLATILE_BACKUP ,
    NVME_FEATURE_AENCFG_SMART_CRIT_READ_ONLY_PMR ,
    NVME_FEATURE_AENCFG_NOTICE_NAMESPACE_ATTRIBUTES ,
    NVME_FEATURE_AENCFG_NOTICE_FIRMWARE_ACTIVATION ,
    NVME_FEATURE_AENCFG_NOTICE_TELEMETRY_LOG ,
    NVME_FEATURE_AENCFG_NOTICE_ANA_CHANGE ,
    NVME_FEATURE_AENCFG_NOTICE_PL_EVENT ,
    NVME_FEATURE_AENCFG_NOTICE_LBA_STATUS ,
    NVME_FEATURE_AENCFG_NOTICE_EG_EVENT ,
    NVME_FEATURE_AENCFG_NOTICE_DISCOVERY_CHANGE

};

look at her. fourteen icons in one enum, no notes. 😭 the way this is literally the whole page. periodt.


πŸ’– Constants πŸ’–

so these are the constants, and there are fourteen of them, and we are listing all of them because we do not skip. we never skip. okay? okay. 🧚

  • NVME_FEATURE_AENCFG_SMART_CRIT_SPARE πŸ’–
  • NVME_FEATURE_AENCFG_SMART_CRIT_TEMPERATURE πŸ”₯
  • NVME_FEATURE_AENCFG_SMART_CRIT_DEGRADED 😭
  • NVME_FEATURE_AENCFG_SMART_CRIT_READ_ONLY πŸ‘‘
  • NVME_FEATURE_AENCFG_SMART_CRIT_VOLATILE_BACKUP ✨
  • NVME_FEATURE_AENCFG_SMART_CRIT_READ_ONLY_PMR 🌟
  • NVME_FEATURE_AENCFG_NOTICE_NAMESPACE_ATTRIBUTES πŸ¦‹
  • NVME_FEATURE_AENCFG_NOTICE_FIRMWARE_ACTIVATION πŸ’™
  • NVME_FEATURE_AENCFG_NOTICE_TELEMETRY_LOG 🌈
  • NVME_FEATURE_AENCFG_NOTICE_ANA_CHANGE πŸŽ€
  • NVME_FEATURE_AENCFG_NOTICE_PL_EVENT πŸ’€
  • NVME_FEATURE_AENCFG_NOTICE_LBA_STATUS 🌸
  • NVME_FEATURE_AENCFG_NOTICE_EG_EVENT ⭐
  • NVME_FEATURE_AENCFG_NOTICE_DISCOVERY_CHANGE πŸ”₯

fourteen. count them. they're all here, nobody got left behind, everybody ate. πŸ“

ngl bestie, the page as written doesn't hand you a description next to each constant, so i'm not gonna make one up and lie to you β€” that's not the vibe. reference material stays reference material. iykyk. πŸ™ˆ

and that's the whole page, bestie β€” every constant, every identifier, nothing dropped, nothing invented. no cap. πŸ’œ

this lil cutie came to you from July 2026, it's the page for enum nvme_features_async_event_config_flags, and it lives in libnvme(2). go forth and configure your asynchronous events, you absolute icon. 🫢✨

πŸ“¦ where this page comes from