libnvme(2)
β¨ NAME β¨
enum nvme_lockdown_scope_contents β the lockdown log shift and mask squad, aka the little bit-twiddling besties you need when you're poking at the NVMe Lockdown Log π
This one lives in the libnvme API manual, page 2, so like⦠yeah, she's official.
π«Ά SYNOPSIS π«Ά
enum nvme_lockdown_scope_contents {
NVME_LOCKDOWN_SS_SHIFT ,
NVME_LOCKDOWN_SS_MASK ,
NVME_LOCKDOWN_CS_SHIFT ,
NVME_LOCKDOWN_CS_MASK
};
okay so it's an enum, bestie. Four members, all of them are just numeric constants doing shift-and-mask duties. No cap, that's the whole vibe. π
πΈ Constants πΈ
Each one of these is a lil constant with main character energy. Here's the roster:
NVME_LOCKDOWN_SS_SHIFTβ the Lockdown log scope select Shift. Yep, the shift you use to get at the scope select bits. πNVME_LOCKDOWN_SS_MASKβ the Lockdown log scope select Mask. Your mask for the scope select field, periodt. π¦NVME_LOCKDOWN_CS_SHIFTβ the Lockdown log contents Shift. Shift for the log contents bits, iconic. βNVME_LOCKDOWN_CS_MASKβ the Lockdown log contents Mask. Mask for the log contents field. Slay. π₯
ngl, this is a shift + mask duo situation: shifts move the bits into place, masks keep only the bits you want. That's the entire job description, fr fr. π
and that's the whole page, bestie β short, sweet, and lowkey essential if you're decoding a Lockdown Log. Go forth and mask responsibly. π
π β¨ π this was enum nvme_lockdown_scope_contents from the libnvme API Manual (topics 2), dated July 2026 β mwah, thanks for reading, love u, byeee π β¨ π
π¦ 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