libnvme(2)
π libnvme(2) β API Manual
okay bestie, welcome to the libnvme manual, section 2 of the API Manual, and today's main character is an enum. yes, an enum. and she's kind of a baddie actually. sit down, grab a lil snack π, we're doing this together.
β¨ NAME β¨
enum nvme_lockdown_log_scope β the lockdown log page scope attributes, aka what exactly are we locking down here, bestie? π
π¦ SYNOPSIS π¦
enum nvme_lockdown_log_scope {
NVME_LOCKDOWN_ADMIN_CMD ,
NVME_LOCKDOWN_FEATURE_ID ,
NVME_LOCKDOWN_MI_CMD_SET ,
NVME_LOCKDOWN_PCI_CMD_SET
};
like. look at her. four little constants, all in a trench coat, all describing scope values. no cap. π
π Constants π
these are the girls. every single one of them. we are not skipping anybody, periodt.
NVME_LOCKDOWN_ADMIN_CMDβ the scope value for Admin commandS. (yes, capital S, that's literally how the original wrote it and I am not touching it, it's iconic π). this is the "we're talking about Admin commands" scope.NVME_LOCKDOWN_FEATURE_IDβ the scope value for a Feature ID. when the thing you're scoping is a feature ID, this is the vibe check you pass. β¨NVME_LOCKDOWN_MI_CMD_SETβ the scope value for Management Interface commands. MI gang rise up π«ΆNVME_LOCKDOWN_PCI_CMD_SETβ the scope value for PCI commands. PCI said "I'm also part of this" and honestly? she is. π
lowkey the whole point here: every one of these is a scope value for the lockdown log page. that's it, that's the tea. no hidden lore, no extra behaviour, no sneaky defaults. just four constants being their authentic selves. π§
π and that's the whole page, bestie β this one came out of the libnvme(2) API Manual, page enum nvme_lockdown_log_scope, dated July 2026. mwah. go lock something down responsibly. ππΈ
π¦ 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