libnvme(9)
π libnvme(9) β ok so you found the API manual, section 9, bestie, and this page is specifically about one lil enum π
β¨ NAME β¨
enum nvme_lm_tracked_memory_change_attrb β the Tracked Memory Change Data Structure Attributes (ATTRB) field π§ no cap, that's the whole vibe.
πΈ SYNOPSIS πΈ
enum nvme_lm_tracked_memory_change_attrb {
NVME_LM_TMC_ATTRB_MTR_SHIFT ,
NVME_LM_TMC_ATTRB_MTR_MASK ,
NVME_LM_TMC_ATTRB_SUSP_SHIFT ,
NVME_LM_TMC_ATTRB_SUSP_MASK
};
That's it. Four constants, sitting there, being iconic π copy it exactly, don't get creative with the spelling, fr fr.
π¦ Constants π¦
NVME_LM_TMC_ATTRB_MTR_SHIFTβ the shift you use to get More To Report (MTR) β¨ literally the bit-shift side of the equation, that's her job.NVME_LM_TMC_ATTRB_MTR_MASKβ the mask you use to get MTR π pair her with the shift above and you're golden.NVME_LM_TMC_ATTRB_SUSP_SHIFTβ the shift you use to get Suspended (SUSP) π yes, SUSP, that's the actual abbreviation, I don't make the rules.NVME_LM_TMC_ATTRB_SUSP_MASKβ the mask you use to get SUSP π last one, and she's just as important as the rest, don't do her dirty.
π«Ά quick vibe check:SHIFTandMASKalways come in pairs here β that's the whole pattern, MTR gets a shift + a mask, SUSP gets a shift + a mask. Four constants, two fields, zero drama π
ok that's the page!! mwah π this was libnvme(9), from the libnvme API Manual, and the whole thing was dated October 2026 β so yeah, she's fresh β go forth and mask your bits responsibly, bestie ππ₯
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms