nvme_init_lm_cdq_delete(9)
π nvme_init_lm_cdq_delete π
okay so this is a page straight out of the libnvme API manual, and it's literally all about one tiny little function that sets up a passthru command for a Controller Data Queue delete. bestie, it's giving "small but iconic" β¨
π NAME π
nvme_init_lm_cdq_delete β initializes the passthru command for the Controller Data Queue delete, like, the whole Controller Data Queue command situation π
πΈ SYNOPSIS πΈ
void nvme_init_lm_cdq_delete (struct libnvme_passthru_cmd *cmd , __u16
mos , __u16 cdqid );
no cap, that's the whole signature β void, so nothing comes back out, it just does the thing π«Ά
π¦ ARGUMENTS π¦
cmdβ the passthru command you're gonna use. this is the main character of the operation tbh πmosβ the Management Operation Specific field, aka MOS. and likeβ¦ this field is specific to the SEL type, so don't go putting random stuff in there, iykyk πcdqidβ the Controller Data Queue ID (CDQID). for Delete CDQ, this field is the CDQID you're deleting. literally the whole point π―
β DESCRIPTION β
so what does it actually do? it initializes the passthru command buffer for the Controller Data Queue delete command. that's it, that's the vibe β it gets your buffer all set up and ready so the Controller Data Queue delete can go do its thing π
ngl it's a small function but somebody's gotta set up the buffer, and today that somebody is nvme_init_lm_cdq_delete ππ
and that's the whole page!! mwah, slay, periodt π β¨ this little cutie comes to you courtesy of the libnvme API manual, dated October 2026 β go forth and initialize those command buffers, bestie, you're gonna eat ππ
π¦ 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