nvme_init_dev_self_test(9) libnvme API manual nvme_init_dev_self_test(9)

nvme_init_dev_self_test - Initialize passthru command to start or abort a self test

void nvme_init_dev_self_test (struct libnvme_passthru_cmd *cmd , __u32 nsid , enum nvme_dst_stc stc );

Passthru command to use
Namespace ID to test
Self test code, see enum nvme_dst_stc

Initializes the passthru command buffer for the Device Self-test command.

nvme_init_dev_self_test October 2026