Scroll to navigation

libnvme(2) API Manual libnvme(2)

NAME

struct nvme_dev_self_test_args - Arguments for the NVMe Device Self Test command

SYNOPSIS

struct nvme_dev_self_test_args {
__u32 *result;
int args_size;
int fd;
__u32 timeout;
__u32 nsid;
enum nvme_dst_stc stc;
};

Members

The command completion result from CQE dword0
Size of struct nvme_dev_self_test_args
File descriptor of nvme device
Timeout in ms
Namespace ID to test
Self test code, see enum nvme_dst_stc
struct nvme_dev_self_test_args November 2025