nvme_mi_aem_get_enabled(9)
π nvme_mi_aem_get_enabled π
okay bestie, welcome to the libnvme API manual β section 9 energy, kernel-adjacent, lowkey iconic. today's main character is nvme_mi_aem_get_enabled, and no cap, it's literally just here to spill the tea on which AEs are enabled. π«Ά
β¨ NAME β¨
nvme_mi_aem_get_enabled β Return information on which AEs are enabled
like... the whole job. that's it. she tells you which AEs said "yes bestie I'm enabled." πΈ
β¨ SYNOPSIS β¨
int nvme_mi_aem_get_enabled (nvme_mi_ep_t ep , struct
nvme_mi_aem_enabled_map *enabled );
yes she takes two things and returns an int, we love a straightforward queen π
β¨ ARGUMENTS β¨
epβ the Endpoint to check enabled status. you're basically asking this endpoint "so... who's enabled rn?" πenabledβ anvme_mi_aem_enabled_map, indexed by AE event ID, holding the enabled state. it's giving "spreadsheet but make it a struct" β you hand her the map, she fills in the vibes. π¦
β¨ RETURN β¨
0is a success β slay, we ate, no notes β¨- nonzero is an error β not the vibe π and
errnomay be read for further details, so if you're confused, bestie, go readerrno, she'll explain everything.
fr fr: check that return value.0= good, nonzero = go look aterrno. do not skip this step, it's not optional, it's self-care. π
and that's the whole page, bestie β short, sweet, and fully enabled. this lil gem came from the libnvme API manual, dated August 2026, and the page itself is nvme_mi_aem_get_enabled(9). mwah, go enable something. ππ§
π¦ where this page comes from
- fedora 44: libnvme-doc 1.16.2-1.fc44 Β· 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