NVME_INIT_GET_LOG_DEVICE_SELF_TEST-LIBNVME3(2)

πŸ“¦ version 3.2, in arch rolling

πŸ’… nvme_init_get_log_device_self_test β€” libnvme API manual, bestie edition

okay so welcome to the libnvme API manual, and today's main character is nvme_init_get_log_device_self_test(9). yes bestie the title is longer than my attention span but we're gonna get through it together, i promise 🫢


✨ NAME ✨

nvme_init_get_log_device_self_test β€” initializes the passthru command for Device Self-test πŸŽ€

like literally that's her whole job and she does it flawlessly, no notes πŸ’…


🌸 SYNOPSIS 🌸

void nvme_init_get_log_device_self_test (struct libnvme_passthru_cmd *cmd , struct nvme_self_test_log *log );

look at that signature. gorgeous. not a single thing out of place. she ate and left zero crumbs ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • cmd β€” the Passthru command to use. this is the one you're handing over so she can do her lil setup thing on it πŸ’–
  • log β€” the Userspace address of the log payload. yeah. that's where the log data lives, in userspace, and you're passing the address. very demure, very mindful πŸŽ€

πŸ‘‘ DESCRIPTION πŸ‘‘

okay so here's the tea, and the tea is genuinely pretty short because she's an efficient queen:

This function initializes the passthru command buffer for the Get Log command with LID value NVME_LOG_LID_DEVICE_SELF_TEST πŸ’œ

that's it. that's the whole vibe. it sets up the buffer, it plugs in that NVME_LOG_LID_DEVICE_SELF_TEST LID, and it's done. no drama, no surprises, just clean initialization energy πŸ”₯

ngl bestie this one is a "trust the process" function β€” call her, she preps the command buffer, you go run your passthru command, everybody wins 🌈

πŸ’– cute lil sign-off πŸ’–

this page came to you courtesy of libnvme, dated October 2026 β€” and yeah the footer in the original got a little smushed up with the title (nvme_init_get_log_device_snvme_init_ge...ce_self_test(9)), which is honestly so real of it, we've all been there πŸ˜­πŸ™ˆ

anyway ily, go initialize some passthru commands responsibly, and remember: NVME_LOG_LID_DEVICE_SELF_TEST is the LID and that's periodt πŸ¦‹πŸ’…β­

πŸ“¦ where this page comes from